Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Bakaldin <alexander.bakaldin@zabbix.com>2021-03-29 17:51:04 +0300
committerAlexander Bakaldin <alexander.bakaldin@zabbix.com>2021-03-29 17:51:04 +0300
commitf28b59d9dd98079b5f844c8996273343cbbb6cd4 (patch)
tree3bd2561d27e607acc63d10ec149e28e08d487eff /templates
parente28062bc8de68073f97f0d7e18e5c1b902d0bc9e (diff)
.........T [ZBX-17454] changed the unit of data item "pgsql.ping.time" in PostgreSQL template
Diffstat (limited to 'templates')
-rw-r--r--templates/db/postgresql/template_db_postgresql.yaml11
1 files changed, 8 insertions, 3 deletions
diff --git a/templates/db/postgresql/template_db_postgresql.yaml b/templates/db/postgresql/template_db_postgresql.yaml
index 5b01c2048f7..21e4f0aaab0 100644
--- a/templates/db/postgresql/template_db_postgresql.yaml
+++ b/templates/db/postgresql/template_db_postgresql.yaml
@@ -1,6 +1,6 @@
zabbix_export:
version: '5.4'
- date: '2021-03-02T19:42:54Z'
+ date: '2021-03-29T14:21:23Z'
groups:
-
name: Templates/Databases
@@ -485,7 +485,7 @@ zabbix_export:
key: 'pgsql.ping.time["{$PG.HOST}","{$PG.PORT}","{$PG.USER}","{$PG.DB}"]'
history: 7d
value_type: FLOAT
- units: ms
+ units: s
applications:
-
name: PostgreSQL
@@ -495,6 +495,10 @@ zabbix_export:
parameters:
- 'Time:\s(\d+\.\d+)\sms'
- \1
+ -
+ type: MULTIPLIER
+ parameters:
+ - '0.001'
triggers:
-
expression: '{min(5m)} > {$PG.PING_TIME.MAX.WARN}'
@@ -2042,13 +2046,14 @@ zabbix_export:
ymin_type_1: FIXED
graph_items:
-
+ sortorder: '1'
drawtype: GRADIENT_LINE
color: A5D6A7
item:
host: PostgreSQL
key: 'pgsql.ping["{$PG.HOST}","{$PG.PORT}","{$PG.USER}","{$PG.DB}"]'
-
- sortorder: '1'
+ sortorder: '2'
color: 039BE5
yaxisside: RIGHT
item: