diff options
author | Miks Kronkalns <miks.kronkalns@zabbix.com> | 2021-10-07 14:37:31 +0300 |
---|---|---|
committer | Miks Kronkalns <miks.kronkalns@zabbix.com> | 2021-10-08 10:53:52 +0300 |
commit | 7e6a91149533b17b12c0317968b485e0c98d4ac2 (patch) | |
tree | 1095d0fd49729da86b71debd5e7e0fbb5d99492f /create | |
parent | 6e079047ea6bd5b19d38ade49b9e6f0f66f24f01 (diff) |
A.F....... [ZBXNEXT-6945] implemented configuration for geographival maps
Diffstat (limited to 'create')
-rw-r--r-- | create/src/data.tmpl | 4 | ||||
-rw-r--r-- | create/src/schema.tmpl | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/create/src/data.tmpl b/create/src/data.tmpl index 8ab90f9eb8a..ad731c6cbd0 100644 --- a/create/src/data.tmpl +++ b/create/src/data.tmpl @@ -879,8 +879,8 @@ ROW |7 |5 |23 |0 |2 | | ROW |8 |6 |23 |0 |4 | | TABLE |config -FIELDS|configid|work_period |alert_usrgrpid|discovery_groupid| -ROW |1 |1-5,09:00-18:00|7 |5 | +FIELDS|configid|work_period |alert_usrgrpid|discovery_groupid|geomaps_tile_provider| +ROW |1 |1-5,09:00-18:00|7 |5 |OpenStreetMap.Mapnik | TABLE |graph_theme FIELDS|graphthemeid|theme |backgroundcolor|graphcolor|gridcolor|maingridcolor|gridbordercolor|textcolor|highlightcolor|leftpercentilecolor|rightpercentilecolor|nonworktimecolor|colorpalette | diff --git a/create/src/schema.tmpl b/create/src/schema.tmpl index 842eeef0c19..448ef3052bf 100644 --- a/create/src/schema.tmpl +++ b/create/src/schema.tmpl @@ -587,6 +587,10 @@ FIELD |hk_events_service|t_varchar(32)|'1d' |NOT NULL |ZBX_NODATA FIELD |passwd_min_length |t_integer |'8' |NOT NULL |ZBX_NODATA FIELD |passwd_check_rules |t_integer |'8' |NOT NULL |ZBX_NODATA FIELD |auditlog_enabled |t_integer |'1' |NOT NULL |ZBX_NODATA +FIELD |geomaps_tile_provider|t_varchar(255) |'' |NOT NULL |ZBX_NODATA +FIELD |geomaps_tile_url |t_varchar(1024)|'' |NOT NULL |ZBX_NODATA +FIELD |geomaps_max_zoom |t_integer |'0' |NOT NULL |ZBX_NODATA +FIELD |geomaps_attribution|t_varchar(1024)|'' |NOT NULL |ZBX_NODATA INDEX |1 |alert_usrgrpid INDEX |2 |discovery_groupid @@ -1891,4 +1895,4 @@ INDEX |1 |serviceid TABLE|dbversion|| FIELD |mandatory |t_integer |'0' |NOT NULL | FIELD |optional |t_integer |'0' |NOT NULL | -ROW |5050072 |5050072 +ROW |5050077 |5050077 |