--
--


SELECT pg_catalog.set_config('search_path', '', false);

--
-- Name: timescaledb; Type: EXTENSION; Schema: -; Owner: -
--

CREATE EXTENSION IF NOT EXISTS timescaledb WITH SCHEMA public;


--
-- Name: EXTENSION timescaledb; Type: COMMENT; Schema: -; Owner: 
--

COMMENT ON EXTENSION timescaledb IS 'Enables scalable inserts and complex queries for time-series data';


--
-- Name: zbx_ts_unix_now(); Type: FUNCTION; Schema: public; Owner: zabbix
--

CREATE FUNCTION public.zbx_ts_unix_now() RETURNS integer
    LANGUAGE sql STABLE
    AS $$ select extract(epoch from now())::integer $$;


ALTER FUNCTION public.zbx_ts_unix_now() OWNER TO zabbix;



--
-- Name: _compressed_hypertable_10; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._compressed_hypertable_10 (
    itemid numeric,
    clock _timescaledb_internal.compressed_data,
    value _timescaledb_internal.compressed_data,
    ns _timescaledb_internal.compressed_data,
    _ts_meta_count integer,
    _ts_meta_sequence_num integer,
    _ts_meta_min_1 bigint,
    _ts_meta_max_1 bigint,
    _ts_meta_min_2 bigint,
    _ts_meta_max_2 bigint
)
WITH (toast_tuple_target='128');
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_10 ALTER COLUMN itemid SET STATISTICS 1000;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_10 ALTER COLUMN clock SET STATISTICS 0;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_10 ALTER COLUMN value SET STATISTICS 0;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_10 ALTER COLUMN value SET STORAGE EXTENDED;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_10 ALTER COLUMN ns SET STATISTICS 0;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_10 ALTER COLUMN _ts_meta_count SET STATISTICS 1000;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_10 ALTER COLUMN _ts_meta_sequence_num SET STATISTICS 1000;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_10 ALTER COLUMN _ts_meta_min_1 SET STATISTICS 1000;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_10 ALTER COLUMN _ts_meta_max_1 SET STATISTICS 1000;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_10 ALTER COLUMN _ts_meta_min_2 SET STATISTICS 1000;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_10 ALTER COLUMN _ts_meta_max_2 SET STATISTICS 1000;


ALTER TABLE _timescaledb_internal._compressed_hypertable_10 OWNER TO zabbix;

--
-- Name: _compressed_hypertable_11; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._compressed_hypertable_11 (
    itemid numeric,
    clock _timescaledb_internal.compressed_data,
    value _timescaledb_internal.compressed_data,
    ns _timescaledb_internal.compressed_data,
    _ts_meta_count integer,
    _ts_meta_sequence_num integer,
    _ts_meta_min_1 bigint,
    _ts_meta_max_1 bigint,
    _ts_meta_min_2 bigint,
    _ts_meta_max_2 bigint
)
WITH (toast_tuple_target='128');
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_11 ALTER COLUMN itemid SET STATISTICS 1000;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_11 ALTER COLUMN clock SET STATISTICS 0;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_11 ALTER COLUMN value SET STATISTICS 0;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_11 ALTER COLUMN value SET STORAGE EXTENDED;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_11 ALTER COLUMN ns SET STATISTICS 0;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_11 ALTER COLUMN _ts_meta_count SET STATISTICS 1000;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_11 ALTER COLUMN _ts_meta_sequence_num SET STATISTICS 1000;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_11 ALTER COLUMN _ts_meta_min_1 SET STATISTICS 1000;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_11 ALTER COLUMN _ts_meta_max_1 SET STATISTICS 1000;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_11 ALTER COLUMN _ts_meta_min_2 SET STATISTICS 1000;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_11 ALTER COLUMN _ts_meta_max_2 SET STATISTICS 1000;


ALTER TABLE _timescaledb_internal._compressed_hypertable_11 OWNER TO zabbix;

--
-- Name: _compressed_hypertable_12; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._compressed_hypertable_12 (
    itemid numeric,
    clock _timescaledb_internal.compressed_data,
    "timestamp" _timescaledb_internal.compressed_data,
    source _timescaledb_internal.compressed_data,
    severity _timescaledb_internal.compressed_data,
    value _timescaledb_internal.compressed_data,
    logeventid _timescaledb_internal.compressed_data,
    ns _timescaledb_internal.compressed_data,
    _ts_meta_count integer,
    _ts_meta_sequence_num integer,
    _ts_meta_min_1 bigint,
    _ts_meta_max_1 bigint,
    _ts_meta_min_2 bigint,
    _ts_meta_max_2 bigint
)
WITH (toast_tuple_target='128');
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_12 ALTER COLUMN itemid SET STATISTICS 1000;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_12 ALTER COLUMN clock SET STATISTICS 0;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_12 ALTER COLUMN "timestamp" SET STATISTICS 0;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_12 ALTER COLUMN source SET STATISTICS 0;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_12 ALTER COLUMN source SET STORAGE EXTENDED;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_12 ALTER COLUMN severity SET STATISTICS 0;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_12 ALTER COLUMN value SET STATISTICS 0;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_12 ALTER COLUMN value SET STORAGE EXTENDED;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_12 ALTER COLUMN logeventid SET STATISTICS 0;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_12 ALTER COLUMN ns SET STATISTICS 0;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_12 ALTER COLUMN _ts_meta_count SET STATISTICS 1000;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_12 ALTER COLUMN _ts_meta_sequence_num SET STATISTICS 1000;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_12 ALTER COLUMN _ts_meta_min_1 SET STATISTICS 1000;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_12 ALTER COLUMN _ts_meta_max_1 SET STATISTICS 1000;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_12 ALTER COLUMN _ts_meta_min_2 SET STATISTICS 1000;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_12 ALTER COLUMN _ts_meta_max_2 SET STATISTICS 1000;


ALTER TABLE _timescaledb_internal._compressed_hypertable_12 OWNER TO zabbix;

--
-- Name: _compressed_hypertable_13; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._compressed_hypertable_13 (
    itemid numeric,
    clock _timescaledb_internal.compressed_data,
    num _timescaledb_internal.compressed_data,
    value_min _timescaledb_internal.compressed_data,
    value_avg _timescaledb_internal.compressed_data,
    value_max _timescaledb_internal.compressed_data,
    _ts_meta_count integer,
    _ts_meta_sequence_num integer,
    _ts_meta_min_1 bigint,
    _ts_meta_max_1 bigint
)
WITH (toast_tuple_target='128');
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_13 ALTER COLUMN itemid SET STATISTICS 1000;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_13 ALTER COLUMN clock SET STATISTICS 0;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_13 ALTER COLUMN num SET STATISTICS 0;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_13 ALTER COLUMN value_min SET STATISTICS 0;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_13 ALTER COLUMN value_avg SET STATISTICS 0;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_13 ALTER COLUMN value_max SET STATISTICS 0;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_13 ALTER COLUMN _ts_meta_count SET STATISTICS 1000;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_13 ALTER COLUMN _ts_meta_sequence_num SET STATISTICS 1000;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_13 ALTER COLUMN _ts_meta_min_1 SET STATISTICS 1000;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_13 ALTER COLUMN _ts_meta_max_1 SET STATISTICS 1000;


ALTER TABLE _timescaledb_internal._compressed_hypertable_13 OWNER TO zabbix;

--
-- Name: _compressed_hypertable_14; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._compressed_hypertable_14 (
    itemid numeric,
    clock _timescaledb_internal.compressed_data,
    num _timescaledb_internal.compressed_data,
    value_min _timescaledb_internal.compressed_data,
    value_avg _timescaledb_internal.compressed_data,
    value_max _timescaledb_internal.compressed_data,
    _ts_meta_count integer,
    _ts_meta_sequence_num integer,
    _ts_meta_min_1 bigint,
    _ts_meta_max_1 bigint
)
WITH (toast_tuple_target='128');
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_14 ALTER COLUMN itemid SET STATISTICS 1000;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_14 ALTER COLUMN clock SET STATISTICS 0;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_14 ALTER COLUMN num SET STATISTICS 0;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_14 ALTER COLUMN value_min SET STATISTICS 0;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_14 ALTER COLUMN value_min SET STORAGE EXTENDED;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_14 ALTER COLUMN value_avg SET STATISTICS 0;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_14 ALTER COLUMN value_avg SET STORAGE EXTENDED;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_14 ALTER COLUMN value_max SET STATISTICS 0;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_14 ALTER COLUMN value_max SET STORAGE EXTENDED;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_14 ALTER COLUMN _ts_meta_count SET STATISTICS 1000;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_14 ALTER COLUMN _ts_meta_sequence_num SET STATISTICS 1000;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_14 ALTER COLUMN _ts_meta_min_1 SET STATISTICS 1000;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_14 ALTER COLUMN _ts_meta_max_1 SET STATISTICS 1000;


ALTER TABLE _timescaledb_internal._compressed_hypertable_14 OWNER TO zabbix;

--
-- Name: _compressed_hypertable_8; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._compressed_hypertable_8 (
    itemid numeric,
    clock _timescaledb_internal.compressed_data,
    value _timescaledb_internal.compressed_data,
    ns _timescaledb_internal.compressed_data,
    _ts_meta_count integer,
    _ts_meta_sequence_num integer,
    _ts_meta_min_1 bigint,
    _ts_meta_max_1 bigint,
    _ts_meta_min_2 bigint,
    _ts_meta_max_2 bigint
)
WITH (toast_tuple_target='128');
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_8 ALTER COLUMN itemid SET STATISTICS 1000;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_8 ALTER COLUMN clock SET STATISTICS 0;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_8 ALTER COLUMN value SET STATISTICS 0;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_8 ALTER COLUMN ns SET STATISTICS 0;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_8 ALTER COLUMN _ts_meta_count SET STATISTICS 1000;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_8 ALTER COLUMN _ts_meta_sequence_num SET STATISTICS 1000;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_8 ALTER COLUMN _ts_meta_min_1 SET STATISTICS 1000;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_8 ALTER COLUMN _ts_meta_max_1 SET STATISTICS 1000;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_8 ALTER COLUMN _ts_meta_min_2 SET STATISTICS 1000;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_8 ALTER COLUMN _ts_meta_max_2 SET STATISTICS 1000;


ALTER TABLE _timescaledb_internal._compressed_hypertable_8 OWNER TO zabbix;

--
-- Name: _compressed_hypertable_9; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._compressed_hypertable_9 (
    itemid numeric,
    clock _timescaledb_internal.compressed_data,
    value _timescaledb_internal.compressed_data,
    ns _timescaledb_internal.compressed_data,
    _ts_meta_count integer,
    _ts_meta_sequence_num integer,
    _ts_meta_min_1 bigint,
    _ts_meta_max_1 bigint,
    _ts_meta_min_2 bigint,
    _ts_meta_max_2 bigint
)
WITH (toast_tuple_target='128');
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_9 ALTER COLUMN itemid SET STATISTICS 1000;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_9 ALTER COLUMN clock SET STATISTICS 0;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_9 ALTER COLUMN value SET STATISTICS 0;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_9 ALTER COLUMN value SET STORAGE EXTENDED;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_9 ALTER COLUMN ns SET STATISTICS 0;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_9 ALTER COLUMN _ts_meta_count SET STATISTICS 1000;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_9 ALTER COLUMN _ts_meta_sequence_num SET STATISTICS 1000;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_9 ALTER COLUMN _ts_meta_min_1 SET STATISTICS 1000;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_9 ALTER COLUMN _ts_meta_max_1 SET STATISTICS 1000;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_9 ALTER COLUMN _ts_meta_min_2 SET STATISTICS 1000;
ALTER TABLE ONLY _timescaledb_internal._compressed_hypertable_9 ALTER COLUMN _ts_meta_max_2 SET STATISTICS 1000;


ALTER TABLE _timescaledb_internal._compressed_hypertable_9 OWNER TO zabbix;

--
-- Name: history; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.history (
    itemid numeric NOT NULL,
    clock bigint DEFAULT '0'::bigint NOT NULL,
    value double precision DEFAULT '0'::double precision NOT NULL,
    ns bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.history OWNER TO zabbix;

--
-- Name: _hyper_1_1002_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1002_chunk (
    CONSTRAINT constraint_1002 CHECK (((clock >= '1622332800'::bigint) AND (clock < '1622419200'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1002_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1008_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1008_chunk (
    CONSTRAINT constraint_1008 CHECK (((clock >= '1622419200'::bigint) AND (clock < '1622505600'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1008_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1012_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1012_chunk (
    CONSTRAINT constraint_1012 CHECK (((clock >= '1622505600'::bigint) AND (clock < '1622592000'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1012_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1017_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1017_chunk (
    CONSTRAINT constraint_1017 CHECK (((clock >= '1622592000'::bigint) AND (clock < '1622678400'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1017_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1025_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1025_chunk (
    CONSTRAINT constraint_1025 CHECK (((clock >= '1622678400'::bigint) AND (clock < '1622764800'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1025_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1029_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1029_chunk (
    CONSTRAINT constraint_1029 CHECK (((clock >= '1622764800'::bigint) AND (clock < '1622851200'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1029_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1034_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1034_chunk (
    CONSTRAINT constraint_1034 CHECK (((clock >= '1622851200'::bigint) AND (clock < '1622937600'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1034_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1040_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1040_chunk (
    CONSTRAINT constraint_1040 CHECK (((clock >= '1622937600'::bigint) AND (clock < '1623024000'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1040_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1046_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1046_chunk (
    CONSTRAINT constraint_1046 CHECK (((clock >= '1623024000'::bigint) AND (clock < '1623110400'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1046_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1049_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1049_chunk (
    CONSTRAINT constraint_1049 CHECK (((clock >= '1623110400'::bigint) AND (clock < '1623196800'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1049_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1054_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1054_chunk (
    CONSTRAINT constraint_1054 CHECK (((clock >= '1623196800'::bigint) AND (clock < '1623283200'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1054_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1059_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1059_chunk (
    CONSTRAINT constraint_1059 CHECK (((clock >= '1623283200'::bigint) AND (clock < '1623369600'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1059_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1064_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1064_chunk (
    CONSTRAINT constraint_1064 CHECK (((clock >= '1623369600'::bigint) AND (clock < '1623456000'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1064_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1069_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1069_chunk (
    CONSTRAINT constraint_1069 CHECK (((clock >= '1623456000'::bigint) AND (clock < '1623542400'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1069_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1075_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1075_chunk (
    CONSTRAINT constraint_1075 CHECK (((clock >= '1623542400'::bigint) AND (clock < '1623628800'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1075_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1079_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1079_chunk (
    CONSTRAINT constraint_1079 CHECK (((clock >= '1623628800'::bigint) AND (clock < '1623715200'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1079_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1085_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1085_chunk (
    CONSTRAINT constraint_1085 CHECK (((clock >= '1623715200'::bigint) AND (clock < '1623801600'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1085_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1089_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1089_chunk (
    CONSTRAINT constraint_1089 CHECK (((clock >= '1623801600'::bigint) AND (clock < '1623888000'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1089_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1094_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1094_chunk (
    CONSTRAINT constraint_1094 CHECK (((clock >= '1623888000'::bigint) AND (clock < '1623974400'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1094_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1099_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1099_chunk (
    CONSTRAINT constraint_1099 CHECK (((clock >= '1623974400'::bigint) AND (clock < '1624060800'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1099_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1104_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1104_chunk (
    CONSTRAINT constraint_1104 CHECK (((clock >= '1624060800'::bigint) AND (clock < '1624147200'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1104_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1109_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1109_chunk (
    CONSTRAINT constraint_1109 CHECK (((clock >= '1624147200'::bigint) AND (clock < '1624233600'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1109_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1116_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1116_chunk (
    CONSTRAINT constraint_1116 CHECK (((clock >= '1624233600'::bigint) AND (clock < '1624320000'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1116_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1120_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1120_chunk (
    CONSTRAINT constraint_1120 CHECK (((clock >= '1624320000'::bigint) AND (clock < '1624406400'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1120_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1124_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1124_chunk (
    CONSTRAINT constraint_1124 CHECK (((clock >= '1624406400'::bigint) AND (clock < '1624492800'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1124_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1129_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1129_chunk (
    CONSTRAINT constraint_1129 CHECK (((clock >= '1624492800'::bigint) AND (clock < '1624579200'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1129_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1135_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1135_chunk (
    CONSTRAINT constraint_1135 CHECK (((clock >= '1624579200'::bigint) AND (clock < '1624665600'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1135_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1140_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1140_chunk (
    CONSTRAINT constraint_1140 CHECK (((clock >= '1624665600'::bigint) AND (clock < '1624752000'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1140_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1144_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1144_chunk (
    CONSTRAINT constraint_1144 CHECK (((clock >= '1624752000'::bigint) AND (clock < '1624838400'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1144_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1149_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1149_chunk (
    CONSTRAINT constraint_1149 CHECK (((clock >= '1624838400'::bigint) AND (clock < '1624924800'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1149_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1154_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1154_chunk (
    CONSTRAINT constraint_1154 CHECK (((clock >= '1624924800'::bigint) AND (clock < '1625011200'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1154_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1159_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1159_chunk (
    CONSTRAINT constraint_1159 CHECK (((clock >= '1625011200'::bigint) AND (clock < '1625097600'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1159_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1164_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1164_chunk (
    CONSTRAINT constraint_1164 CHECK (((clock >= '1625097600'::bigint) AND (clock < '1625184000'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1164_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1169_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1169_chunk (
    CONSTRAINT constraint_1169 CHECK (((clock >= '1625184000'::bigint) AND (clock < '1625270400'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1169_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1176_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1176_chunk (
    CONSTRAINT constraint_1176 CHECK (((clock >= '1625270400'::bigint) AND (clock < '1625356800'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1176_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1181_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1181_chunk (
    CONSTRAINT constraint_1181 CHECK (((clock >= '1625356800'::bigint) AND (clock < '1625443200'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1181_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1186_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1186_chunk (
    CONSTRAINT constraint_1186 CHECK (((clock >= '1625443200'::bigint) AND (clock < '1625529600'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1186_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1193_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1193_chunk (
    CONSTRAINT constraint_1193 CHECK (((clock >= '1625529600'::bigint) AND (clock < '1625616000'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1193_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1196_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1196_chunk (
    CONSTRAINT constraint_1196 CHECK (((clock >= '1625616000'::bigint) AND (clock < '1625702400'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1196_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1201_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1201_chunk (
    CONSTRAINT constraint_1201 CHECK (((clock >= '1625702400'::bigint) AND (clock < '1625788800'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1201_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1206_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1206_chunk (
    CONSTRAINT constraint_1206 CHECK (((clock >= '1625788800'::bigint) AND (clock < '1625875200'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1206_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1211_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1211_chunk (
    CONSTRAINT constraint_1211 CHECK (((clock >= '1625875200'::bigint) AND (clock < '1625961600'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1211_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1216_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1216_chunk (
    CONSTRAINT constraint_1216 CHECK (((clock >= '1625961600'::bigint) AND (clock < '1626048000'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1216_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_1221_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_1221_chunk (
    CONSTRAINT constraint_1221 CHECK (((clock >= '1626048000'::bigint) AND (clock < '1626134400'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_1221_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_765_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_765_chunk (
    CONSTRAINT constraint_765 CHECK (((clock >= '1618272000'::bigint) AND (clock < '1618358400'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_765_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_770_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_770_chunk (
    CONSTRAINT constraint_770 CHECK (((clock >= '1618358400'::bigint) AND (clock < '1618444800'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_770_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_775_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_775_chunk (
    CONSTRAINT constraint_775 CHECK (((clock >= '1618444800'::bigint) AND (clock < '1618531200'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_775_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_780_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_780_chunk (
    CONSTRAINT constraint_780 CHECK (((clock >= '1618531200'::bigint) AND (clock < '1618617600'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_780_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_785_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_785_chunk (
    CONSTRAINT constraint_785 CHECK (((clock >= '1618617600'::bigint) AND (clock < '1618704000'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_785_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_790_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_790_chunk (
    CONSTRAINT constraint_790 CHECK (((clock >= '1618704000'::bigint) AND (clock < '1618790400'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_790_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_796_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_796_chunk (
    CONSTRAINT constraint_796 CHECK (((clock >= '1618790400'::bigint) AND (clock < '1618876800'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_796_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_800_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_800_chunk (
    CONSTRAINT constraint_800 CHECK (((clock >= '1618876800'::bigint) AND (clock < '1618963200'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_800_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_807_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_807_chunk (
    CONSTRAINT constraint_807 CHECK (((clock >= '1618963200'::bigint) AND (clock < '1619049600'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_807_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_810_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_810_chunk (
    CONSTRAINT constraint_810 CHECK (((clock >= '1619049600'::bigint) AND (clock < '1619136000'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_810_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_816_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_816_chunk (
    CONSTRAINT constraint_816 CHECK (((clock >= '1619136000'::bigint) AND (clock < '1619222400'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_816_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_820_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_820_chunk (
    CONSTRAINT constraint_820 CHECK (((clock >= '1619222400'::bigint) AND (clock < '1619308800'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_820_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_826_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_826_chunk (
    CONSTRAINT constraint_825 CHECK (((clock >= '1619308800'::bigint) AND (clock < '1619395200'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_826_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_830_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_830_chunk (
    CONSTRAINT constraint_830 CHECK (((clock >= '1619395200'::bigint) AND (clock < '1619481600'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_830_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_836_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_836_chunk (
    CONSTRAINT constraint_836 CHECK (((clock >= '1619481600'::bigint) AND (clock < '1619568000'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_836_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_840_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_840_chunk (
    CONSTRAINT constraint_841 CHECK (((clock >= '1619568000'::bigint) AND (clock < '1619654400'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_840_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_845_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_845_chunk (
    CONSTRAINT constraint_845 CHECK (((clock >= '1619654400'::bigint) AND (clock < '1619740800'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_845_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_850_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_850_chunk (
    CONSTRAINT constraint_850 CHECK (((clock >= '1619740800'::bigint) AND (clock < '1619827200'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_850_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_856_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_856_chunk (
    CONSTRAINT constraint_856 CHECK (((clock >= '1619827200'::bigint) AND (clock < '1619913600'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_856_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_861_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_861_chunk (
    CONSTRAINT constraint_861 CHECK (((clock >= '1619913600'::bigint) AND (clock < '1620000000'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_861_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_865_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_865_chunk (
    CONSTRAINT constraint_865 CHECK (((clock >= '1620000000'::bigint) AND (clock < '1620086400'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_865_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_872_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_872_chunk (
    CONSTRAINT constraint_872 CHECK (((clock >= '1620086400'::bigint) AND (clock < '1620172800'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_872_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_878_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_878_chunk (
    CONSTRAINT constraint_878 CHECK (((clock >= '1620172800'::bigint) AND (clock < '1620259200'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_878_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_883_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_883_chunk (
    CONSTRAINT constraint_883 CHECK (((clock >= '1620259200'::bigint) AND (clock < '1620345600'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_883_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_888_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_888_chunk (
    CONSTRAINT constraint_888 CHECK (((clock >= '1620345600'::bigint) AND (clock < '1620432000'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_888_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_892_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_892_chunk (
    CONSTRAINT constraint_892 CHECK (((clock >= '1620432000'::bigint) AND (clock < '1620518400'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_892_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_900_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_900_chunk (
    CONSTRAINT constraint_900 CHECK (((clock >= '1620518400'::bigint) AND (clock < '1620604800'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_900_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_902_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_902_chunk (
    CONSTRAINT constraint_902 CHECK (((clock >= '1620604800'::bigint) AND (clock < '1620691200'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_902_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_908_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_908_chunk (
    CONSTRAINT constraint_908 CHECK (((clock >= '1620691200'::bigint) AND (clock < '1620777600'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_908_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_912_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_912_chunk (
    CONSTRAINT constraint_912 CHECK (((clock >= '1620777600'::bigint) AND (clock < '1620864000'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_912_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_918_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_918_chunk (
    CONSTRAINT constraint_918 CHECK (((clock >= '1620864000'::bigint) AND (clock < '1620950400'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_918_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_922_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_922_chunk (
    CONSTRAINT constraint_922 CHECK (((clock >= '1620950400'::bigint) AND (clock < '1621036800'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_922_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_927_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_927_chunk (
    CONSTRAINT constraint_927 CHECK (((clock >= '1621036800'::bigint) AND (clock < '1621123200'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_927_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_935_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_935_chunk (
    CONSTRAINT constraint_935 CHECK (((clock >= '1621123200'::bigint) AND (clock < '1621209600'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_935_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_937_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_937_chunk (
    CONSTRAINT constraint_937 CHECK (((clock >= '1621209600'::bigint) AND (clock < '1621296000'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_937_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_942_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_942_chunk (
    CONSTRAINT constraint_942 CHECK (((clock >= '1621296000'::bigint) AND (clock < '1621382400'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_942_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_948_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_948_chunk (
    CONSTRAINT constraint_948 CHECK (((clock >= '1621382400'::bigint) AND (clock < '1621468800'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_948_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_952_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_952_chunk (
    CONSTRAINT constraint_952 CHECK (((clock >= '1621468800'::bigint) AND (clock < '1621555200'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_952_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_957_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_957_chunk (
    CONSTRAINT constraint_957 CHECK (((clock >= '1621555200'::bigint) AND (clock < '1621641600'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_957_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_962_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_962_chunk (
    CONSTRAINT constraint_962 CHECK (((clock >= '1621641600'::bigint) AND (clock < '1621728000'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_962_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_967_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_967_chunk (
    CONSTRAINT constraint_967 CHECK (((clock >= '1621728000'::bigint) AND (clock < '1621814400'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_967_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_974_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_974_chunk (
    CONSTRAINT constraint_974 CHECK (((clock >= '1621814400'::bigint) AND (clock < '1621900800'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_974_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_980_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_980_chunk (
    CONSTRAINT constraint_980 CHECK (((clock >= '1621900800'::bigint) AND (clock < '1621987200'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_980_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_982_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_982_chunk (
    CONSTRAINT constraint_982 CHECK (((clock >= '1621987200'::bigint) AND (clock < '1622073600'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_982_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_987_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_987_chunk (
    CONSTRAINT constraint_987 CHECK (((clock >= '1622073600'::bigint) AND (clock < '1622160000'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_987_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_994_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_994_chunk (
    CONSTRAINT constraint_994 CHECK (((clock >= '1622160000'::bigint) AND (clock < '1622246400'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_994_chunk OWNER TO zabbix;

--
-- Name: _hyper_1_997_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_1_997_chunk (
    CONSTRAINT constraint_997 CHECK (((clock >= '1622246400'::bigint) AND (clock < '1622332800'::bigint)))
)
INHERITS (public.history);


ALTER TABLE _timescaledb_internal._hyper_1_997_chunk OWNER TO zabbix;

--
-- Name: history_log; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.history_log (
    itemid numeric NOT NULL,
    clock bigint DEFAULT '0'::bigint NOT NULL,
    "timestamp" bigint DEFAULT '0'::bigint NOT NULL,
    source character varying(64) DEFAULT ''::character varying NOT NULL,
    severity bigint DEFAULT '0'::bigint NOT NULL,
    value text NOT NULL,
    logeventid bigint DEFAULT '0'::bigint NOT NULL,
    ns bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.history_log OWNER TO zabbix;

--
-- Name: _hyper_2_1001_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1001_chunk (
    CONSTRAINT constraint_1001 CHECK (((clock >= '1622246400'::bigint) AND (clock < '1622332800'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1001_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1006_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1006_chunk (
    CONSTRAINT constraint_1006 CHECK (((clock >= '1622332800'::bigint) AND (clock < '1622419200'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1006_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1010_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1010_chunk (
    CONSTRAINT constraint_1010 CHECK (((clock >= '1622419200'::bigint) AND (clock < '1622505600'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1010_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1016_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1016_chunk (
    CONSTRAINT constraint_1016 CHECK (((clock >= '1622505600'::bigint) AND (clock < '1622592000'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1016_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1020_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1020_chunk (
    CONSTRAINT constraint_1020 CHECK (((clock >= '1622592000'::bigint) AND (clock < '1622678400'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1020_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1027_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1027_chunk (
    CONSTRAINT constraint_1027 CHECK (((clock >= '1622678400'::bigint) AND (clock < '1622764800'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1027_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1031_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1031_chunk (
    CONSTRAINT constraint_1031 CHECK (((clock >= '1622764800'::bigint) AND (clock < '1622851200'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1031_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1038_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1038_chunk (
    CONSTRAINT constraint_1038 CHECK (((clock >= '1622851200'::bigint) AND (clock < '1622937600'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1038_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1041_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1041_chunk (
    CONSTRAINT constraint_1041 CHECK (((clock >= '1622937600'::bigint) AND (clock < '1623024000'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1041_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1047_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1047_chunk (
    CONSTRAINT constraint_1047 CHECK (((clock >= '1623024000'::bigint) AND (clock < '1623110400'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1047_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1053_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1053_chunk (
    CONSTRAINT constraint_1053 CHECK (((clock >= '1623110400'::bigint) AND (clock < '1623196800'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1053_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1058_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1058_chunk (
    CONSTRAINT constraint_1058 CHECK (((clock >= '1623196800'::bigint) AND (clock < '1623283200'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1058_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1063_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1063_chunk (
    CONSTRAINT constraint_1063 CHECK (((clock >= '1623283200'::bigint) AND (clock < '1623369600'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1063_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1067_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1067_chunk (
    CONSTRAINT constraint_1067 CHECK (((clock >= '1623369600'::bigint) AND (clock < '1623456000'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1067_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1073_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1073_chunk (
    CONSTRAINT constraint_1073 CHECK (((clock >= '1623456000'::bigint) AND (clock < '1623542400'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1073_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1074_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1074_chunk (
    CONSTRAINT constraint_1074 CHECK (((clock >= '1623542400'::bigint) AND (clock < '1623628800'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1074_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1083_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1083_chunk (
    CONSTRAINT constraint_1083 CHECK (((clock >= '1623628800'::bigint) AND (clock < '1623715200'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1083_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1087_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1087_chunk (
    CONSTRAINT constraint_1087 CHECK (((clock >= '1623715200'::bigint) AND (clock < '1623801600'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1087_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1093_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1093_chunk (
    CONSTRAINT constraint_1093 CHECK (((clock >= '1623801600'::bigint) AND (clock < '1623888000'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1093_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1098_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1098_chunk (
    CONSTRAINT constraint_1098 CHECK (((clock >= '1623888000'::bigint) AND (clock < '1623974400'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1098_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1103_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1103_chunk (
    CONSTRAINT constraint_1103 CHECK (((clock >= '1623974400'::bigint) AND (clock < '1624060800'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1103_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1108_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1108_chunk (
    CONSTRAINT constraint_1108 CHECK (((clock >= '1624060800'::bigint) AND (clock < '1624147200'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1108_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1112_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1112_chunk (
    CONSTRAINT constraint_1112 CHECK (((clock >= '1624147200'::bigint) AND (clock < '1624233600'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1112_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1118_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1118_chunk (
    CONSTRAINT constraint_1118 CHECK (((clock >= '1624233600'::bigint) AND (clock < '1624320000'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1118_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1121_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1121_chunk (
    CONSTRAINT constraint_1121 CHECK (((clock >= '1624320000'::bigint) AND (clock < '1624406400'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1121_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1128_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1128_chunk (
    CONSTRAINT constraint_1128 CHECK (((clock >= '1624406400'::bigint) AND (clock < '1624492800'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1128_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1132_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1132_chunk (
    CONSTRAINT constraint_1132 CHECK (((clock >= '1624492800'::bigint) AND (clock < '1624579200'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1132_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1137_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1137_chunk (
    CONSTRAINT constraint_1137 CHECK (((clock >= '1624579200'::bigint) AND (clock < '1624665600'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1137_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1143_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1143_chunk (
    CONSTRAINT constraint_1143 CHECK (((clock >= '1624665600'::bigint) AND (clock < '1624752000'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1143_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1148_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1148_chunk (
    CONSTRAINT constraint_1148 CHECK (((clock >= '1624752000'::bigint) AND (clock < '1624838400'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1148_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1152_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1152_chunk (
    CONSTRAINT constraint_1152 CHECK (((clock >= '1624838400'::bigint) AND (clock < '1624924800'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1152_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1158_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1158_chunk (
    CONSTRAINT constraint_1158 CHECK (((clock >= '1624924800'::bigint) AND (clock < '1625011200'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1158_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1163_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1163_chunk (
    CONSTRAINT constraint_1163 CHECK (((clock >= '1625011200'::bigint) AND (clock < '1625097600'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1163_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1166_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1166_chunk (
    CONSTRAINT constraint_1166 CHECK (((clock >= '1625097600'::bigint) AND (clock < '1625184000'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1166_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1172_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1172_chunk (
    CONSTRAINT constraint_1172 CHECK (((clock >= '1625184000'::bigint) AND (clock < '1625270400'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1172_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1180_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1180_chunk (
    CONSTRAINT constraint_1180 CHECK (((clock >= '1625270400'::bigint) AND (clock < '1625356800'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1180_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1183_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1183_chunk (
    CONSTRAINT constraint_1183 CHECK (((clock >= '1625356800'::bigint) AND (clock < '1625443200'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1183_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1188_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1188_chunk (
    CONSTRAINT constraint_1188 CHECK (((clock >= '1625443200'::bigint) AND (clock < '1625529600'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1188_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1195_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1195_chunk (
    CONSTRAINT constraint_1195 CHECK (((clock >= '1625529600'::bigint) AND (clock < '1625616000'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1195_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1199_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1199_chunk (
    CONSTRAINT constraint_1199 CHECK (((clock >= '1625616000'::bigint) AND (clock < '1625702400'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1199_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1203_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1203_chunk (
    CONSTRAINT constraint_1203 CHECK (((clock >= '1625702400'::bigint) AND (clock < '1625788800'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1203_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1210_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1210_chunk (
    CONSTRAINT constraint_1210 CHECK (((clock >= '1625788800'::bigint) AND (clock < '1625875200'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1210_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1213_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1213_chunk (
    CONSTRAINT constraint_1213 CHECK (((clock >= '1625875200'::bigint) AND (clock < '1625961600'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1213_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1220_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1220_chunk (
    CONSTRAINT constraint_1220 CHECK (((clock >= '1625961600'::bigint) AND (clock < '1626048000'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1220_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_1224_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_1224_chunk (
    CONSTRAINT constraint_1224 CHECK (((clock >= '1626048000'::bigint) AND (clock < '1626134400'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_1224_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_769_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_769_chunk (
    CONSTRAINT constraint_769 CHECK (((clock >= '1618272000'::bigint) AND (clock < '1618358400'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_769_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_772_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_772_chunk (
    CONSTRAINT constraint_772 CHECK (((clock >= '1618358400'::bigint) AND (clock < '1618444800'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_772_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_779_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_779_chunk (
    CONSTRAINT constraint_779 CHECK (((clock >= '1618444800'::bigint) AND (clock < '1618531200'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_779_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_784_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_784_chunk (
    CONSTRAINT constraint_784 CHECK (((clock >= '1618531200'::bigint) AND (clock < '1618617600'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_784_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_789_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_789_chunk (
    CONSTRAINT constraint_789 CHECK (((clock >= '1618617600'::bigint) AND (clock < '1618704000'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_789_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_794_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_794_chunk (
    CONSTRAINT constraint_794 CHECK (((clock >= '1618704000'::bigint) AND (clock < '1618790400'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_794_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_798_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_798_chunk (
    CONSTRAINT constraint_798 CHECK (((clock >= '1618790400'::bigint) AND (clock < '1618876800'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_798_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_802_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_802_chunk (
    CONSTRAINT constraint_802 CHECK (((clock >= '1618876800'::bigint) AND (clock < '1618963200'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_802_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_809_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_809_chunk (
    CONSTRAINT constraint_809 CHECK (((clock >= '1618963200'::bigint) AND (clock < '1619049600'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_809_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_813_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_813_chunk (
    CONSTRAINT constraint_813 CHECK (((clock >= '1619049600'::bigint) AND (clock < '1619136000'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_813_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_817_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_817_chunk (
    CONSTRAINT constraint_817 CHECK (((clock >= '1619136000'::bigint) AND (clock < '1619222400'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_817_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_823_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_823_chunk (
    CONSTRAINT constraint_823 CHECK (((clock >= '1619222400'::bigint) AND (clock < '1619308800'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_823_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_828_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_828_chunk (
    CONSTRAINT constraint_828 CHECK (((clock >= '1619308800'::bigint) AND (clock < '1619395200'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_828_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_834_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_834_chunk (
    CONSTRAINT constraint_834 CHECK (((clock >= '1619395200'::bigint) AND (clock < '1619481600'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_834_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_839_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_839_chunk (
    CONSTRAINT constraint_839 CHECK (((clock >= '1619481600'::bigint) AND (clock < '1619568000'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_839_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_844_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_844_chunk (
    CONSTRAINT constraint_844 CHECK (((clock >= '1619568000'::bigint) AND (clock < '1619654400'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_844_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_849_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_849_chunk (
    CONSTRAINT constraint_849 CHECK (((clock >= '1619654400'::bigint) AND (clock < '1619740800'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_849_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_854_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_854_chunk (
    CONSTRAINT constraint_854 CHECK (((clock >= '1619740800'::bigint) AND (clock < '1619827200'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_854_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_859_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_859_chunk (
    CONSTRAINT constraint_859 CHECK (((clock >= '1619827200'::bigint) AND (clock < '1619913600'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_859_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_864_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_864_chunk (
    CONSTRAINT constraint_864 CHECK (((clock >= '1619913600'::bigint) AND (clock < '1620000000'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_864_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_868_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_868_chunk (
    CONSTRAINT constraint_868 CHECK (((clock >= '1620000000'::bigint) AND (clock < '1620086400'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_868_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_876_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_876_chunk (
    CONSTRAINT constraint_876 CHECK (((clock >= '1620086400'::bigint) AND (clock < '1620172800'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_876_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_881_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_881_chunk (
    CONSTRAINT constraint_881 CHECK (((clock >= '1620172800'::bigint) AND (clock < '1620259200'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_881_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_886_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_886_chunk (
    CONSTRAINT constraint_886 CHECK (((clock >= '1620259200'::bigint) AND (clock < '1620345600'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_886_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_890_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_890_chunk (
    CONSTRAINT constraint_890 CHECK (((clock >= '1620345600'::bigint) AND (clock < '1620432000'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_890_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_896_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_896_chunk (
    CONSTRAINT constraint_896 CHECK (((clock >= '1620432000'::bigint) AND (clock < '1620518400'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_896_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_901_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_901_chunk (
    CONSTRAINT constraint_901 CHECK (((clock >= '1620518400'::bigint) AND (clock < '1620604800'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_901_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_906_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_906_chunk (
    CONSTRAINT constraint_906 CHECK (((clock >= '1620604800'::bigint) AND (clock < '1620691200'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_906_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_910_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_910_chunk (
    CONSTRAINT constraint_910 CHECK (((clock >= '1620691200'::bigint) AND (clock < '1620777600'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_910_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_916_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_916_chunk (
    CONSTRAINT constraint_916 CHECK (((clock >= '1620777600'::bigint) AND (clock < '1620864000'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_916_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_920_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_920_chunk (
    CONSTRAINT constraint_920 CHECK (((clock >= '1620864000'::bigint) AND (clock < '1620950400'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_920_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_923_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_923_chunk (
    CONSTRAINT constraint_923 CHECK (((clock >= '1620950400'::bigint) AND (clock < '1621036800'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_923_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_930_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_930_chunk (
    CONSTRAINT constraint_930 CHECK (((clock >= '1621036800'::bigint) AND (clock < '1621123200'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_930_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_936_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_936_chunk (
    CONSTRAINT constraint_936 CHECK (((clock >= '1621123200'::bigint) AND (clock < '1621209600'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_936_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_941_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_941_chunk (
    CONSTRAINT constraint_941 CHECK (((clock >= '1621209600'::bigint) AND (clock < '1621296000'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_941_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_946_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_946_chunk (
    CONSTRAINT constraint_946 CHECK (((clock >= '1621296000'::bigint) AND (clock < '1621382400'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_946_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_950_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_950_chunk (
    CONSTRAINT constraint_950 CHECK (((clock >= '1621382400'::bigint) AND (clock < '1621468800'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_950_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_956_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_956_chunk (
    CONSTRAINT constraint_956 CHECK (((clock >= '1621468800'::bigint) AND (clock < '1621555200'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_956_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_961_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_961_chunk (
    CONSTRAINT constraint_961 CHECK (((clock >= '1621555200'::bigint) AND (clock < '1621641600'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_961_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_966_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_966_chunk (
    CONSTRAINT constraint_966 CHECK (((clock >= '1621641600'::bigint) AND (clock < '1621728000'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_966_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_969_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_969_chunk (
    CONSTRAINT constraint_969 CHECK (((clock >= '1621728000'::bigint) AND (clock < '1621814400'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_969_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_976_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_976_chunk (
    CONSTRAINT constraint_976 CHECK (((clock >= '1621814400'::bigint) AND (clock < '1621900800'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_976_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_981_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_981_chunk (
    CONSTRAINT constraint_981 CHECK (((clock >= '1621900800'::bigint) AND (clock < '1621987200'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_981_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_986_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_986_chunk (
    CONSTRAINT constraint_986 CHECK (((clock >= '1621987200'::bigint) AND (clock < '1622073600'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_986_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_991_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_991_chunk (
    CONSTRAINT constraint_991 CHECK (((clock >= '1622073600'::bigint) AND (clock < '1622160000'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_991_chunk OWNER TO zabbix;

--
-- Name: _hyper_2_996_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_2_996_chunk (
    CONSTRAINT constraint_996 CHECK (((clock >= '1622160000'::bigint) AND (clock < '1622246400'::bigint)))
)
INHERITS (public.history_log);


ALTER TABLE _timescaledb_internal._hyper_2_996_chunk OWNER TO zabbix;

--
-- Name: history_text; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.history_text (
    itemid numeric NOT NULL,
    clock bigint DEFAULT '0'::bigint NOT NULL,
    value text NOT NULL,
    ns bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.history_text OWNER TO zabbix;

--
-- Name: _hyper_3_1000_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1000_chunk (
    CONSTRAINT constraint_1000 CHECK (((clock >= '1622246400'::bigint) AND (clock < '1622332800'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1000_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1005_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1005_chunk (
    CONSTRAINT constraint_1005 CHECK (((clock >= '1622332800'::bigint) AND (clock < '1622419200'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1005_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1011_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1011_chunk (
    CONSTRAINT constraint_1011 CHECK (((clock >= '1622419200'::bigint) AND (clock < '1622505600'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1011_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1015_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1015_chunk (
    CONSTRAINT constraint_1015 CHECK (((clock >= '1622505600'::bigint) AND (clock < '1622592000'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1015_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1021_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1021_chunk (
    CONSTRAINT constraint_1021 CHECK (((clock >= '1622592000'::bigint) AND (clock < '1622678400'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1021_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1028_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1028_chunk (
    CONSTRAINT constraint_1028 CHECK (((clock >= '1622678400'::bigint) AND (clock < '1622764800'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1028_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1033_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1033_chunk (
    CONSTRAINT constraint_1033 CHECK (((clock >= '1622764800'::bigint) AND (clock < '1622851200'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1033_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1037_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1037_chunk (
    CONSTRAINT constraint_1037 CHECK (((clock >= '1622851200'::bigint) AND (clock < '1622937600'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1037_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1042_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1042_chunk (
    CONSTRAINT constraint_1042 CHECK (((clock >= '1622937600'::bigint) AND (clock < '1623024000'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1042_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1048_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1048_chunk (
    CONSTRAINT constraint_1048 CHECK (((clock >= '1623024000'::bigint) AND (clock < '1623110400'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1048_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1052_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1052_chunk (
    CONSTRAINT constraint_1052 CHECK (((clock >= '1623110400'::bigint) AND (clock < '1623196800'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1052_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1057_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1057_chunk (
    CONSTRAINT constraint_1057 CHECK (((clock >= '1623196800'::bigint) AND (clock < '1623283200'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1057_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1062_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1062_chunk (
    CONSTRAINT constraint_1062 CHECK (((clock >= '1623283200'::bigint) AND (clock < '1623369600'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1062_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1068_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1068_chunk (
    CONSTRAINT constraint_1068 CHECK (((clock >= '1623369600'::bigint) AND (clock < '1623456000'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1068_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1072_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1072_chunk (
    CONSTRAINT constraint_1072 CHECK (((clock >= '1623456000'::bigint) AND (clock < '1623542400'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1072_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1078_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1078_chunk (
    CONSTRAINT constraint_1078 CHECK (((clock >= '1623542400'::bigint) AND (clock < '1623628800'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1078_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1082_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1082_chunk (
    CONSTRAINT constraint_1082 CHECK (((clock >= '1623628800'::bigint) AND (clock < '1623715200'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1082_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1088_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1088_chunk (
    CONSTRAINT constraint_1088 CHECK (((clock >= '1623715200'::bigint) AND (clock < '1623801600'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1088_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1092_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1092_chunk (
    CONSTRAINT constraint_1092 CHECK (((clock >= '1623801600'::bigint) AND (clock < '1623888000'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1092_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1097_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1097_chunk (
    CONSTRAINT constraint_1097 CHECK (((clock >= '1623888000'::bigint) AND (clock < '1623974400'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1097_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1102_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1102_chunk (
    CONSTRAINT constraint_1102 CHECK (((clock >= '1623974400'::bigint) AND (clock < '1624060800'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1102_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1107_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1107_chunk (
    CONSTRAINT constraint_1107 CHECK (((clock >= '1624060800'::bigint) AND (clock < '1624147200'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1107_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1113_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1113_chunk (
    CONSTRAINT constraint_1113 CHECK (((clock >= '1624147200'::bigint) AND (clock < '1624233600'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1113_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1117_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1117_chunk (
    CONSTRAINT constraint_1117 CHECK (((clock >= '1624233600'::bigint) AND (clock < '1624320000'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1117_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1123_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1123_chunk (
    CONSTRAINT constraint_1123 CHECK (((clock >= '1624320000'::bigint) AND (clock < '1624406400'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1123_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1127_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1127_chunk (
    CONSTRAINT constraint_1127 CHECK (((clock >= '1624406400'::bigint) AND (clock < '1624492800'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1127_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1133_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1133_chunk (
    CONSTRAINT constraint_1133 CHECK (((clock >= '1624492800'::bigint) AND (clock < '1624579200'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1133_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1138_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1138_chunk (
    CONSTRAINT constraint_1138 CHECK (((clock >= '1624579200'::bigint) AND (clock < '1624665600'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1138_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1142_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1142_chunk (
    CONSTRAINT constraint_1142 CHECK (((clock >= '1624665600'::bigint) AND (clock < '1624752000'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1142_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1147_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1147_chunk (
    CONSTRAINT constraint_1147 CHECK (((clock >= '1624752000'::bigint) AND (clock < '1624838400'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1147_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1153_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1153_chunk (
    CONSTRAINT constraint_1153 CHECK (((clock >= '1624838400'::bigint) AND (clock < '1624924800'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1153_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1157_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1157_chunk (
    CONSTRAINT constraint_1157 CHECK (((clock >= '1624924800'::bigint) AND (clock < '1625011200'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1157_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1162_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1162_chunk (
    CONSTRAINT constraint_1162 CHECK (((clock >= '1625011200'::bigint) AND (clock < '1625097600'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1162_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1168_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1168_chunk (
    CONSTRAINT constraint_1168 CHECK (((clock >= '1625097600'::bigint) AND (clock < '1625184000'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1168_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1173_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1173_chunk (
    CONSTRAINT constraint_1173 CHECK (((clock >= '1625184000'::bigint) AND (clock < '1625270400'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1173_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1179_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1179_chunk (
    CONSTRAINT constraint_1179 CHECK (((clock >= '1625270400'::bigint) AND (clock < '1625356800'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1179_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1185_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1185_chunk (
    CONSTRAINT constraint_1185 CHECK (((clock >= '1625356800'::bigint) AND (clock < '1625443200'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1185_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1190_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1190_chunk (
    CONSTRAINT constraint_1190 CHECK (((clock >= '1625443200'::bigint) AND (clock < '1625529600'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1190_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1192_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1192_chunk (
    CONSTRAINT constraint_1192 CHECK (((clock >= '1625529600'::bigint) AND (clock < '1625616000'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1192_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1200_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1200_chunk (
    CONSTRAINT constraint_1200 CHECK (((clock >= '1625616000'::bigint) AND (clock < '1625702400'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1200_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1205_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1205_chunk (
    CONSTRAINT constraint_1205 CHECK (((clock >= '1625702400'::bigint) AND (clock < '1625788800'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1205_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1209_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1209_chunk (
    CONSTRAINT constraint_1209 CHECK (((clock >= '1625788800'::bigint) AND (clock < '1625875200'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1209_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1215_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1215_chunk (
    CONSTRAINT constraint_1215 CHECK (((clock >= '1625875200'::bigint) AND (clock < '1625961600'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1215_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1219_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1219_chunk (
    CONSTRAINT constraint_1219 CHECK (((clock >= '1625961600'::bigint) AND (clock < '1626048000'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1219_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_1225_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_1225_chunk (
    CONSTRAINT constraint_1225 CHECK (((clock >= '1626048000'::bigint) AND (clock < '1626134400'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_1225_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_768_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_768_chunk (
    CONSTRAINT constraint_768 CHECK (((clock >= '1618272000'::bigint) AND (clock < '1618358400'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_768_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_773_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_773_chunk (
    CONSTRAINT constraint_773 CHECK (((clock >= '1618358400'::bigint) AND (clock < '1618444800'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_773_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_777_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_777_chunk (
    CONSTRAINT constraint_777 CHECK (((clock >= '1618444800'::bigint) AND (clock < '1618531200'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_777_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_783_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_783_chunk (
    CONSTRAINT constraint_783 CHECK (((clock >= '1618531200'::bigint) AND (clock < '1618617600'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_783_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_788_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_788_chunk (
    CONSTRAINT constraint_788 CHECK (((clock >= '1618617600'::bigint) AND (clock < '1618704000'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_788_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_793_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_793_chunk (
    CONSTRAINT constraint_793 CHECK (((clock >= '1618704000'::bigint) AND (clock < '1618790400'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_793_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_799_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_799_chunk (
    CONSTRAINT constraint_799 CHECK (((clock >= '1618790400'::bigint) AND (clock < '1618876800'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_799_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_804_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_804_chunk (
    CONSTRAINT constraint_804 CHECK (((clock >= '1618876800'::bigint) AND (clock < '1618963200'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_804_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_806_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_806_chunk (
    CONSTRAINT constraint_806 CHECK (((clock >= '1618963200'::bigint) AND (clock < '1619049600'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_806_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_814_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_814_chunk (
    CONSTRAINT constraint_814 CHECK (((clock >= '1619049600'::bigint) AND (clock < '1619136000'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_814_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_819_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_819_chunk (
    CONSTRAINT constraint_819 CHECK (((clock >= '1619136000'::bigint) AND (clock < '1619222400'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_819_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_824_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_824_chunk (
    CONSTRAINT constraint_824 CHECK (((clock >= '1619222400'::bigint) AND (clock < '1619308800'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_824_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_829_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_829_chunk (
    CONSTRAINT constraint_829 CHECK (((clock >= '1619308800'::bigint) AND (clock < '1619395200'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_829_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_833_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_833_chunk (
    CONSTRAINT constraint_833 CHECK (((clock >= '1619395200'::bigint) AND (clock < '1619481600'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_833_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_838_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_838_chunk (
    CONSTRAINT constraint_838 CHECK (((clock >= '1619481600'::bigint) AND (clock < '1619568000'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_838_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_843_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_843_chunk (
    CONSTRAINT constraint_843 CHECK (((clock >= '1619568000'::bigint) AND (clock < '1619654400'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_843_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_848_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_848_chunk (
    CONSTRAINT constraint_848 CHECK (((clock >= '1619654400'::bigint) AND (clock < '1619740800'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_848_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_853_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_853_chunk (
    CONSTRAINT constraint_853 CHECK (((clock >= '1619740800'::bigint) AND (clock < '1619827200'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_853_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_857_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_857_chunk (
    CONSTRAINT constraint_857 CHECK (((clock >= '1619827200'::bigint) AND (clock < '1619913600'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_857_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_863_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_863_chunk (
    CONSTRAINT constraint_863 CHECK (((clock >= '1619913600'::bigint) AND (clock < '1620000000'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_863_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_869_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_869_chunk (
    CONSTRAINT constraint_869 CHECK (((clock >= '1620000000'::bigint) AND (clock < '1620086400'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_869_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_875_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_875_chunk (
    CONSTRAINT constraint_875 CHECK (((clock >= '1620086400'::bigint) AND (clock < '1620172800'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_875_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_879_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_879_chunk (
    CONSTRAINT constraint_879 CHECK (((clock >= '1620172800'::bigint) AND (clock < '1620259200'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_879_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_885_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_885_chunk (
    CONSTRAINT constraint_885 CHECK (((clock >= '1620259200'::bigint) AND (clock < '1620345600'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_885_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_891_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_891_chunk (
    CONSTRAINT constraint_891 CHECK (((clock >= '1620345600'::bigint) AND (clock < '1620432000'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_891_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_895_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_895_chunk (
    CONSTRAINT constraint_895 CHECK (((clock >= '1620432000'::bigint) AND (clock < '1620518400'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_895_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_898_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_898_chunk (
    CONSTRAINT constraint_898 CHECK (((clock >= '1620518400'::bigint) AND (clock < '1620604800'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_898_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_905_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_905_chunk (
    CONSTRAINT constraint_905 CHECK (((clock >= '1620604800'::bigint) AND (clock < '1620691200'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_905_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_909_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_909_chunk (
    CONSTRAINT constraint_909 CHECK (((clock >= '1620691200'::bigint) AND (clock < '1620777600'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_909_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_915_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_915_chunk (
    CONSTRAINT constraint_915 CHECK (((clock >= '1620777600'::bigint) AND (clock < '1620864000'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_915_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_921_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_921_chunk (
    CONSTRAINT constraint_921 CHECK (((clock >= '1620864000'::bigint) AND (clock < '1620950400'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_921_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_926_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_926_chunk (
    CONSTRAINT constraint_926 CHECK (((clock >= '1620950400'::bigint) AND (clock < '1621036800'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_926_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_931_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_931_chunk (
    CONSTRAINT constraint_931 CHECK (((clock >= '1621036800'::bigint) AND (clock < '1621123200'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_931_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_934_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_934_chunk (
    CONSTRAINT constraint_934 CHECK (((clock >= '1621123200'::bigint) AND (clock < '1621209600'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_934_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_940_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_940_chunk (
    CONSTRAINT constraint_940 CHECK (((clock >= '1621209600'::bigint) AND (clock < '1621296000'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_940_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_945_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_945_chunk (
    CONSTRAINT constraint_945 CHECK (((clock >= '1621296000'::bigint) AND (clock < '1621382400'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_945_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_951_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_951_chunk (
    CONSTRAINT constraint_951 CHECK (((clock >= '1621382400'::bigint) AND (clock < '1621468800'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_951_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_955_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_955_chunk (
    CONSTRAINT constraint_955 CHECK (((clock >= '1621468800'::bigint) AND (clock < '1621555200'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_955_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_960_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_960_chunk (
    CONSTRAINT constraint_960 CHECK (((clock >= '1621555200'::bigint) AND (clock < '1621641600'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_960_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_965_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_965_chunk (
    CONSTRAINT constraint_965 CHECK (((clock >= '1621641600'::bigint) AND (clock < '1621728000'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_965_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_971_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_971_chunk (
    CONSTRAINT constraint_971 CHECK (((clock >= '1621728000'::bigint) AND (clock < '1621814400'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_971_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_975_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_975_chunk (
    CONSTRAINT constraint_975 CHECK (((clock >= '1621814400'::bigint) AND (clock < '1621900800'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_975_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_979_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_979_chunk (
    CONSTRAINT constraint_979 CHECK (((clock >= '1621900800'::bigint) AND (clock < '1621987200'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_979_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_985_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_985_chunk (
    CONSTRAINT constraint_985 CHECK (((clock >= '1621987200'::bigint) AND (clock < '1622073600'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_985_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_990_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_990_chunk (
    CONSTRAINT constraint_990 CHECK (((clock >= '1622073600'::bigint) AND (clock < '1622160000'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_990_chunk OWNER TO zabbix;

--
-- Name: _hyper_3_995_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_3_995_chunk (
    CONSTRAINT constraint_995 CHECK (((clock >= '1622160000'::bigint) AND (clock < '1622246400'::bigint)))
)
INHERITS (public.history_text);


ALTER TABLE _timescaledb_internal._hyper_3_995_chunk OWNER TO zabbix;

--
-- Name: history_str; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.history_str (
    itemid numeric NOT NULL,
    clock bigint DEFAULT '0'::bigint NOT NULL,
    value character varying(255) DEFAULT ''::character varying NOT NULL,
    ns bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.history_str OWNER TO zabbix;

--
-- Name: _hyper_4_1003_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1003_chunk (
    CONSTRAINT constraint_1003 CHECK (((clock >= '1622332800'::bigint) AND (clock < '1622419200'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1003_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1009_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1009_chunk (
    CONSTRAINT constraint_1009 CHECK (((clock >= '1622419200'::bigint) AND (clock < '1622505600'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1009_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1013_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1013_chunk (
    CONSTRAINT constraint_1013 CHECK (((clock >= '1622505600'::bigint) AND (clock < '1622592000'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1013_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1019_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1019_chunk (
    CONSTRAINT constraint_1019 CHECK (((clock >= '1622592000'::bigint) AND (clock < '1622678400'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1019_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1026_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1026_chunk (
    CONSTRAINT constraint_1026 CHECK (((clock >= '1622678400'::bigint) AND (clock < '1622764800'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1026_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1032_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1032_chunk (
    CONSTRAINT constraint_1032 CHECK (((clock >= '1622764800'::bigint) AND (clock < '1622851200'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1032_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1036_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1036_chunk (
    CONSTRAINT constraint_1036 CHECK (((clock >= '1622851200'::bigint) AND (clock < '1622937600'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1036_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1043_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1043_chunk (
    CONSTRAINT constraint_1043 CHECK (((clock >= '1622937600'::bigint) AND (clock < '1623024000'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1043_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1044_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1044_chunk (
    CONSTRAINT constraint_1044 CHECK (((clock >= '1623024000'::bigint) AND (clock < '1623110400'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1044_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1051_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1051_chunk (
    CONSTRAINT constraint_1051 CHECK (((clock >= '1623110400'::bigint) AND (clock < '1623196800'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1051_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1056_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1056_chunk (
    CONSTRAINT constraint_1056 CHECK (((clock >= '1623196800'::bigint) AND (clock < '1623283200'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1056_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1061_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1061_chunk (
    CONSTRAINT constraint_1061 CHECK (((clock >= '1623283200'::bigint) AND (clock < '1623369600'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1061_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1065_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1065_chunk (
    CONSTRAINT constraint_1065 CHECK (((clock >= '1623369600'::bigint) AND (clock < '1623456000'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1065_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1070_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1070_chunk (
    CONSTRAINT constraint_1070 CHECK (((clock >= '1623456000'::bigint) AND (clock < '1623542400'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1070_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1077_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1077_chunk (
    CONSTRAINT constraint_1077 CHECK (((clock >= '1623542400'::bigint) AND (clock < '1623628800'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1077_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1080_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1080_chunk (
    CONSTRAINT constraint_1080 CHECK (((clock >= '1623628800'::bigint) AND (clock < '1623715200'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1080_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1086_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1086_chunk (
    CONSTRAINT constraint_1086 CHECK (((clock >= '1623715200'::bigint) AND (clock < '1623801600'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1086_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1090_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1090_chunk (
    CONSTRAINT constraint_1090 CHECK (((clock >= '1623801600'::bigint) AND (clock < '1623888000'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1090_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1095_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1095_chunk (
    CONSTRAINT constraint_1095 CHECK (((clock >= '1623888000'::bigint) AND (clock < '1623974400'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1095_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1101_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1101_chunk (
    CONSTRAINT constraint_1101 CHECK (((clock >= '1623974400'::bigint) AND (clock < '1624060800'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1101_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1105_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1105_chunk (
    CONSTRAINT constraint_1105 CHECK (((clock >= '1624060800'::bigint) AND (clock < '1624147200'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1105_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1111_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1111_chunk (
    CONSTRAINT constraint_1111 CHECK (((clock >= '1624147200'::bigint) AND (clock < '1624233600'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1111_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1115_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1115_chunk (
    CONSTRAINT constraint_1115 CHECK (((clock >= '1624233600'::bigint) AND (clock < '1624320000'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1115_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1122_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1122_chunk (
    CONSTRAINT constraint_1122 CHECK (((clock >= '1624320000'::bigint) AND (clock < '1624406400'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1122_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1126_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1126_chunk (
    CONSTRAINT constraint_1126 CHECK (((clock >= '1624406400'::bigint) AND (clock < '1624492800'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1126_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1130_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1130_chunk (
    CONSTRAINT constraint_1130 CHECK (((clock >= '1624492800'::bigint) AND (clock < '1624579200'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1130_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1136_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1136_chunk (
    CONSTRAINT constraint_1136 CHECK (((clock >= '1624579200'::bigint) AND (clock < '1624665600'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1136_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1141_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1141_chunk (
    CONSTRAINT constraint_1141 CHECK (((clock >= '1624665600'::bigint) AND (clock < '1624752000'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1141_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1145_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1145_chunk (
    CONSTRAINT constraint_1145 CHECK (((clock >= '1624752000'::bigint) AND (clock < '1624838400'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1145_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1151_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1151_chunk (
    CONSTRAINT constraint_1151 CHECK (((clock >= '1624838400'::bigint) AND (clock < '1624924800'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1151_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1155_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1155_chunk (
    CONSTRAINT constraint_1155 CHECK (((clock >= '1624924800'::bigint) AND (clock < '1625011200'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1155_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1161_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1161_chunk (
    CONSTRAINT constraint_1161 CHECK (((clock >= '1625011200'::bigint) AND (clock < '1625097600'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1161_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1167_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1167_chunk (
    CONSTRAINT constraint_1167 CHECK (((clock >= '1625097600'::bigint) AND (clock < '1625184000'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1167_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1171_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1171_chunk (
    CONSTRAINT constraint_1171 CHECK (((clock >= '1625184000'::bigint) AND (clock < '1625270400'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1171_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1178_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1178_chunk (
    CONSTRAINT constraint_1178 CHECK (((clock >= '1625270400'::bigint) AND (clock < '1625356800'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1178_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1182_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1182_chunk (
    CONSTRAINT constraint_1182 CHECK (((clock >= '1625356800'::bigint) AND (clock < '1625443200'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1182_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1187_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1187_chunk (
    CONSTRAINT constraint_1187 CHECK (((clock >= '1625443200'::bigint) AND (clock < '1625529600'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1187_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1191_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1191_chunk (
    CONSTRAINT constraint_1191 CHECK (((clock >= '1625529600'::bigint) AND (clock < '1625616000'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1191_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1198_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1198_chunk (
    CONSTRAINT constraint_1198 CHECK (((clock >= '1625616000'::bigint) AND (clock < '1625702400'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1198_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1202_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1202_chunk (
    CONSTRAINT constraint_1202 CHECK (((clock >= '1625702400'::bigint) AND (clock < '1625788800'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1202_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1207_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1207_chunk (
    CONSTRAINT constraint_1207 CHECK (((clock >= '1625788800'::bigint) AND (clock < '1625875200'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1207_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1212_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1212_chunk (
    CONSTRAINT constraint_1212 CHECK (((clock >= '1625875200'::bigint) AND (clock < '1625961600'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1212_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1217_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1217_chunk (
    CONSTRAINT constraint_1217 CHECK (((clock >= '1625961600'::bigint) AND (clock < '1626048000'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1217_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_1223_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_1223_chunk (
    CONSTRAINT constraint_1223 CHECK (((clock >= '1626048000'::bigint) AND (clock < '1626134400'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_1223_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_767_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_767_chunk (
    CONSTRAINT constraint_767 CHECK (((clock >= '1618272000'::bigint) AND (clock < '1618358400'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_767_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_774_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_774_chunk (
    CONSTRAINT constraint_774 CHECK (((clock >= '1618358400'::bigint) AND (clock < '1618444800'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_774_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_776_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_776_chunk (
    CONSTRAINT constraint_776 CHECK (((clock >= '1618444800'::bigint) AND (clock < '1618531200'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_776_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_781_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_781_chunk (
    CONSTRAINT constraint_781 CHECK (((clock >= '1618531200'::bigint) AND (clock < '1618617600'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_781_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_786_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_786_chunk (
    CONSTRAINT constraint_786 CHECK (((clock >= '1618617600'::bigint) AND (clock < '1618704000'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_786_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_791_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_791_chunk (
    CONSTRAINT constraint_791 CHECK (((clock >= '1618704000'::bigint) AND (clock < '1618790400'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_791_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_797_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_797_chunk (
    CONSTRAINT constraint_797 CHECK (((clock >= '1618790400'::bigint) AND (clock < '1618876800'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_797_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_803_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_803_chunk (
    CONSTRAINT constraint_803 CHECK (((clock >= '1618876800'::bigint) AND (clock < '1618963200'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_803_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_805_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_805_chunk (
    CONSTRAINT constraint_805 CHECK (((clock >= '1618963200'::bigint) AND (clock < '1619049600'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_805_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_811_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_811_chunk (
    CONSTRAINT constraint_811 CHECK (((clock >= '1619049600'::bigint) AND (clock < '1619136000'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_811_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_818_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_818_chunk (
    CONSTRAINT constraint_818 CHECK (((clock >= '1619136000'::bigint) AND (clock < '1619222400'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_818_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_822_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_822_chunk (
    CONSTRAINT constraint_822 CHECK (((clock >= '1619222400'::bigint) AND (clock < '1619308800'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_822_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_827_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_827_chunk (
    CONSTRAINT constraint_827 CHECK (((clock >= '1619308800'::bigint) AND (clock < '1619395200'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_827_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_832_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_832_chunk (
    CONSTRAINT constraint_832 CHECK (((clock >= '1619395200'::bigint) AND (clock < '1619481600'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_832_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_837_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_837_chunk (
    CONSTRAINT constraint_837 CHECK (((clock >= '1619481600'::bigint) AND (clock < '1619568000'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_837_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_841_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_841_chunk (
    CONSTRAINT constraint_840 CHECK (((clock >= '1619568000'::bigint) AND (clock < '1619654400'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_841_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_847_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_847_chunk (
    CONSTRAINT constraint_847 CHECK (((clock >= '1619654400'::bigint) AND (clock < '1619740800'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_847_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_852_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_852_chunk (
    CONSTRAINT constraint_852 CHECK (((clock >= '1619740800'::bigint) AND (clock < '1619827200'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_852_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_858_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_858_chunk (
    CONSTRAINT constraint_858 CHECK (((clock >= '1619827200'::bigint) AND (clock < '1619913600'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_858_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_860_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_860_chunk (
    CONSTRAINT constraint_860 CHECK (((clock >= '1619913600'::bigint) AND (clock < '1620000000'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_860_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_866_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_866_chunk (
    CONSTRAINT constraint_866 CHECK (((clock >= '1620000000'::bigint) AND (clock < '1620086400'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_866_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_873_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_873_chunk (
    CONSTRAINT constraint_873 CHECK (((clock >= '1620086400'::bigint) AND (clock < '1620172800'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_873_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_880_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_880_chunk (
    CONSTRAINT constraint_880 CHECK (((clock >= '1620172800'::bigint) AND (clock < '1620259200'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_880_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_882_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_882_chunk (
    CONSTRAINT constraint_882 CHECK (((clock >= '1620259200'::bigint) AND (clock < '1620345600'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_882_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_889_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_889_chunk (
    CONSTRAINT constraint_889 CHECK (((clock >= '1620345600'::bigint) AND (clock < '1620432000'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_889_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_893_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_893_chunk (
    CONSTRAINT constraint_893 CHECK (((clock >= '1620432000'::bigint) AND (clock < '1620518400'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_893_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_897_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_897_chunk (
    CONSTRAINT constraint_897 CHECK (((clock >= '1620518400'::bigint) AND (clock < '1620604800'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_897_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_903_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_903_chunk (
    CONSTRAINT constraint_903 CHECK (((clock >= '1620604800'::bigint) AND (clock < '1620691200'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_903_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_911_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_911_chunk (
    CONSTRAINT constraint_911 CHECK (((clock >= '1620691200'::bigint) AND (clock < '1620777600'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_911_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_913_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_913_chunk (
    CONSTRAINT constraint_913 CHECK (((clock >= '1620777600'::bigint) AND (clock < '1620864000'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_913_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_919_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_919_chunk (
    CONSTRAINT constraint_919 CHECK (((clock >= '1620864000'::bigint) AND (clock < '1620950400'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_919_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_925_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_925_chunk (
    CONSTRAINT constraint_925 CHECK (((clock >= '1620950400'::bigint) AND (clock < '1621036800'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_925_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_929_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_929_chunk (
    CONSTRAINT constraint_929 CHECK (((clock >= '1621036800'::bigint) AND (clock < '1621123200'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_929_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_932_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_932_chunk (
    CONSTRAINT constraint_932 CHECK (((clock >= '1621123200'::bigint) AND (clock < '1621209600'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_932_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_939_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_939_chunk (
    CONSTRAINT constraint_939 CHECK (((clock >= '1621209600'::bigint) AND (clock < '1621296000'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_939_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_943_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_943_chunk (
    CONSTRAINT constraint_943 CHECK (((clock >= '1621296000'::bigint) AND (clock < '1621382400'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_943_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_949_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_949_chunk (
    CONSTRAINT constraint_949 CHECK (((clock >= '1621382400'::bigint) AND (clock < '1621468800'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_949_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_953_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_953_chunk (
    CONSTRAINT constraint_953 CHECK (((clock >= '1621468800'::bigint) AND (clock < '1621555200'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_953_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_958_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_958_chunk (
    CONSTRAINT constraint_958 CHECK (((clock >= '1621555200'::bigint) AND (clock < '1621641600'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_958_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_963_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_963_chunk (
    CONSTRAINT constraint_963 CHECK (((clock >= '1621641600'::bigint) AND (clock < '1621728000'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_963_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_970_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_970_chunk (
    CONSTRAINT constraint_970 CHECK (((clock >= '1621728000'::bigint) AND (clock < '1621814400'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_970_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_972_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_972_chunk (
    CONSTRAINT constraint_972 CHECK (((clock >= '1621814400'::bigint) AND (clock < '1621900800'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_972_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_977_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_977_chunk (
    CONSTRAINT constraint_977 CHECK (((clock >= '1621900800'::bigint) AND (clock < '1621987200'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_977_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_984_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_984_chunk (
    CONSTRAINT constraint_984 CHECK (((clock >= '1621987200'::bigint) AND (clock < '1622073600'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_984_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_988_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_988_chunk (
    CONSTRAINT constraint_988 CHECK (((clock >= '1622073600'::bigint) AND (clock < '1622160000'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_988_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_992_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_992_chunk (
    CONSTRAINT constraint_992 CHECK (((clock >= '1622160000'::bigint) AND (clock < '1622246400'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_992_chunk OWNER TO zabbix;

--
-- Name: _hyper_4_999_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_4_999_chunk (
    CONSTRAINT constraint_999 CHECK (((clock >= '1622246400'::bigint) AND (clock < '1622332800'::bigint)))
)
INHERITS (public.history_str);


ALTER TABLE _timescaledb_internal._hyper_4_999_chunk OWNER TO zabbix;

--
-- Name: trends; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.trends (
    itemid numeric NOT NULL,
    clock bigint DEFAULT '0'::bigint NOT NULL,
    num bigint DEFAULT '0'::bigint NOT NULL,
    value_min double precision DEFAULT '0'::double precision NOT NULL,
    value_avg double precision DEFAULT '0'::double precision NOT NULL,
    value_max double precision DEFAULT '0'::double precision NOT NULL
);


ALTER TABLE public.trends OWNER TO zabbix;

--
-- Name: _hyper_5_1022_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_5_1022_chunk (
    CONSTRAINT constraint_1022 CHECK (((clock >= '1622592000'::bigint) AND (clock < '1625184000'::bigint)))
)
INHERITS (public.trends);


ALTER TABLE _timescaledb_internal._hyper_5_1022_chunk OWNER TO zabbix;

--
-- Name: _hyper_5_1174_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_5_1174_chunk (
    CONSTRAINT constraint_1174 CHECK (((clock >= '1625184000'::bigint) AND (clock < '1627776000'::bigint)))
)
INHERITS (public.trends);


ALTER TABLE _timescaledb_internal._hyper_5_1174_chunk OWNER TO zabbix;

--
-- Name: _hyper_5_566_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_5_566_chunk (
    CONSTRAINT constraint_566 CHECK (((clock >= '1614816000'::bigint) AND (clock < '1617408000'::bigint)))
)
INHERITS (public.trends);


ALTER TABLE _timescaledb_internal._hyper_5_566_chunk OWNER TO zabbix;

--
-- Name: _hyper_5_718_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_5_718_chunk (
    CONSTRAINT constraint_718 CHECK (((clock >= '1617408000'::bigint) AND (clock < '1620000000'::bigint)))
)
INHERITS (public.trends);


ALTER TABLE _timescaledb_internal._hyper_5_718_chunk OWNER TO zabbix;

--
-- Name: _hyper_5_870_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_5_870_chunk (
    CONSTRAINT constraint_870 CHECK (((clock >= '1620000000'::bigint) AND (clock < '1622592000'::bigint)))
)
INHERITS (public.trends);


ALTER TABLE _timescaledb_internal._hyper_5_870_chunk OWNER TO zabbix;

--
-- Name: trends_uint; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.trends_uint (
    itemid numeric NOT NULL,
    clock bigint DEFAULT '0'::bigint NOT NULL,
    num bigint DEFAULT '0'::bigint NOT NULL,
    value_min numeric DEFAULT '0'::numeric NOT NULL,
    value_avg numeric DEFAULT '0'::numeric NOT NULL,
    value_max numeric DEFAULT '0'::numeric NOT NULL
);


ALTER TABLE public.trends_uint OWNER TO zabbix;

--
-- Name: _hyper_6_1023_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_6_1023_chunk (
    CONSTRAINT constraint_1023 CHECK (((clock >= '1622592000'::bigint) AND (clock < '1625184000'::bigint)))
)
INHERITS (public.trends_uint);


ALTER TABLE _timescaledb_internal._hyper_6_1023_chunk OWNER TO zabbix;

--
-- Name: _hyper_6_1175_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_6_1175_chunk (
    CONSTRAINT constraint_1175 CHECK (((clock >= '1625184000'::bigint) AND (clock < '1627776000'::bigint)))
)
INHERITS (public.trends_uint);


ALTER TABLE _timescaledb_internal._hyper_6_1175_chunk OWNER TO zabbix;

--
-- Name: _hyper_6_567_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_6_567_chunk (
    CONSTRAINT constraint_567 CHECK (((clock >= '1614816000'::bigint) AND (clock < '1617408000'::bigint)))
)
INHERITS (public.trends_uint);


ALTER TABLE _timescaledb_internal._hyper_6_567_chunk OWNER TO zabbix;

--
-- Name: _hyper_6_719_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_6_719_chunk (
    CONSTRAINT constraint_719 CHECK (((clock >= '1617408000'::bigint) AND (clock < '1620000000'::bigint)))
)
INHERITS (public.trends_uint);


ALTER TABLE _timescaledb_internal._hyper_6_719_chunk OWNER TO zabbix;

--
-- Name: _hyper_6_871_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_6_871_chunk (
    CONSTRAINT constraint_871 CHECK (((clock >= '1620000000'::bigint) AND (clock < '1622592000'::bigint)))
)
INHERITS (public.trends_uint);


ALTER TABLE _timescaledb_internal._hyper_6_871_chunk OWNER TO zabbix;

--
-- Name: history_uint; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.history_uint (
    itemid numeric NOT NULL,
    clock bigint DEFAULT '0'::bigint NOT NULL,
    value numeric DEFAULT '0'::numeric NOT NULL,
    ns bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.history_uint OWNER TO zabbix;

--
-- Name: _hyper_7_1004_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1004_chunk (
    CONSTRAINT constraint_1004 CHECK (((clock >= '1622332800'::bigint) AND (clock < '1622419200'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1004_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1007_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1007_chunk (
    CONSTRAINT constraint_1007 CHECK (((clock >= '1622419200'::bigint) AND (clock < '1622505600'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1007_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1014_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1014_chunk (
    CONSTRAINT constraint_1014 CHECK (((clock >= '1622505600'::bigint) AND (clock < '1622592000'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1014_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1018_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1018_chunk (
    CONSTRAINT constraint_1018 CHECK (((clock >= '1622592000'::bigint) AND (clock < '1622678400'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1018_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1024_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1024_chunk (
    CONSTRAINT constraint_1024 CHECK (((clock >= '1622678400'::bigint) AND (clock < '1622764800'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1024_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1030_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1030_chunk (
    CONSTRAINT constraint_1030 CHECK (((clock >= '1622764800'::bigint) AND (clock < '1622851200'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1030_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1035_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1035_chunk (
    CONSTRAINT constraint_1035 CHECK (((clock >= '1622851200'::bigint) AND (clock < '1622937600'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1035_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1039_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1039_chunk (
    CONSTRAINT constraint_1039 CHECK (((clock >= '1622937600'::bigint) AND (clock < '1623024000'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1039_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1045_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1045_chunk (
    CONSTRAINT constraint_1045 CHECK (((clock >= '1623024000'::bigint) AND (clock < '1623110400'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1045_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1050_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1050_chunk (
    CONSTRAINT constraint_1050 CHECK (((clock >= '1623110400'::bigint) AND (clock < '1623196800'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1050_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1055_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1055_chunk (
    CONSTRAINT constraint_1055 CHECK (((clock >= '1623196800'::bigint) AND (clock < '1623283200'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1055_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1060_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1060_chunk (
    CONSTRAINT constraint_1060 CHECK (((clock >= '1623283200'::bigint) AND (clock < '1623369600'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1060_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1066_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1066_chunk (
    CONSTRAINT constraint_1066 CHECK (((clock >= '1623369600'::bigint) AND (clock < '1623456000'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1066_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1071_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1071_chunk (
    CONSTRAINT constraint_1071 CHECK (((clock >= '1623456000'::bigint) AND (clock < '1623542400'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1071_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1076_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1076_chunk (
    CONSTRAINT constraint_1076 CHECK (((clock >= '1623542400'::bigint) AND (clock < '1623628800'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1076_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1081_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1081_chunk (
    CONSTRAINT constraint_1081 CHECK (((clock >= '1623628800'::bigint) AND (clock < '1623715200'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1081_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1084_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1084_chunk (
    CONSTRAINT constraint_1084 CHECK (((clock >= '1623715200'::bigint) AND (clock < '1623801600'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1084_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1091_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1091_chunk (
    CONSTRAINT constraint_1091 CHECK (((clock >= '1623801600'::bigint) AND (clock < '1623888000'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1091_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1096_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1096_chunk (
    CONSTRAINT constraint_1096 CHECK (((clock >= '1623888000'::bigint) AND (clock < '1623974400'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1096_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1100_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1100_chunk (
    CONSTRAINT constraint_1100 CHECK (((clock >= '1623974400'::bigint) AND (clock < '1624060800'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1100_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1106_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1106_chunk (
    CONSTRAINT constraint_1106 CHECK (((clock >= '1624060800'::bigint) AND (clock < '1624147200'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1106_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1110_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1110_chunk (
    CONSTRAINT constraint_1110 CHECK (((clock >= '1624147200'::bigint) AND (clock < '1624233600'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1110_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1114_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1114_chunk (
    CONSTRAINT constraint_1114 CHECK (((clock >= '1624233600'::bigint) AND (clock < '1624320000'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1114_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1119_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1119_chunk (
    CONSTRAINT constraint_1119 CHECK (((clock >= '1624320000'::bigint) AND (clock < '1624406400'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1119_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1125_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1125_chunk (
    CONSTRAINT constraint_1125 CHECK (((clock >= '1624406400'::bigint) AND (clock < '1624492800'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1125_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1131_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1131_chunk (
    CONSTRAINT constraint_1131 CHECK (((clock >= '1624492800'::bigint) AND (clock < '1624579200'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1131_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1134_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1134_chunk (
    CONSTRAINT constraint_1134 CHECK (((clock >= '1624579200'::bigint) AND (clock < '1624665600'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1134_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1139_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1139_chunk (
    CONSTRAINT constraint_1139 CHECK (((clock >= '1624665600'::bigint) AND (clock < '1624752000'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1139_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1146_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1146_chunk (
    CONSTRAINT constraint_1146 CHECK (((clock >= '1624752000'::bigint) AND (clock < '1624838400'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1146_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1150_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1150_chunk (
    CONSTRAINT constraint_1150 CHECK (((clock >= '1624838400'::bigint) AND (clock < '1624924800'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1150_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1156_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1156_chunk (
    CONSTRAINT constraint_1156 CHECK (((clock >= '1624924800'::bigint) AND (clock < '1625011200'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1156_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1160_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1160_chunk (
    CONSTRAINT constraint_1160 CHECK (((clock >= '1625011200'::bigint) AND (clock < '1625097600'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1160_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1165_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1165_chunk (
    CONSTRAINT constraint_1165 CHECK (((clock >= '1625097600'::bigint) AND (clock < '1625184000'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1165_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1170_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1170_chunk (
    CONSTRAINT constraint_1170 CHECK (((clock >= '1625184000'::bigint) AND (clock < '1625270400'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1170_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1177_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1177_chunk (
    CONSTRAINT constraint_1177 CHECK (((clock >= '1625270400'::bigint) AND (clock < '1625356800'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1177_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1184_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1184_chunk (
    CONSTRAINT constraint_1184 CHECK (((clock >= '1625356800'::bigint) AND (clock < '1625443200'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1184_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1189_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1189_chunk (
    CONSTRAINT constraint_1189 CHECK (((clock >= '1625443200'::bigint) AND (clock < '1625529600'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1189_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1194_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1194_chunk (
    CONSTRAINT constraint_1194 CHECK (((clock >= '1625529600'::bigint) AND (clock < '1625616000'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1194_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1197_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1197_chunk (
    CONSTRAINT constraint_1197 CHECK (((clock >= '1625616000'::bigint) AND (clock < '1625702400'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1197_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1204_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1204_chunk (
    CONSTRAINT constraint_1204 CHECK (((clock >= '1625702400'::bigint) AND (clock < '1625788800'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1204_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1208_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1208_chunk (
    CONSTRAINT constraint_1208 CHECK (((clock >= '1625788800'::bigint) AND (clock < '1625875200'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1208_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1214_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1214_chunk (
    CONSTRAINT constraint_1214 CHECK (((clock >= '1625875200'::bigint) AND (clock < '1625961600'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1214_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1218_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1218_chunk (
    CONSTRAINT constraint_1218 CHECK (((clock >= '1625961600'::bigint) AND (clock < '1626048000'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1218_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_1222_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_1222_chunk (
    CONSTRAINT constraint_1222 CHECK (((clock >= '1626048000'::bigint) AND (clock < '1626134400'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_1222_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_766_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_766_chunk (
    CONSTRAINT constraint_766 CHECK (((clock >= '1618272000'::bigint) AND (clock < '1618358400'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_766_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_771_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_771_chunk (
    CONSTRAINT constraint_771 CHECK (((clock >= '1618358400'::bigint) AND (clock < '1618444800'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_771_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_778_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_778_chunk (
    CONSTRAINT constraint_778 CHECK (((clock >= '1618444800'::bigint) AND (clock < '1618531200'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_778_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_782_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_782_chunk (
    CONSTRAINT constraint_782 CHECK (((clock >= '1618531200'::bigint) AND (clock < '1618617600'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_782_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_787_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_787_chunk (
    CONSTRAINT constraint_787 CHECK (((clock >= '1618617600'::bigint) AND (clock < '1618704000'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_787_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_792_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_792_chunk (
    CONSTRAINT constraint_792 CHECK (((clock >= '1618704000'::bigint) AND (clock < '1618790400'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_792_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_795_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_795_chunk (
    CONSTRAINT constraint_795 CHECK (((clock >= '1618790400'::bigint) AND (clock < '1618876800'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_795_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_801_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_801_chunk (
    CONSTRAINT constraint_801 CHECK (((clock >= '1618876800'::bigint) AND (clock < '1618963200'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_801_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_808_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_808_chunk (
    CONSTRAINT constraint_808 CHECK (((clock >= '1618963200'::bigint) AND (clock < '1619049600'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_808_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_812_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_812_chunk (
    CONSTRAINT constraint_812 CHECK (((clock >= '1619049600'::bigint) AND (clock < '1619136000'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_812_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_815_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_815_chunk (
    CONSTRAINT constraint_815 CHECK (((clock >= '1619136000'::bigint) AND (clock < '1619222400'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_815_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_821_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_821_chunk (
    CONSTRAINT constraint_821 CHECK (((clock >= '1619222400'::bigint) AND (clock < '1619308800'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_821_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_825_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_825_chunk (
    CONSTRAINT constraint_826 CHECK (((clock >= '1619308800'::bigint) AND (clock < '1619395200'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_825_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_831_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_831_chunk (
    CONSTRAINT constraint_831 CHECK (((clock >= '1619395200'::bigint) AND (clock < '1619481600'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_831_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_835_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_835_chunk (
    CONSTRAINT constraint_835 CHECK (((clock >= '1619481600'::bigint) AND (clock < '1619568000'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_835_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_842_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_842_chunk (
    CONSTRAINT constraint_842 CHECK (((clock >= '1619568000'::bigint) AND (clock < '1619654400'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_842_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_846_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_846_chunk (
    CONSTRAINT constraint_846 CHECK (((clock >= '1619654400'::bigint) AND (clock < '1619740800'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_846_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_851_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_851_chunk (
    CONSTRAINT constraint_851 CHECK (((clock >= '1619740800'::bigint) AND (clock < '1619827200'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_851_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_855_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_855_chunk (
    CONSTRAINT constraint_855 CHECK (((clock >= '1619827200'::bigint) AND (clock < '1619913600'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_855_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_862_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_862_chunk (
    CONSTRAINT constraint_862 CHECK (((clock >= '1619913600'::bigint) AND (clock < '1620000000'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_862_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_867_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_867_chunk (
    CONSTRAINT constraint_867 CHECK (((clock >= '1620000000'::bigint) AND (clock < '1620086400'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_867_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_874_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_874_chunk (
    CONSTRAINT constraint_874 CHECK (((clock >= '1620086400'::bigint) AND (clock < '1620172800'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_874_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_877_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_877_chunk (
    CONSTRAINT constraint_877 CHECK (((clock >= '1620172800'::bigint) AND (clock < '1620259200'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_877_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_884_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_884_chunk (
    CONSTRAINT constraint_884 CHECK (((clock >= '1620259200'::bigint) AND (clock < '1620345600'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_884_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_887_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_887_chunk (
    CONSTRAINT constraint_887 CHECK (((clock >= '1620345600'::bigint) AND (clock < '1620432000'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_887_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_894_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_894_chunk (
    CONSTRAINT constraint_894 CHECK (((clock >= '1620432000'::bigint) AND (clock < '1620518400'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_894_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_899_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_899_chunk (
    CONSTRAINT constraint_899 CHECK (((clock >= '1620518400'::bigint) AND (clock < '1620604800'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_899_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_904_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_904_chunk (
    CONSTRAINT constraint_904 CHECK (((clock >= '1620604800'::bigint) AND (clock < '1620691200'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_904_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_907_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_907_chunk (
    CONSTRAINT constraint_907 CHECK (((clock >= '1620691200'::bigint) AND (clock < '1620777600'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_907_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_914_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_914_chunk (
    CONSTRAINT constraint_914 CHECK (((clock >= '1620777600'::bigint) AND (clock < '1620864000'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_914_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_917_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_917_chunk (
    CONSTRAINT constraint_917 CHECK (((clock >= '1620864000'::bigint) AND (clock < '1620950400'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_917_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_924_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_924_chunk (
    CONSTRAINT constraint_924 CHECK (((clock >= '1620950400'::bigint) AND (clock < '1621036800'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_924_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_928_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_928_chunk (
    CONSTRAINT constraint_928 CHECK (((clock >= '1621036800'::bigint) AND (clock < '1621123200'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_928_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_933_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_933_chunk (
    CONSTRAINT constraint_933 CHECK (((clock >= '1621123200'::bigint) AND (clock < '1621209600'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_933_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_938_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_938_chunk (
    CONSTRAINT constraint_938 CHECK (((clock >= '1621209600'::bigint) AND (clock < '1621296000'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_938_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_944_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_944_chunk (
    CONSTRAINT constraint_944 CHECK (((clock >= '1621296000'::bigint) AND (clock < '1621382400'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_944_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_947_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_947_chunk (
    CONSTRAINT constraint_947 CHECK (((clock >= '1621382400'::bigint) AND (clock < '1621468800'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_947_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_954_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_954_chunk (
    CONSTRAINT constraint_954 CHECK (((clock >= '1621468800'::bigint) AND (clock < '1621555200'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_954_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_959_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_959_chunk (
    CONSTRAINT constraint_959 CHECK (((clock >= '1621555200'::bigint) AND (clock < '1621641600'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_959_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_964_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_964_chunk (
    CONSTRAINT constraint_964 CHECK (((clock >= '1621641600'::bigint) AND (clock < '1621728000'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_964_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_968_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_968_chunk (
    CONSTRAINT constraint_968 CHECK (((clock >= '1621728000'::bigint) AND (clock < '1621814400'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_968_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_973_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_973_chunk (
    CONSTRAINT constraint_973 CHECK (((clock >= '1621814400'::bigint) AND (clock < '1621900800'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_973_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_978_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_978_chunk (
    CONSTRAINT constraint_978 CHECK (((clock >= '1621900800'::bigint) AND (clock < '1621987200'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_978_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_983_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_983_chunk (
    CONSTRAINT constraint_983 CHECK (((clock >= '1621987200'::bigint) AND (clock < '1622073600'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_983_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_989_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_989_chunk (
    CONSTRAINT constraint_989 CHECK (((clock >= '1622073600'::bigint) AND (clock < '1622160000'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_989_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_993_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_993_chunk (
    CONSTRAINT constraint_993 CHECK (((clock >= '1622160000'::bigint) AND (clock < '1622246400'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_993_chunk OWNER TO zabbix;

--
-- Name: _hyper_7_998_chunk; Type: TABLE; Schema: _timescaledb_internal; Owner: zabbix
--

CREATE TABLE _timescaledb_internal._hyper_7_998_chunk (
    CONSTRAINT constraint_998 CHECK (((clock >= '1622246400'::bigint) AND (clock < '1622332800'::bigint)))
)
INHERITS (public.history_uint);


ALTER TABLE _timescaledb_internal._hyper_7_998_chunk OWNER TO zabbix;

--
-- Name: acknowledges; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.acknowledges (
    acknowledgeid numeric NOT NULL,
    userid numeric NOT NULL,
    eventid numeric NOT NULL,
    clock bigint DEFAULT '0'::bigint NOT NULL,
    message character varying(2048) DEFAULT ''::character varying NOT NULL,
    action bigint DEFAULT '0'::bigint NOT NULL,
    old_severity bigint DEFAULT '0'::bigint NOT NULL,
    new_severity bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.acknowledges OWNER TO zabbix;

--
-- Name: actions; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.actions (
    actionid numeric NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    eventsource bigint DEFAULT '0'::bigint NOT NULL,
    evaltype bigint DEFAULT '0'::bigint NOT NULL,
    status bigint DEFAULT '0'::bigint NOT NULL,
    esc_period character varying(255) DEFAULT '1h'::character varying NOT NULL,
    formula character varying(255) DEFAULT ''::character varying NOT NULL,
    pause_suppressed bigint DEFAULT '1'::bigint NOT NULL
);


ALTER TABLE public.actions OWNER TO zabbix;

--
-- Name: alerts; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.alerts (
    alertid numeric NOT NULL,
    actionid numeric NOT NULL,
    eventid numeric NOT NULL,
    userid numeric,
    clock bigint DEFAULT '0'::bigint NOT NULL,
    mediatypeid numeric,
    sendto character varying(1024) DEFAULT ''::character varying NOT NULL,
    subject character varying(255) DEFAULT ''::character varying NOT NULL,
    message text NOT NULL,
    status bigint DEFAULT '0'::bigint NOT NULL,
    retries bigint DEFAULT '0'::bigint NOT NULL,
    error character varying(2048) DEFAULT ''::character varying NOT NULL,
    esc_step bigint DEFAULT '0'::bigint NOT NULL,
    alerttype bigint DEFAULT '0'::bigint NOT NULL,
    p_eventid numeric,
    acknowledgeid numeric,
    parameters text DEFAULT '{}'::text NOT NULL
);


ALTER TABLE public.alerts OWNER TO zabbix;

--
-- Name: application_discovery; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.application_discovery (
    application_discoveryid numeric NOT NULL,
    applicationid numeric NOT NULL,
    application_prototypeid numeric NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    lastcheck bigint DEFAULT '0'::bigint NOT NULL,
    ts_delete bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.application_discovery OWNER TO zabbix;

--
-- Name: application_prototype; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.application_prototype (
    application_prototypeid numeric NOT NULL,
    itemid numeric NOT NULL,
    templateid numeric,
    name character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.application_prototype OWNER TO zabbix;

--
-- Name: application_template; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.application_template (
    application_templateid numeric NOT NULL,
    applicationid numeric NOT NULL,
    templateid numeric NOT NULL
);


ALTER TABLE public.application_template OWNER TO zabbix;

--
-- Name: applications; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.applications (
    applicationid numeric NOT NULL,
    hostid numeric NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    flags bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.applications OWNER TO zabbix;

--
-- Name: auditlog; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.auditlog (
    auditid numeric NOT NULL,
    userid numeric NOT NULL,
    clock bigint DEFAULT '0'::bigint NOT NULL,
    action bigint DEFAULT '0'::bigint NOT NULL,
    resourcetype bigint DEFAULT '0'::bigint NOT NULL,
    note character varying(128) DEFAULT ''::character varying NOT NULL,
    ip character varying(39) DEFAULT ''::character varying NOT NULL,
    resourceid numeric,
    resourcename character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.auditlog OWNER TO zabbix;

--
-- Name: auditlog_details; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.auditlog_details (
    auditdetailid numeric NOT NULL,
    auditid numeric NOT NULL,
    table_name character varying(64) DEFAULT ''::character varying NOT NULL,
    field_name character varying(64) DEFAULT ''::character varying NOT NULL,
    oldvalue text NOT NULL,
    newvalue text NOT NULL
);


ALTER TABLE public.auditlog_details OWNER TO zabbix;

--
-- Name: autoreg_host; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.autoreg_host (
    autoreg_hostid numeric NOT NULL,
    proxy_hostid numeric,
    host character varying(128) DEFAULT ''::character varying NOT NULL,
    listen_ip character varying(39) DEFAULT ''::character varying NOT NULL,
    listen_port bigint DEFAULT '0'::bigint NOT NULL,
    listen_dns character varying(255) DEFAULT ''::character varying NOT NULL,
    host_metadata character varying(255) DEFAULT ''::character varying NOT NULL,
    flags bigint DEFAULT '0'::bigint NOT NULL,
    tls_accepted bigint DEFAULT '1'::bigint NOT NULL
);


ALTER TABLE public.autoreg_host OWNER TO zabbix;

--
-- Name: conditions; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.conditions (
    conditionid numeric NOT NULL,
    actionid numeric NOT NULL,
    conditiontype bigint DEFAULT '0'::bigint NOT NULL,
    operator bigint DEFAULT '0'::bigint NOT NULL,
    value character varying(255) DEFAULT ''::character varying NOT NULL,
    value2 character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.conditions OWNER TO zabbix;

--
-- Name: config; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.config (
    configid numeric NOT NULL,
    work_period character varying(255) DEFAULT '1-5,09:00-18:00'::character varying NOT NULL,
    alert_usrgrpid numeric,
    default_theme character varying(128) DEFAULT 'blue-theme'::character varying NOT NULL,
    authentication_type bigint DEFAULT '0'::bigint NOT NULL,
    ldap_host character varying(255) DEFAULT ''::character varying NOT NULL,
    ldap_port bigint DEFAULT '389'::bigint NOT NULL,
    ldap_base_dn character varying(255) DEFAULT ''::character varying NOT NULL,
    ldap_bind_dn character varying(255) DEFAULT ''::character varying NOT NULL,
    ldap_bind_password character varying(128) DEFAULT ''::character varying NOT NULL,
    ldap_search_attribute character varying(128) DEFAULT ''::character varying NOT NULL,
    discovery_groupid numeric NOT NULL,
    max_in_table bigint DEFAULT '50'::bigint NOT NULL,
    search_limit bigint DEFAULT '1000'::bigint NOT NULL,
    severity_color_0 character varying(6) DEFAULT '97AAB3'::character varying NOT NULL,
    severity_color_1 character varying(6) DEFAULT '7499FF'::character varying NOT NULL,
    severity_color_2 character varying(6) DEFAULT 'FFC859'::character varying NOT NULL,
    severity_color_3 character varying(6) DEFAULT 'FFA059'::character varying NOT NULL,
    severity_color_4 character varying(6) DEFAULT 'E97659'::character varying NOT NULL,
    severity_color_5 character varying(6) DEFAULT 'E45959'::character varying NOT NULL,
    severity_name_0 character varying(32) DEFAULT 'Not classified'::character varying NOT NULL,
    severity_name_1 character varying(32) DEFAULT 'Information'::character varying NOT NULL,
    severity_name_2 character varying(32) DEFAULT 'Warning'::character varying NOT NULL,
    severity_name_3 character varying(32) DEFAULT 'Average'::character varying NOT NULL,
    severity_name_4 character varying(32) DEFAULT 'High'::character varying NOT NULL,
    severity_name_5 character varying(32) DEFAULT 'Disaster'::character varying NOT NULL,
    ok_period character varying(32) DEFAULT '5m'::character varying NOT NULL,
    blink_period character varying(32) DEFAULT '2m'::character varying NOT NULL,
    problem_unack_color character varying(6) DEFAULT 'CC0000'::character varying NOT NULL,
    problem_ack_color character varying(6) DEFAULT 'CC0000'::character varying NOT NULL,
    ok_unack_color character varying(6) DEFAULT '009900'::character varying NOT NULL,
    ok_ack_color character varying(6) DEFAULT '009900'::character varying NOT NULL,
    problem_unack_style bigint DEFAULT '1'::bigint NOT NULL,
    problem_ack_style bigint DEFAULT '1'::bigint NOT NULL,
    ok_unack_style bigint DEFAULT '1'::bigint NOT NULL,
    ok_ack_style bigint DEFAULT '1'::bigint NOT NULL,
    snmptrap_logging bigint DEFAULT '1'::bigint NOT NULL,
    server_check_interval bigint DEFAULT '10'::bigint NOT NULL,
    hk_events_mode bigint DEFAULT '1'::bigint NOT NULL,
    hk_events_trigger character varying(32) DEFAULT '365d'::character varying NOT NULL,
    hk_events_internal character varying(32) DEFAULT '1d'::character varying NOT NULL,
    hk_events_discovery character varying(32) DEFAULT '1d'::character varying NOT NULL,
    hk_events_autoreg character varying(32) DEFAULT '1d'::character varying NOT NULL,
    hk_services_mode bigint DEFAULT '1'::bigint NOT NULL,
    hk_services character varying(32) DEFAULT '365d'::character varying NOT NULL,
    hk_audit_mode bigint DEFAULT '1'::bigint NOT NULL,
    hk_audit character varying(32) DEFAULT '365d'::character varying NOT NULL,
    hk_sessions_mode bigint DEFAULT '1'::bigint NOT NULL,
    hk_sessions character varying(32) DEFAULT '365d'::character varying NOT NULL,
    hk_history_mode bigint DEFAULT '1'::bigint NOT NULL,
    hk_history_global bigint DEFAULT '0'::bigint NOT NULL,
    hk_history character varying(32) DEFAULT '90d'::character varying NOT NULL,
    hk_trends_mode bigint DEFAULT '1'::bigint NOT NULL,
    hk_trends_global bigint DEFAULT '0'::bigint NOT NULL,
    hk_trends character varying(32) DEFAULT '365d'::character varying NOT NULL,
    default_inventory_mode bigint DEFAULT '-1'::bigint NOT NULL,
    custom_color bigint DEFAULT '0'::bigint NOT NULL,
    http_auth_enabled bigint DEFAULT '0'::bigint NOT NULL,
    http_login_form bigint DEFAULT '0'::bigint NOT NULL,
    http_strip_domains character varying(2048) DEFAULT ''::character varying NOT NULL,
    http_case_sensitive bigint DEFAULT '1'::bigint NOT NULL,
    ldap_configured bigint DEFAULT '0'::bigint NOT NULL,
    ldap_case_sensitive bigint DEFAULT '1'::bigint NOT NULL,
    db_extension character varying(32) DEFAULT ''::character varying NOT NULL,
    autoreg_tls_accept bigint DEFAULT '1'::bigint NOT NULL,
    compression_status bigint DEFAULT '0'::bigint NOT NULL,
    compression_availability bigint DEFAULT '0'::bigint NOT NULL,
    compress_older character varying(32) DEFAULT '7d'::character varying NOT NULL,
    instanceid character varying(32) DEFAULT ''::character varying NOT NULL,
    saml_auth_enabled bigint DEFAULT '0'::bigint NOT NULL,
    saml_idp_entityid character varying(1024) DEFAULT ''::character varying NOT NULL,
    saml_sso_url character varying(2048) DEFAULT ''::character varying NOT NULL,
    saml_slo_url character varying(2048) DEFAULT ''::character varying NOT NULL,
    saml_username_attribute character varying(128) DEFAULT ''::character varying NOT NULL,
    saml_sp_entityid character varying(1024) DEFAULT ''::character varying NOT NULL,
    saml_nameid_format character varying(2048) DEFAULT ''::character varying NOT NULL,
    saml_sign_messages bigint DEFAULT '0'::bigint NOT NULL,
    saml_sign_assertions bigint DEFAULT '0'::bigint NOT NULL,
    saml_sign_authn_requests bigint DEFAULT '0'::bigint NOT NULL,
    saml_sign_logout_requests bigint DEFAULT '0'::bigint NOT NULL,
    saml_sign_logout_responses bigint DEFAULT '0'::bigint NOT NULL,
    saml_encrypt_nameid bigint DEFAULT '0'::bigint NOT NULL,
    saml_encrypt_assertions bigint DEFAULT '0'::bigint NOT NULL,
    saml_case_sensitive bigint DEFAULT '0'::bigint NOT NULL,
    default_lang character varying(5) DEFAULT 'en_GB'::character varying NOT NULL,
    default_timezone character varying(50) DEFAULT 'system'::character varying NOT NULL,
    login_attempts integer DEFAULT 5 NOT NULL,
    login_block character varying(32) DEFAULT '30s'::character varying NOT NULL,
    show_technical_errors integer DEFAULT 0 NOT NULL,
    validate_uri_schemes integer DEFAULT 1 NOT NULL,
    uri_valid_schemes character varying(255) DEFAULT 'http,https,ftp,file,mailto,tel,ssh'::character varying NOT NULL,
    x_frame_options character varying(255) DEFAULT 'SAMEORIGIN'::character varying NOT NULL,
    iframe_sandboxing_enabled integer DEFAULT 1 NOT NULL,
    iframe_sandboxing_exceptions character varying(255) DEFAULT ''::character varying NOT NULL,
    max_overview_table_size integer DEFAULT 50 NOT NULL,
    history_period character varying(32) DEFAULT '24h'::character varying NOT NULL,
    period_default character varying(32) DEFAULT '1h'::character varying NOT NULL,
    max_period character varying(32) DEFAULT '2y'::character varying NOT NULL,
    socket_timeout character varying(32) DEFAULT '3s'::character varying NOT NULL,
    connect_timeout character varying(32) DEFAULT '3s'::character varying NOT NULL,
    media_type_test_timeout character varying(32) DEFAULT '65s'::character varying NOT NULL,
    script_timeout character varying(32) DEFAULT '60s'::character varying NOT NULL,
    item_test_timeout character varying(32) DEFAULT '60s'::character varying NOT NULL,
    session_key character varying(32) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.config OWNER TO zabbix;

--
-- Name: config_autoreg_tls; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.config_autoreg_tls (
    autoreg_tlsid numeric NOT NULL,
    tls_psk_identity character varying(128) DEFAULT ''::character varying NOT NULL,
    tls_psk character varying(512) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.config_autoreg_tls OWNER TO zabbix;

--
-- Name: corr_condition; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.corr_condition (
    corr_conditionid numeric NOT NULL,
    correlationid numeric NOT NULL,
    type bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.corr_condition OWNER TO zabbix;

--
-- Name: corr_condition_group; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.corr_condition_group (
    corr_conditionid numeric NOT NULL,
    operator bigint DEFAULT '0'::bigint NOT NULL,
    groupid numeric NOT NULL
);


ALTER TABLE public.corr_condition_group OWNER TO zabbix;

--
-- Name: corr_condition_tag; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.corr_condition_tag (
    corr_conditionid numeric NOT NULL,
    tag character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.corr_condition_tag OWNER TO zabbix;

--
-- Name: corr_condition_tagpair; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.corr_condition_tagpair (
    corr_conditionid numeric NOT NULL,
    oldtag character varying(255) DEFAULT ''::character varying NOT NULL,
    newtag character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.corr_condition_tagpair OWNER TO zabbix;

--
-- Name: corr_condition_tagvalue; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.corr_condition_tagvalue (
    corr_conditionid numeric NOT NULL,
    tag character varying(255) DEFAULT ''::character varying NOT NULL,
    operator bigint DEFAULT '0'::bigint NOT NULL,
    value character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.corr_condition_tagvalue OWNER TO zabbix;

--
-- Name: corr_operation; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.corr_operation (
    corr_operationid numeric NOT NULL,
    correlationid numeric NOT NULL,
    type bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.corr_operation OWNER TO zabbix;

--
-- Name: correlation; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.correlation (
    correlationid numeric NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    description text NOT NULL,
    evaltype bigint DEFAULT '0'::bigint NOT NULL,
    status bigint DEFAULT '0'::bigint NOT NULL,
    formula character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.correlation OWNER TO zabbix;

--
-- Name: dashboard; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.dashboard (
    dashboardid numeric NOT NULL,
    name character varying(255) NOT NULL,
    userid numeric,
    private bigint DEFAULT '1'::bigint NOT NULL,
    templateid bigint
);


ALTER TABLE public.dashboard OWNER TO zabbix;

--
-- Name: dashboard_user; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.dashboard_user (
    dashboard_userid numeric NOT NULL,
    dashboardid numeric NOT NULL,
    userid numeric NOT NULL,
    permission bigint DEFAULT '2'::bigint NOT NULL
);


ALTER TABLE public.dashboard_user OWNER TO zabbix;

--
-- Name: dashboard_usrgrp; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.dashboard_usrgrp (
    dashboard_usrgrpid numeric NOT NULL,
    dashboardid numeric NOT NULL,
    usrgrpid numeric NOT NULL,
    permission bigint DEFAULT '2'::bigint NOT NULL
);


ALTER TABLE public.dashboard_usrgrp OWNER TO zabbix;

--
-- Name: dbversion; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.dbversion (
    mandatory bigint DEFAULT '0'::bigint NOT NULL,
    optional bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.dbversion OWNER TO zabbix;

--
-- Name: dchecks; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.dchecks (
    dcheckid numeric NOT NULL,
    druleid numeric NOT NULL,
    type bigint DEFAULT '0'::bigint NOT NULL,
    key_ character varying(2048) DEFAULT ''::character varying NOT NULL,
    snmp_community character varying(255) DEFAULT ''::character varying NOT NULL,
    ports character varying(255) DEFAULT '0'::character varying NOT NULL,
    snmpv3_securityname character varying(64) DEFAULT ''::character varying NOT NULL,
    snmpv3_securitylevel bigint DEFAULT '0'::bigint NOT NULL,
    snmpv3_authpassphrase character varying(64) DEFAULT ''::character varying NOT NULL,
    snmpv3_privpassphrase character varying(64) DEFAULT ''::character varying NOT NULL,
    uniq bigint DEFAULT '0'::bigint NOT NULL,
    snmpv3_authprotocol bigint DEFAULT '0'::bigint NOT NULL,
    snmpv3_privprotocol bigint DEFAULT '0'::bigint NOT NULL,
    snmpv3_contextname character varying(255) DEFAULT ''::character varying NOT NULL,
    host_source bigint DEFAULT '1'::bigint NOT NULL,
    name_source bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.dchecks OWNER TO zabbix;

--
-- Name: dhosts; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.dhosts (
    dhostid numeric NOT NULL,
    druleid numeric NOT NULL,
    status bigint DEFAULT '0'::bigint NOT NULL,
    lastup bigint DEFAULT '0'::bigint NOT NULL,
    lastdown bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.dhosts OWNER TO zabbix;

--
-- Name: drules; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.drules (
    druleid numeric NOT NULL,
    proxy_hostid numeric,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    iprange character varying(2048) DEFAULT ''::character varying NOT NULL,
    delay character varying(255) DEFAULT '1h'::character varying NOT NULL,
    nextcheck bigint DEFAULT '0'::bigint NOT NULL,
    status bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.drules OWNER TO zabbix;

--
-- Name: dservices; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.dservices (
    dserviceid numeric NOT NULL,
    dhostid numeric NOT NULL,
    value character varying(255) DEFAULT ''::character varying NOT NULL,
    port bigint DEFAULT '0'::bigint NOT NULL,
    status bigint DEFAULT '0'::bigint NOT NULL,
    lastup bigint DEFAULT '0'::bigint NOT NULL,
    lastdown bigint DEFAULT '0'::bigint NOT NULL,
    dcheckid numeric NOT NULL,
    ip character varying(39) DEFAULT ''::character varying NOT NULL,
    dns character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.dservices OWNER TO zabbix;

--
-- Name: escalations; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.escalations (
    escalationid numeric NOT NULL,
    actionid numeric NOT NULL,
    triggerid numeric,
    eventid numeric,
    r_eventid numeric,
    nextcheck bigint DEFAULT '0'::bigint NOT NULL,
    esc_step bigint DEFAULT '0'::bigint NOT NULL,
    status bigint DEFAULT '0'::bigint NOT NULL,
    itemid numeric,
    acknowledgeid numeric
);


ALTER TABLE public.escalations OWNER TO zabbix;

--
-- Name: event_recovery; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.event_recovery (
    eventid numeric NOT NULL,
    r_eventid numeric NOT NULL,
    c_eventid numeric,
    correlationid numeric,
    userid numeric
);


ALTER TABLE public.event_recovery OWNER TO zabbix;

--
-- Name: event_suppress; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.event_suppress (
    event_suppressid numeric NOT NULL,
    eventid numeric NOT NULL,
    maintenanceid numeric,
    suppress_until bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.event_suppress OWNER TO zabbix;

--
-- Name: event_tag; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.event_tag (
    eventtagid numeric NOT NULL,
    eventid numeric NOT NULL,
    tag character varying(255) DEFAULT ''::character varying NOT NULL,
    value character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.event_tag OWNER TO zabbix;

--
-- Name: events; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.events (
    eventid numeric NOT NULL,
    source bigint DEFAULT '0'::bigint NOT NULL,
    object bigint DEFAULT '0'::bigint NOT NULL,
    objectid numeric DEFAULT '0'::numeric NOT NULL,
    clock bigint DEFAULT '0'::bigint NOT NULL,
    value bigint DEFAULT '0'::bigint NOT NULL,
    acknowledged bigint DEFAULT '0'::bigint NOT NULL,
    ns bigint DEFAULT '0'::bigint NOT NULL,
    name character varying(2048) DEFAULT ''::character varying NOT NULL,
    severity bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.events OWNER TO zabbix;

--
-- Name: expressions; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.expressions (
    expressionid numeric NOT NULL,
    regexpid numeric NOT NULL,
    expression character varying(255) DEFAULT ''::character varying NOT NULL,
    expression_type bigint DEFAULT '0'::bigint NOT NULL,
    exp_delimiter character varying(1) DEFAULT ''::character varying NOT NULL,
    case_sensitive bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.expressions OWNER TO zabbix;

--
-- Name: functions; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.functions (
    functionid numeric NOT NULL,
    itemid numeric NOT NULL,
    triggerid numeric NOT NULL,
    name character varying(12) DEFAULT ''::character varying NOT NULL,
    parameter character varying(255) DEFAULT '0'::character varying NOT NULL
);


ALTER TABLE public.functions OWNER TO zabbix;

--
-- Name: globalmacro; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.globalmacro (
    globalmacroid numeric NOT NULL,
    macro character varying(255) DEFAULT ''::character varying NOT NULL,
    value character varying(2048) DEFAULT ''::character varying NOT NULL,
    description text NOT NULL,
    type bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.globalmacro OWNER TO zabbix;

--
-- Name: globalvars; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.globalvars (
    globalvarid numeric NOT NULL,
    snmp_lastsize numeric DEFAULT '0'::numeric NOT NULL
);


ALTER TABLE public.globalvars OWNER TO zabbix;

--
-- Name: graph_discovery; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.graph_discovery (
    graphid numeric NOT NULL,
    parent_graphid numeric NOT NULL,
    lastcheck bigint DEFAULT '0'::bigint NOT NULL,
    ts_delete bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.graph_discovery OWNER TO zabbix;

--
-- Name: graph_theme; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.graph_theme (
    graphthemeid numeric NOT NULL,
    theme character varying(64) DEFAULT ''::character varying NOT NULL,
    backgroundcolor character varying(6) DEFAULT ''::character varying NOT NULL,
    graphcolor character varying(6) DEFAULT ''::character varying NOT NULL,
    gridcolor character varying(6) DEFAULT ''::character varying NOT NULL,
    maingridcolor character varying(6) DEFAULT ''::character varying NOT NULL,
    gridbordercolor character varying(6) DEFAULT ''::character varying NOT NULL,
    textcolor character varying(6) DEFAULT ''::character varying NOT NULL,
    highlightcolor character varying(6) DEFAULT ''::character varying NOT NULL,
    leftpercentilecolor character varying(6) DEFAULT ''::character varying NOT NULL,
    rightpercentilecolor character varying(6) DEFAULT ''::character varying NOT NULL,
    nonworktimecolor character varying(6) DEFAULT ''::character varying NOT NULL,
    colorpalette character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.graph_theme OWNER TO zabbix;

--
-- Name: graphs; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.graphs (
    graphid numeric NOT NULL,
    name character varying(128) DEFAULT ''::character varying NOT NULL,
    width bigint DEFAULT '900'::bigint NOT NULL,
    height bigint DEFAULT '200'::bigint NOT NULL,
    yaxismin double precision DEFAULT '0'::double precision NOT NULL,
    yaxismax double precision DEFAULT '100'::double precision NOT NULL,
    templateid numeric,
    show_work_period bigint DEFAULT '1'::bigint NOT NULL,
    show_triggers bigint DEFAULT '1'::bigint NOT NULL,
    graphtype bigint DEFAULT '0'::bigint NOT NULL,
    show_legend bigint DEFAULT '1'::bigint NOT NULL,
    show_3d bigint DEFAULT '0'::bigint NOT NULL,
    percent_left double precision DEFAULT '0'::double precision NOT NULL,
    percent_right double precision DEFAULT '0'::double precision NOT NULL,
    ymin_type bigint DEFAULT '0'::bigint NOT NULL,
    ymax_type bigint DEFAULT '0'::bigint NOT NULL,
    ymin_itemid numeric,
    ymax_itemid numeric,
    flags bigint DEFAULT '0'::bigint NOT NULL,
    discover bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.graphs OWNER TO zabbix;

--
-- Name: graphs_items; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.graphs_items (
    gitemid numeric NOT NULL,
    graphid numeric NOT NULL,
    itemid numeric NOT NULL,
    drawtype bigint DEFAULT '0'::bigint NOT NULL,
    sortorder bigint DEFAULT '0'::bigint NOT NULL,
    color character varying(6) DEFAULT '009600'::character varying NOT NULL,
    yaxisside bigint DEFAULT '0'::bigint NOT NULL,
    calc_fnc bigint DEFAULT '2'::bigint NOT NULL,
    type bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.graphs_items OWNER TO zabbix;

--
-- Name: group_discovery; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.group_discovery (
    groupid numeric NOT NULL,
    parent_group_prototypeid numeric NOT NULL,
    name character varying(64) DEFAULT ''::character varying NOT NULL,
    lastcheck bigint DEFAULT '0'::bigint NOT NULL,
    ts_delete bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.group_discovery OWNER TO zabbix;

--
-- Name: group_prototype; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.group_prototype (
    group_prototypeid numeric NOT NULL,
    hostid numeric NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    groupid numeric,
    templateid numeric
);


ALTER TABLE public.group_prototype OWNER TO zabbix;

--
-- Name: host_discovery; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.host_discovery (
    hostid numeric NOT NULL,
    parent_hostid numeric,
    parent_itemid numeric,
    host character varying(128) DEFAULT ''::character varying NOT NULL,
    lastcheck bigint DEFAULT '0'::bigint NOT NULL,
    ts_delete bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.host_discovery OWNER TO zabbix;

--
-- Name: host_inventory; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.host_inventory (
    hostid numeric NOT NULL,
    inventory_mode bigint DEFAULT '0'::bigint NOT NULL,
    type character varying(64) DEFAULT ''::character varying NOT NULL,
    type_full character varying(64) DEFAULT ''::character varying NOT NULL,
    name character varying(128) DEFAULT ''::character varying NOT NULL,
    alias character varying(128) DEFAULT ''::character varying NOT NULL,
    os character varying(128) DEFAULT ''::character varying NOT NULL,
    os_full character varying(255) DEFAULT ''::character varying NOT NULL,
    os_short character varying(128) DEFAULT ''::character varying NOT NULL,
    serialno_a character varying(64) DEFAULT ''::character varying NOT NULL,
    serialno_b character varying(64) DEFAULT ''::character varying NOT NULL,
    tag character varying(64) DEFAULT ''::character varying NOT NULL,
    asset_tag character varying(64) DEFAULT ''::character varying NOT NULL,
    macaddress_a character varying(64) DEFAULT ''::character varying NOT NULL,
    macaddress_b character varying(64) DEFAULT ''::character varying NOT NULL,
    hardware character varying(255) DEFAULT ''::character varying NOT NULL,
    hardware_full text NOT NULL,
    software character varying(255) DEFAULT ''::character varying NOT NULL,
    software_full text NOT NULL,
    software_app_a character varying(64) DEFAULT ''::character varying NOT NULL,
    software_app_b character varying(64) DEFAULT ''::character varying NOT NULL,
    software_app_c character varying(64) DEFAULT ''::character varying NOT NULL,
    software_app_d character varying(64) DEFAULT ''::character varying NOT NULL,
    software_app_e character varying(64) DEFAULT ''::character varying NOT NULL,
    contact text NOT NULL,
    location text NOT NULL,
    location_lat character varying(16) DEFAULT ''::character varying NOT NULL,
    location_lon character varying(16) DEFAULT ''::character varying NOT NULL,
    notes text NOT NULL,
    chassis character varying(64) DEFAULT ''::character varying NOT NULL,
    model character varying(64) DEFAULT ''::character varying NOT NULL,
    hw_arch character varying(32) DEFAULT ''::character varying NOT NULL,
    vendor character varying(64) DEFAULT ''::character varying NOT NULL,
    contract_number character varying(64) DEFAULT ''::character varying NOT NULL,
    installer_name character varying(64) DEFAULT ''::character varying NOT NULL,
    deployment_status character varying(64) DEFAULT ''::character varying NOT NULL,
    url_a character varying(255) DEFAULT ''::character varying NOT NULL,
    url_b character varying(255) DEFAULT ''::character varying NOT NULL,
    url_c character varying(255) DEFAULT ''::character varying NOT NULL,
    host_networks text NOT NULL,
    host_netmask character varying(39) DEFAULT ''::character varying NOT NULL,
    host_router character varying(39) DEFAULT ''::character varying NOT NULL,
    oob_ip character varying(39) DEFAULT ''::character varying NOT NULL,
    oob_netmask character varying(39) DEFAULT ''::character varying NOT NULL,
    oob_router character varying(39) DEFAULT ''::character varying NOT NULL,
    date_hw_purchase character varying(64) DEFAULT ''::character varying NOT NULL,
    date_hw_install character varying(64) DEFAULT ''::character varying NOT NULL,
    date_hw_expiry character varying(64) DEFAULT ''::character varying NOT NULL,
    date_hw_decomm character varying(64) DEFAULT ''::character varying NOT NULL,
    site_address_a character varying(128) DEFAULT ''::character varying NOT NULL,
    site_address_b character varying(128) DEFAULT ''::character varying NOT NULL,
    site_address_c character varying(128) DEFAULT ''::character varying NOT NULL,
    site_city character varying(128) DEFAULT ''::character varying NOT NULL,
    site_state character varying(64) DEFAULT ''::character varying NOT NULL,
    site_country character varying(64) DEFAULT ''::character varying NOT NULL,
    site_zip character varying(64) DEFAULT ''::character varying NOT NULL,
    site_rack character varying(128) DEFAULT ''::character varying NOT NULL,
    site_notes text NOT NULL,
    poc_1_name character varying(128) DEFAULT ''::character varying NOT NULL,
    poc_1_email character varying(128) DEFAULT ''::character varying NOT NULL,
    poc_1_phone_a character varying(64) DEFAULT ''::character varying NOT NULL,
    poc_1_phone_b character varying(64) DEFAULT ''::character varying NOT NULL,
    poc_1_cell character varying(64) DEFAULT ''::character varying NOT NULL,
    poc_1_screen character varying(64) DEFAULT ''::character varying NOT NULL,
    poc_1_notes text NOT NULL,
    poc_2_name character varying(128) DEFAULT ''::character varying NOT NULL,
    poc_2_email character varying(128) DEFAULT ''::character varying NOT NULL,
    poc_2_phone_a character varying(64) DEFAULT ''::character varying NOT NULL,
    poc_2_phone_b character varying(64) DEFAULT ''::character varying NOT NULL,
    poc_2_cell character varying(64) DEFAULT ''::character varying NOT NULL,
    poc_2_screen character varying(64) DEFAULT ''::character varying NOT NULL,
    poc_2_notes text NOT NULL
);


ALTER TABLE public.host_inventory OWNER TO zabbix;

--
-- Name: host_tag; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.host_tag (
    hosttagid numeric NOT NULL,
    hostid numeric NOT NULL,
    tag character varying(255) DEFAULT ''::character varying NOT NULL,
    value character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.host_tag OWNER TO zabbix;

--
-- Name: hostmacro; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.hostmacro (
    hostmacroid numeric NOT NULL,
    hostid numeric NOT NULL,
    macro character varying(255) DEFAULT ''::character varying NOT NULL,
    value character varying(2048) DEFAULT ''::character varying NOT NULL,
    description text NOT NULL,
    type bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.hostmacro OWNER TO zabbix;

--
-- Name: hosts; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.hosts (
    hostid numeric NOT NULL,
    proxy_hostid numeric,
    host character varying(128) DEFAULT ''::character varying NOT NULL,
    status bigint DEFAULT '0'::bigint NOT NULL,
    disable_until bigint DEFAULT '0'::bigint NOT NULL,
    error character varying(2048) DEFAULT ''::character varying NOT NULL,
    available bigint DEFAULT '0'::bigint NOT NULL,
    errors_from bigint DEFAULT '0'::bigint NOT NULL,
    lastaccess bigint DEFAULT '0'::bigint NOT NULL,
    ipmi_authtype bigint DEFAULT '-1'::bigint NOT NULL,
    ipmi_privilege bigint DEFAULT '2'::bigint NOT NULL,
    ipmi_username character varying(16) DEFAULT ''::character varying NOT NULL,
    ipmi_password character varying(20) DEFAULT ''::character varying NOT NULL,
    ipmi_disable_until bigint DEFAULT '0'::bigint NOT NULL,
    ipmi_available bigint DEFAULT '0'::bigint NOT NULL,
    snmp_disable_until bigint DEFAULT '0'::bigint NOT NULL,
    snmp_available bigint DEFAULT '0'::bigint NOT NULL,
    maintenanceid numeric,
    maintenance_status bigint DEFAULT '0'::bigint NOT NULL,
    maintenance_type bigint DEFAULT '0'::bigint NOT NULL,
    maintenance_from bigint DEFAULT '0'::bigint NOT NULL,
    ipmi_errors_from bigint DEFAULT '0'::bigint NOT NULL,
    snmp_errors_from bigint DEFAULT '0'::bigint NOT NULL,
    ipmi_error character varying(2048) DEFAULT ''::character varying NOT NULL,
    snmp_error character varying(2048) DEFAULT ''::character varying NOT NULL,
    jmx_disable_until bigint DEFAULT '0'::bigint NOT NULL,
    jmx_available bigint DEFAULT '0'::bigint NOT NULL,
    jmx_errors_from bigint DEFAULT '0'::bigint NOT NULL,
    jmx_error character varying(2048) DEFAULT ''::character varying NOT NULL,
    name character varying(128) DEFAULT ''::character varying NOT NULL,
    flags bigint DEFAULT '0'::bigint NOT NULL,
    templateid numeric,
    description text NOT NULL,
    tls_connect bigint DEFAULT '1'::bigint NOT NULL,
    tls_accept bigint DEFAULT '1'::bigint NOT NULL,
    tls_issuer character varying(1024) DEFAULT ''::character varying NOT NULL,
    tls_subject character varying(1024) DEFAULT ''::character varying NOT NULL,
    tls_psk_identity character varying(128) DEFAULT ''::character varying NOT NULL,
    tls_psk character varying(512) DEFAULT ''::character varying NOT NULL,
    proxy_address character varying(255) DEFAULT ''::character varying NOT NULL,
    auto_compress bigint DEFAULT '1'::bigint NOT NULL,
    discover bigint DEFAULT '0'::bigint NOT NULL,
    custom_interfaces integer DEFAULT 0 NOT NULL
);


ALTER TABLE public.hosts OWNER TO zabbix;

--
-- Name: hosts_groups; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.hosts_groups (
    hostgroupid numeric NOT NULL,
    hostid numeric NOT NULL,
    groupid numeric NOT NULL
);


ALTER TABLE public.hosts_groups OWNER TO zabbix;

--
-- Name: hosts_templates; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.hosts_templates (
    hosttemplateid numeric NOT NULL,
    hostid numeric NOT NULL,
    templateid numeric NOT NULL
);


ALTER TABLE public.hosts_templates OWNER TO zabbix;

--
-- Name: housekeeper; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.housekeeper (
    housekeeperid numeric NOT NULL,
    tablename character varying(64) DEFAULT ''::character varying NOT NULL,
    field character varying(64) DEFAULT ''::character varying NOT NULL,
    value numeric NOT NULL
);


ALTER TABLE public.housekeeper OWNER TO zabbix;

--
-- Name: hstgrp; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.hstgrp (
    groupid numeric NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    internal bigint DEFAULT '0'::bigint NOT NULL,
    flags bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.hstgrp OWNER TO zabbix;

--
-- Name: httpstep; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.httpstep (
    httpstepid numeric NOT NULL,
    httptestid numeric NOT NULL,
    name character varying(64) DEFAULT ''::character varying NOT NULL,
    no bigint DEFAULT '0'::bigint NOT NULL,
    url character varying(2048) DEFAULT ''::character varying NOT NULL,
    timeout character varying(255) DEFAULT '15s'::character varying NOT NULL,
    posts text NOT NULL,
    required character varying(255) DEFAULT ''::character varying NOT NULL,
    status_codes character varying(255) DEFAULT ''::character varying NOT NULL,
    follow_redirects bigint DEFAULT '1'::bigint NOT NULL,
    retrieve_mode bigint DEFAULT '0'::bigint NOT NULL,
    post_type bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.httpstep OWNER TO zabbix;

--
-- Name: httpstep_field; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.httpstep_field (
    httpstep_fieldid numeric NOT NULL,
    httpstepid numeric NOT NULL,
    type bigint DEFAULT '0'::bigint NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    value text NOT NULL
);


ALTER TABLE public.httpstep_field OWNER TO zabbix;

--
-- Name: httpstepitem; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.httpstepitem (
    httpstepitemid numeric NOT NULL,
    httpstepid numeric NOT NULL,
    itemid numeric NOT NULL,
    type bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.httpstepitem OWNER TO zabbix;

--
-- Name: httptest; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.httptest (
    httptestid numeric NOT NULL,
    name character varying(64) DEFAULT ''::character varying NOT NULL,
    applicationid numeric,
    nextcheck bigint DEFAULT '0'::bigint NOT NULL,
    delay character varying(255) DEFAULT '1m'::character varying NOT NULL,
    status bigint DEFAULT '0'::bigint NOT NULL,
    agent character varying(255) DEFAULT 'Zabbix'::character varying NOT NULL,
    authentication bigint DEFAULT '0'::bigint NOT NULL,
    http_user character varying(64) DEFAULT ''::character varying NOT NULL,
    http_password character varying(64) DEFAULT ''::character varying NOT NULL,
    hostid numeric NOT NULL,
    templateid numeric,
    http_proxy character varying(255) DEFAULT ''::character varying NOT NULL,
    retries bigint DEFAULT '1'::bigint NOT NULL,
    ssl_cert_file character varying(255) DEFAULT ''::character varying NOT NULL,
    ssl_key_file character varying(255) DEFAULT ''::character varying NOT NULL,
    ssl_key_password character varying(64) DEFAULT ''::character varying NOT NULL,
    verify_peer bigint DEFAULT '0'::bigint NOT NULL,
    verify_host bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.httptest OWNER TO zabbix;

--
-- Name: httptest_field; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.httptest_field (
    httptest_fieldid numeric NOT NULL,
    httptestid numeric NOT NULL,
    type bigint DEFAULT '0'::bigint NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    value text NOT NULL
);


ALTER TABLE public.httptest_field OWNER TO zabbix;

--
-- Name: httptestitem; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.httptestitem (
    httptestitemid numeric NOT NULL,
    httptestid numeric NOT NULL,
    itemid numeric NOT NULL,
    type bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.httptestitem OWNER TO zabbix;

--
-- Name: icon_map; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.icon_map (
    iconmapid numeric NOT NULL,
    name character varying(64) DEFAULT ''::character varying NOT NULL,
    default_iconid numeric NOT NULL
);


ALTER TABLE public.icon_map OWNER TO zabbix;

--
-- Name: icon_mapping; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.icon_mapping (
    iconmappingid numeric NOT NULL,
    iconmapid numeric NOT NULL,
    iconid numeric NOT NULL,
    inventory_link bigint DEFAULT '0'::bigint NOT NULL,
    expression character varying(64) DEFAULT ''::character varying NOT NULL,
    sortorder bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.icon_mapping OWNER TO zabbix;

--
-- Name: ids; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.ids (
    table_name character varying(64) DEFAULT ''::character varying NOT NULL,
    field_name character varying(64) DEFAULT ''::character varying NOT NULL,
    nextid numeric NOT NULL
);


ALTER TABLE public.ids OWNER TO zabbix;

--
-- Name: images; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.images (
    imageid numeric NOT NULL,
    imagetype bigint DEFAULT '0'::bigint NOT NULL,
    name character varying(64) DEFAULT '0'::character varying NOT NULL,
    image bytea NOT NULL
);


ALTER TABLE public.images OWNER TO zabbix;

--
-- Name: interface; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.interface (
    interfaceid numeric NOT NULL,
    hostid numeric NOT NULL,
    main bigint DEFAULT '0'::bigint NOT NULL,
    type bigint DEFAULT '1'::bigint NOT NULL,
    useip bigint DEFAULT '1'::bigint NOT NULL,
    ip character varying(64) DEFAULT '127.0.0.1'::character varying NOT NULL,
    dns character varying(255) DEFAULT ''::character varying NOT NULL,
    port character varying(64) DEFAULT '10050'::character varying NOT NULL
);


ALTER TABLE public.interface OWNER TO zabbix;

--
-- Name: interface_discovery; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.interface_discovery (
    interfaceid numeric NOT NULL,
    parent_interfaceid numeric NOT NULL
);


ALTER TABLE public.interface_discovery OWNER TO zabbix;

--
-- Name: interface_snmp; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.interface_snmp (
    interfaceid numeric NOT NULL,
    version bigint DEFAULT '2'::bigint NOT NULL,
    bulk bigint DEFAULT '1'::bigint NOT NULL,
    community character varying(64) DEFAULT ''::character varying NOT NULL,
    securityname character varying(64) DEFAULT ''::character varying NOT NULL,
    securitylevel bigint DEFAULT '0'::bigint NOT NULL,
    authpassphrase character varying(64) DEFAULT ''::character varying NOT NULL,
    privpassphrase character varying(64) DEFAULT ''::character varying NOT NULL,
    authprotocol bigint DEFAULT '0'::bigint NOT NULL,
    privprotocol bigint DEFAULT '0'::bigint NOT NULL,
    contextname character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.interface_snmp OWNER TO zabbix;

--
-- Name: item_application_prototype; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.item_application_prototype (
    item_application_prototypeid numeric NOT NULL,
    application_prototypeid numeric NOT NULL,
    itemid numeric NOT NULL
);


ALTER TABLE public.item_application_prototype OWNER TO zabbix;

--
-- Name: item_condition; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.item_condition (
    item_conditionid numeric NOT NULL,
    itemid numeric NOT NULL,
    operator bigint DEFAULT '8'::bigint NOT NULL,
    macro character varying(64) DEFAULT ''::character varying NOT NULL,
    value character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.item_condition OWNER TO zabbix;

--
-- Name: item_discovery; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.item_discovery (
    itemdiscoveryid numeric NOT NULL,
    itemid numeric NOT NULL,
    parent_itemid numeric NOT NULL,
    key_ character varying(2048) DEFAULT ''::character varying NOT NULL,
    lastcheck bigint DEFAULT '0'::bigint NOT NULL,
    ts_delete bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.item_discovery OWNER TO zabbix;

--
-- Name: item_parameter; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.item_parameter (
    item_parameterid bigint NOT NULL,
    itemid bigint NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    value character varying(2048) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.item_parameter OWNER TO zabbix;

--
-- Name: item_preproc; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.item_preproc (
    item_preprocid numeric NOT NULL,
    itemid numeric NOT NULL,
    step bigint DEFAULT '0'::bigint NOT NULL,
    type bigint DEFAULT '0'::bigint NOT NULL,
    params text NOT NULL,
    error_handler bigint DEFAULT '0'::bigint NOT NULL,
    error_handler_params character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.item_preproc OWNER TO zabbix;

--
-- Name: item_rtdata; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.item_rtdata (
    itemid numeric NOT NULL,
    lastlogsize numeric DEFAULT '0'::numeric NOT NULL,
    state bigint DEFAULT '0'::bigint NOT NULL,
    mtime bigint DEFAULT '0'::bigint NOT NULL,
    error character varying(2048) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.item_rtdata OWNER TO zabbix;

--
-- Name: items; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.items (
    itemid numeric NOT NULL,
    type bigint DEFAULT '0'::bigint NOT NULL,
    snmp_oid character varying(512) DEFAULT ''::character varying NOT NULL,
    hostid numeric NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    key_ character varying(2048) DEFAULT ''::character varying NOT NULL,
    delay character varying(1024) DEFAULT '0'::character varying NOT NULL,
    history character varying(255) DEFAULT '90d'::character varying NOT NULL,
    trends character varying(255) DEFAULT '180d'::character varying NOT NULL,
    status bigint DEFAULT '0'::bigint NOT NULL,
    value_type bigint DEFAULT '0'::bigint NOT NULL,
    trapper_hosts character varying(255) DEFAULT ''::character varying NOT NULL,
    units character varying(255) DEFAULT ''::character varying NOT NULL,
    formula character varying(255) DEFAULT ''::character varying NOT NULL,
    logtimefmt character varying(64) DEFAULT ''::character varying NOT NULL,
    templateid numeric,
    valuemapid numeric,
    params text DEFAULT ''::text NOT NULL,
    ipmi_sensor character varying(128) DEFAULT ''::character varying NOT NULL,
    authtype bigint DEFAULT '0'::bigint NOT NULL,
    username character varying(64) DEFAULT ''::character varying NOT NULL,
    password character varying(64) DEFAULT ''::character varying NOT NULL,
    publickey character varying(64) DEFAULT ''::character varying NOT NULL,
    privatekey character varying(64) DEFAULT ''::character varying NOT NULL,
    flags bigint DEFAULT '0'::bigint NOT NULL,
    interfaceid numeric,
    description text DEFAULT ''::text NOT NULL,
    inventory_link bigint DEFAULT '0'::bigint NOT NULL,
    lifetime character varying(255) DEFAULT '30d'::character varying NOT NULL,
    evaltype bigint DEFAULT '0'::bigint NOT NULL,
    jmx_endpoint character varying(255) DEFAULT ''::character varying NOT NULL,
    master_itemid numeric,
    timeout character varying(255) DEFAULT '3s'::character varying NOT NULL,
    url character varying(2048) DEFAULT ''::character varying NOT NULL,
    query_fields character varying(2048) DEFAULT ''::character varying NOT NULL,
    posts text DEFAULT ''::text NOT NULL,
    status_codes character varying(255) DEFAULT '200'::character varying NOT NULL,
    follow_redirects bigint DEFAULT '1'::bigint NOT NULL,
    post_type bigint DEFAULT '0'::bigint NOT NULL,
    http_proxy character varying(255) DEFAULT ''::character varying NOT NULL,
    headers text DEFAULT ''::text NOT NULL,
    retrieve_mode bigint DEFAULT '0'::bigint NOT NULL,
    request_method bigint DEFAULT '0'::bigint NOT NULL,
    output_format bigint DEFAULT '0'::bigint NOT NULL,
    ssl_cert_file character varying(255) DEFAULT ''::character varying NOT NULL,
    ssl_key_file character varying(255) DEFAULT ''::character varying NOT NULL,
    ssl_key_password character varying(64) DEFAULT ''::character varying NOT NULL,
    verify_peer bigint DEFAULT '0'::bigint NOT NULL,
    verify_host bigint DEFAULT '0'::bigint NOT NULL,
    allow_traps bigint DEFAULT '0'::bigint NOT NULL,
    discover bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.items OWNER TO zabbix;

--
-- Name: items_applications; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.items_applications (
    itemappid numeric NOT NULL,
    applicationid numeric NOT NULL,
    itemid numeric NOT NULL
);


ALTER TABLE public.items_applications OWNER TO zabbix;

--
-- Name: lld_macro_path; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.lld_macro_path (
    lld_macro_pathid numeric NOT NULL,
    itemid numeric NOT NULL,
    lld_macro character varying(255) DEFAULT ''::character varying NOT NULL,
    path character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.lld_macro_path OWNER TO zabbix;

--
-- Name: lld_override; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.lld_override (
    lld_overrideid numeric NOT NULL,
    itemid numeric NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    step bigint DEFAULT '0'::bigint NOT NULL,
    evaltype bigint DEFAULT '0'::bigint NOT NULL,
    formula character varying(255) DEFAULT ''::character varying NOT NULL,
    stop bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.lld_override OWNER TO zabbix;

--
-- Name: lld_override_condition; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.lld_override_condition (
    lld_override_conditionid numeric NOT NULL,
    lld_overrideid numeric NOT NULL,
    operator bigint DEFAULT '8'::bigint NOT NULL,
    macro character varying(64) DEFAULT ''::character varying NOT NULL,
    value character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.lld_override_condition OWNER TO zabbix;

--
-- Name: lld_override_opdiscover; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.lld_override_opdiscover (
    lld_override_operationid numeric NOT NULL,
    discover bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.lld_override_opdiscover OWNER TO zabbix;

--
-- Name: lld_override_operation; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.lld_override_operation (
    lld_override_operationid numeric NOT NULL,
    lld_overrideid numeric NOT NULL,
    operationobject bigint DEFAULT '0'::bigint NOT NULL,
    operator bigint DEFAULT '0'::bigint NOT NULL,
    value character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.lld_override_operation OWNER TO zabbix;

--
-- Name: lld_override_ophistory; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.lld_override_ophistory (
    lld_override_operationid numeric NOT NULL,
    history character varying(255) DEFAULT '90d'::character varying NOT NULL
);


ALTER TABLE public.lld_override_ophistory OWNER TO zabbix;

--
-- Name: lld_override_opinventory; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.lld_override_opinventory (
    lld_override_operationid numeric NOT NULL,
    inventory_mode bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.lld_override_opinventory OWNER TO zabbix;

--
-- Name: lld_override_opperiod; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.lld_override_opperiod (
    lld_override_operationid numeric NOT NULL,
    delay character varying(1024) DEFAULT '0'::character varying NOT NULL
);


ALTER TABLE public.lld_override_opperiod OWNER TO zabbix;

--
-- Name: lld_override_opseverity; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.lld_override_opseverity (
    lld_override_operationid numeric NOT NULL,
    severity bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.lld_override_opseverity OWNER TO zabbix;

--
-- Name: lld_override_opstatus; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.lld_override_opstatus (
    lld_override_operationid numeric NOT NULL,
    status bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.lld_override_opstatus OWNER TO zabbix;

--
-- Name: lld_override_optag; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.lld_override_optag (
    lld_override_optagid numeric NOT NULL,
    lld_override_operationid numeric NOT NULL,
    tag character varying(255) DEFAULT ''::character varying NOT NULL,
    value character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.lld_override_optag OWNER TO zabbix;

--
-- Name: lld_override_optemplate; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.lld_override_optemplate (
    lld_override_optemplateid numeric NOT NULL,
    lld_override_operationid numeric NOT NULL,
    templateid numeric NOT NULL
);


ALTER TABLE public.lld_override_optemplate OWNER TO zabbix;

--
-- Name: lld_override_optrends; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.lld_override_optrends (
    lld_override_operationid numeric NOT NULL,
    trends character varying(255) DEFAULT '365d'::character varying NOT NULL
);


ALTER TABLE public.lld_override_optrends OWNER TO zabbix;

--
-- Name: maintenance_tag; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.maintenance_tag (
    maintenancetagid numeric NOT NULL,
    maintenanceid numeric NOT NULL,
    tag character varying(255) DEFAULT ''::character varying NOT NULL,
    operator bigint DEFAULT '2'::bigint NOT NULL,
    value character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.maintenance_tag OWNER TO zabbix;

--
-- Name: maintenances; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.maintenances (
    maintenanceid numeric NOT NULL,
    name character varying(128) DEFAULT ''::character varying NOT NULL,
    maintenance_type bigint DEFAULT '0'::bigint NOT NULL,
    description text NOT NULL,
    active_since bigint DEFAULT '0'::bigint NOT NULL,
    active_till bigint DEFAULT '0'::bigint NOT NULL,
    tags_evaltype bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.maintenances OWNER TO zabbix;

--
-- Name: maintenances_groups; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.maintenances_groups (
    maintenance_groupid numeric NOT NULL,
    maintenanceid numeric NOT NULL,
    groupid numeric NOT NULL
);


ALTER TABLE public.maintenances_groups OWNER TO zabbix;

--
-- Name: maintenances_hosts; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.maintenances_hosts (
    maintenance_hostid numeric NOT NULL,
    maintenanceid numeric NOT NULL,
    hostid numeric NOT NULL
);


ALTER TABLE public.maintenances_hosts OWNER TO zabbix;

--
-- Name: maintenances_windows; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.maintenances_windows (
    maintenance_timeperiodid numeric NOT NULL,
    maintenanceid numeric NOT NULL,
    timeperiodid numeric NOT NULL
);


ALTER TABLE public.maintenances_windows OWNER TO zabbix;

--
-- Name: mappings; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.mappings (
    mappingid numeric NOT NULL,
    valuemapid numeric NOT NULL,
    value character varying(64) DEFAULT ''::character varying NOT NULL,
    newvalue character varying(64) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.mappings OWNER TO zabbix;

--
-- Name: media; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.media (
    mediaid numeric NOT NULL,
    userid numeric NOT NULL,
    mediatypeid numeric NOT NULL,
    sendto character varying(1024) DEFAULT ''::character varying NOT NULL,
    active bigint DEFAULT '0'::bigint NOT NULL,
    severity bigint DEFAULT '63'::bigint NOT NULL,
    period character varying(1024) DEFAULT '1-7,00:00-24:00'::character varying NOT NULL
);


ALTER TABLE public.media OWNER TO zabbix;

--
-- Name: media_type; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.media_type (
    mediatypeid numeric NOT NULL,
    type bigint DEFAULT '0'::bigint NOT NULL,
    name character varying(100) DEFAULT ''::character varying NOT NULL,
    smtp_server character varying(255) DEFAULT ''::character varying NOT NULL,
    smtp_helo character varying(255) DEFAULT ''::character varying NOT NULL,
    smtp_email character varying(255) DEFAULT ''::character varying NOT NULL,
    exec_path character varying(255) DEFAULT ''::character varying NOT NULL,
    gsm_modem character varying(255) DEFAULT ''::character varying NOT NULL,
    username character varying(255) DEFAULT ''::character varying NOT NULL,
    passwd character varying(255) DEFAULT ''::character varying NOT NULL,
    status bigint DEFAULT '0'::bigint NOT NULL,
    smtp_port bigint DEFAULT '25'::bigint NOT NULL,
    smtp_security bigint DEFAULT '0'::bigint NOT NULL,
    smtp_verify_peer bigint DEFAULT '0'::bigint NOT NULL,
    smtp_verify_host bigint DEFAULT '0'::bigint NOT NULL,
    smtp_authentication bigint DEFAULT '0'::bigint NOT NULL,
    exec_params character varying(255) DEFAULT ''::character varying NOT NULL,
    maxsessions bigint DEFAULT '1'::bigint NOT NULL,
    maxattempts bigint DEFAULT '3'::bigint NOT NULL,
    attempt_interval character varying(32) DEFAULT '10s'::character varying NOT NULL,
    content_type bigint DEFAULT '1'::bigint NOT NULL,
    script text NOT NULL,
    timeout character varying(32) DEFAULT '30s'::character varying NOT NULL,
    process_tags bigint DEFAULT '0'::bigint NOT NULL,
    show_event_menu bigint DEFAULT '0'::bigint NOT NULL,
    event_menu_url character varying(2048) DEFAULT ''::character varying NOT NULL,
    event_menu_name character varying(255) DEFAULT ''::character varying NOT NULL,
    description text NOT NULL
);


ALTER TABLE public.media_type OWNER TO zabbix;

--
-- Name: media_type_message; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.media_type_message (
    mediatype_messageid numeric NOT NULL,
    mediatypeid numeric NOT NULL,
    eventsource bigint NOT NULL,
    recovery bigint NOT NULL,
    subject character varying(255) DEFAULT ''::character varying NOT NULL,
    message text NOT NULL
);


ALTER TABLE public.media_type_message OWNER TO zabbix;

--
-- Name: media_type_param; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.media_type_param (
    mediatype_paramid numeric NOT NULL,
    mediatypeid numeric NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    value character varying(2048) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.media_type_param OWNER TO zabbix;

--
-- Name: module; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.module (
    moduleid numeric NOT NULL,
    id character varying(255) DEFAULT ''::character varying NOT NULL,
    relative_path character varying(255) DEFAULT ''::character varying NOT NULL,
    status bigint DEFAULT '0'::bigint NOT NULL,
    config text NOT NULL
);


ALTER TABLE public.module OWNER TO zabbix;

--
-- Name: opcommand; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.opcommand (
    operationid numeric NOT NULL,
    type bigint DEFAULT '0'::bigint NOT NULL,
    scriptid numeric,
    execute_on bigint DEFAULT '0'::bigint NOT NULL,
    port character varying(64) DEFAULT ''::character varying NOT NULL,
    authtype bigint DEFAULT '0'::bigint NOT NULL,
    username character varying(64) DEFAULT ''::character varying NOT NULL,
    password character varying(64) DEFAULT ''::character varying NOT NULL,
    publickey character varying(64) DEFAULT ''::character varying NOT NULL,
    privatekey character varying(64) DEFAULT ''::character varying NOT NULL,
    command text NOT NULL
);


ALTER TABLE public.opcommand OWNER TO zabbix;

--
-- Name: opcommand_grp; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.opcommand_grp (
    opcommand_grpid numeric NOT NULL,
    operationid numeric NOT NULL,
    groupid numeric NOT NULL
);


ALTER TABLE public.opcommand_grp OWNER TO zabbix;

--
-- Name: opcommand_hst; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.opcommand_hst (
    opcommand_hstid numeric NOT NULL,
    operationid numeric NOT NULL,
    hostid numeric
);


ALTER TABLE public.opcommand_hst OWNER TO zabbix;

--
-- Name: opconditions; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.opconditions (
    opconditionid numeric NOT NULL,
    operationid numeric NOT NULL,
    conditiontype bigint DEFAULT '0'::bigint NOT NULL,
    operator bigint DEFAULT '0'::bigint NOT NULL,
    value character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.opconditions OWNER TO zabbix;

--
-- Name: operations; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.operations (
    operationid numeric NOT NULL,
    actionid numeric NOT NULL,
    operationtype bigint DEFAULT '0'::bigint NOT NULL,
    esc_period character varying(255) DEFAULT '0'::character varying NOT NULL,
    esc_step_from bigint DEFAULT '1'::bigint NOT NULL,
    esc_step_to bigint DEFAULT '1'::bigint NOT NULL,
    evaltype bigint DEFAULT '0'::bigint NOT NULL,
    recovery bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.operations OWNER TO zabbix;

--
-- Name: opgroup; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.opgroup (
    opgroupid numeric NOT NULL,
    operationid numeric NOT NULL,
    groupid numeric NOT NULL
);


ALTER TABLE public.opgroup OWNER TO zabbix;

--
-- Name: opinventory; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.opinventory (
    operationid numeric NOT NULL,
    inventory_mode bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.opinventory OWNER TO zabbix;

--
-- Name: opmessage; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.opmessage (
    operationid numeric NOT NULL,
    default_msg bigint DEFAULT '1'::bigint NOT NULL,
    subject character varying(255) DEFAULT ''::character varying NOT NULL,
    message text NOT NULL,
    mediatypeid numeric
);


ALTER TABLE public.opmessage OWNER TO zabbix;

--
-- Name: opmessage_grp; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.opmessage_grp (
    opmessage_grpid numeric NOT NULL,
    operationid numeric NOT NULL,
    usrgrpid numeric NOT NULL
);


ALTER TABLE public.opmessage_grp OWNER TO zabbix;

--
-- Name: opmessage_usr; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.opmessage_usr (
    opmessage_usrid numeric NOT NULL,
    operationid numeric NOT NULL,
    userid numeric NOT NULL
);


ALTER TABLE public.opmessage_usr OWNER TO zabbix;

--
-- Name: optemplate; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.optemplate (
    optemplateid numeric NOT NULL,
    operationid numeric NOT NULL,
    templateid numeric NOT NULL
);


ALTER TABLE public.optemplate OWNER TO zabbix;

--
-- Name: problem; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.problem (
    eventid numeric NOT NULL,
    source bigint DEFAULT '0'::bigint NOT NULL,
    object bigint DEFAULT '0'::bigint NOT NULL,
    objectid numeric DEFAULT '0'::numeric NOT NULL,
    clock bigint DEFAULT '0'::bigint NOT NULL,
    ns bigint DEFAULT '0'::bigint NOT NULL,
    r_eventid numeric,
    r_clock bigint DEFAULT '0'::bigint NOT NULL,
    r_ns bigint DEFAULT '0'::bigint NOT NULL,
    correlationid numeric,
    userid numeric,
    name character varying(2048) DEFAULT ''::character varying NOT NULL,
    acknowledged bigint DEFAULT '0'::bigint NOT NULL,
    severity bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.problem OWNER TO zabbix;

--
-- Name: problem_tag; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.problem_tag (
    problemtagid numeric NOT NULL,
    eventid numeric NOT NULL,
    tag character varying(255) DEFAULT ''::character varying NOT NULL,
    value character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.problem_tag OWNER TO zabbix;

--
-- Name: profiles; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.profiles (
    profileid numeric NOT NULL,
    userid numeric NOT NULL,
    idx character varying(96) DEFAULT ''::character varying NOT NULL,
    idx2 numeric DEFAULT '0'::numeric NOT NULL,
    value_id numeric DEFAULT '0'::numeric NOT NULL,
    value_int bigint DEFAULT '0'::bigint NOT NULL,
    value_str text DEFAULT ''::text NOT NULL,
    source character varying(96) DEFAULT ''::character varying NOT NULL,
    type bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.profiles OWNER TO zabbix;

--
-- Name: proxy_autoreg_host; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.proxy_autoreg_host (
    id bigint NOT NULL,
    clock bigint DEFAULT '0'::bigint NOT NULL,
    host character varying(128) DEFAULT ''::character varying NOT NULL,
    listen_ip character varying(39) DEFAULT ''::character varying NOT NULL,
    listen_port bigint DEFAULT '0'::bigint NOT NULL,
    listen_dns character varying(255) DEFAULT ''::character varying NOT NULL,
    host_metadata character varying(255) DEFAULT ''::character varying NOT NULL,
    flags bigint DEFAULT '0'::bigint NOT NULL,
    tls_accepted bigint DEFAULT '1'::bigint NOT NULL
);


ALTER TABLE public.proxy_autoreg_host OWNER TO zabbix;

--
-- Name: proxy_autoreg_host_id_seq; Type: SEQUENCE; Schema: public; Owner: zabbix
--

CREATE SEQUENCE public.proxy_autoreg_host_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.proxy_autoreg_host_id_seq OWNER TO zabbix;

--
-- Name: proxy_autoreg_host_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: zabbix
--

ALTER SEQUENCE public.proxy_autoreg_host_id_seq OWNED BY public.proxy_autoreg_host.id;


--
-- Name: proxy_dhistory; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.proxy_dhistory (
    id bigint NOT NULL,
    clock bigint DEFAULT '0'::bigint NOT NULL,
    druleid numeric NOT NULL,
    ip character varying(39) DEFAULT ''::character varying NOT NULL,
    port bigint DEFAULT '0'::bigint NOT NULL,
    value character varying(255) DEFAULT ''::character varying NOT NULL,
    status bigint DEFAULT '0'::bigint NOT NULL,
    dcheckid numeric,
    dns character varying(255) DEFAULT ''::character varying NOT NULL
);


ALTER TABLE public.proxy_dhistory OWNER TO zabbix;

--
-- Name: proxy_dhistory_id_seq; Type: SEQUENCE; Schema: public; Owner: zabbix
--

CREATE SEQUENCE public.proxy_dhistory_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.proxy_dhistory_id_seq OWNER TO zabbix;

--
-- Name: proxy_dhistory_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: zabbix
--

ALTER SEQUENCE public.proxy_dhistory_id_seq OWNED BY public.proxy_dhistory.id;


--
-- Name: proxy_history; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.proxy_history (
    id bigint NOT NULL,
    itemid numeric NOT NULL,
    clock bigint DEFAULT '0'::bigint NOT NULL,
    "timestamp" bigint DEFAULT '0'::bigint NOT NULL,
    source character varying(64) DEFAULT ''::character varying NOT NULL,
    severity bigint DEFAULT '0'::bigint NOT NULL,
    value text NOT NULL,
    logeventid bigint DEFAULT '0'::bigint NOT NULL,
    ns bigint DEFAULT '0'::bigint NOT NULL,
    state bigint DEFAULT '0'::bigint NOT NULL,
    lastlogsize numeric DEFAULT '0'::numeric NOT NULL,
    mtime bigint DEFAULT '0'::bigint NOT NULL,
    flags bigint DEFAULT '0'::bigint NOT NULL,
    write_clock bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.proxy_history OWNER TO zabbix;

--
-- Name: proxy_history_id_seq; Type: SEQUENCE; Schema: public; Owner: zabbix
--

CREATE SEQUENCE public.proxy_history_id_seq
    START WITH 1
    INCREMENT BY 1
    NO MINVALUE
    NO MAXVALUE
    CACHE 1;


ALTER TABLE public.proxy_history_id_seq OWNER TO zabbix;

--
-- Name: proxy_history_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: zabbix
--

ALTER SEQUENCE public.proxy_history_id_seq OWNED BY public.proxy_history.id;


--
-- Name: regexps; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.regexps (
    regexpid numeric NOT NULL,
    name character varying(128) DEFAULT ''::character varying NOT NULL,
    test_string text NOT NULL
);


ALTER TABLE public.regexps OWNER TO zabbix;

--
-- Name: rights; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.rights (
    rightid numeric NOT NULL,
    groupid numeric NOT NULL,
    permission bigint DEFAULT '0'::bigint NOT NULL,
    id numeric NOT NULL
);


ALTER TABLE public.rights OWNER TO zabbix;

--
-- Name: role; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.role (
    roleid bigint NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    type integer DEFAULT 0 NOT NULL,
    readonly integer DEFAULT 0 NOT NULL
);


ALTER TABLE public.role OWNER TO zabbix;

--
-- Name: role_rule; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.role_rule (
    role_ruleid bigint NOT NULL,
    roleid bigint NOT NULL,
    type integer DEFAULT 0 NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    value_int integer DEFAULT 0 NOT NULL,
    value_str character varying(255) DEFAULT ''::character varying NOT NULL,
    value_moduleid bigint
);


ALTER TABLE public.role_rule OWNER TO zabbix;

--
-- Name: screen_user; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.screen_user (
    screenuserid numeric NOT NULL,
    screenid numeric NOT NULL,
    userid numeric NOT NULL,
    permission bigint DEFAULT '2'::bigint NOT NULL
);


ALTER TABLE public.screen_user OWNER TO zabbix;

--
-- Name: screen_usrgrp; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.screen_usrgrp (
    screenusrgrpid numeric NOT NULL,
    screenid numeric NOT NULL,
    usrgrpid numeric NOT NULL,
    permission bigint DEFAULT '2'::bigint NOT NULL
);


ALTER TABLE public.screen_usrgrp OWNER TO zabbix;

--
-- Name: screens; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.screens (
    screenid numeric NOT NULL,
    name character varying(255) NOT NULL,
    hsize bigint DEFAULT '1'::bigint NOT NULL,
    vsize bigint DEFAULT '1'::bigint NOT NULL,
    userid numeric,
    private bigint DEFAULT '1'::bigint NOT NULL
);


ALTER TABLE public.screens OWNER TO zabbix;

--
-- Name: screens_items; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.screens_items (
    screenitemid numeric NOT NULL,
    screenid numeric NOT NULL,
    resourcetype bigint DEFAULT '0'::bigint NOT NULL,
    resourceid numeric DEFAULT '0'::numeric NOT NULL,
    width bigint DEFAULT '320'::bigint NOT NULL,
    height bigint DEFAULT '200'::bigint NOT NULL,
    x bigint DEFAULT '0'::bigint NOT NULL,
    y bigint DEFAULT '0'::bigint NOT NULL,
    colspan bigint DEFAULT '1'::bigint NOT NULL,
    rowspan bigint DEFAULT '1'::bigint NOT NULL,
    elements bigint DEFAULT '25'::bigint NOT NULL,
    valign bigint DEFAULT '0'::bigint NOT NULL,
    halign bigint DEFAULT '0'::bigint NOT NULL,
    style bigint DEFAULT '0'::bigint NOT NULL,
    url character varying(255) DEFAULT ''::character varying NOT NULL,
    dynamic bigint DEFAULT '0'::bigint NOT NULL,
    sort_triggers bigint DEFAULT '0'::bigint NOT NULL,
    application character varying(255) DEFAULT ''::character varying NOT NULL,
    max_columns bigint DEFAULT '3'::bigint NOT NULL
);


ALTER TABLE public.screens_items OWNER TO zabbix;

--
-- Name: scripts; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.scripts (
    scriptid numeric NOT NULL,
    name character varying(255) DEFAULT ''::character varying NOT NULL,
    command character varying(255) DEFAULT ''::character varying NOT NULL,
    host_access bigint DEFAULT '2'::bigint NOT NULL,
    usrgrpid numeric,
    groupid numeric,
    description text NOT NULL,
    confirmation character varying(255) DEFAULT ''::character varying NOT NULL,
    type bigint DEFAULT '0'::bigint NOT NULL,
    execute_on bigint DEFAULT '2'::bigint NOT NULL
);


ALTER TABLE public.scripts OWNER TO zabbix;

--
-- Name: service_alarms; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.service_alarms (
    servicealarmid numeric NOT NULL,
    serviceid numeric NOT NULL,
    clock bigint DEFAULT '0'::bigint NOT NULL,
    value bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.service_alarms OWNER TO zabbix;

--
-- Name: services; Type: TABLE; Schema: public; Owner: zabbix
--

CREATE TABLE public.services (
    serviceid numeric NOT NULL,
    name character varying(128) DEFAULT ''::character varying NOT NULL,
    status bigint DEFAULT '0'::bigint NOT NULL,
    algorithm bigint DEFAULT '0'::bigint NOT NULL,
    triggerid numeric,
    showsla bigint DEFAULT '0'::bigint NOT NULL,
    goodsla double precision DEFAULT '99.9'::double precision NOT NULL,
    sortorder bigint DEFAULT '0'::bigint NOT NULL
);


ALTER TABLE public.services OWNER TO zabbix;

--
