ncc.zabbix_templates

Yohn Y. 2025-05-15 Parent:308f360346c8 Child:984772997051

36:bc85d53acc6e Browse Files

. PGBouncer: Изменение работы со статистикой времени

pgBouncer/zbx_export_templates.yaml

     1.1 --- a/pgBouncer/zbx_export_templates.yaml	Fri Mar 14 00:27:05 2025 +0300
     1.2 +++ b/pgBouncer/zbx_export_templates.yaml	Thu May 15 10:58:47 2025 +0300
     1.3 @@ -9,7 +9,9 @@
     1.4        name: PgBouncer
     1.5        description: |
     1.6          На основе: https://github.com/Lelik13a/Zabbix-PgBouncer
     1.7 -        Расположение: https://devel.a0fs.ru/ncc.zabbix_templates/file/tip/pgBouncer
     1.8 +        Расположение: https://repo.devel.a0fs.ru/ncc.zabbix_templates/file/tip/pgBouncer
     1.9 +        
    1.10 +        v1.r202505.1
    1.11        groups:
    1.12          - name: Templates/AWNET
    1.13        items:
    1.14 @@ -288,7 +290,7 @@
    1.15            history: 30d
    1.16            value_type: FLOAT
    1.17            trends: 90d
    1.18 -          units: ms
    1.19 +          units: s
    1.20            preprocessing:
    1.21              - type: REGEX
    1.22                parameters:
    1.23 @@ -296,7 +298,7 @@
    1.24                  - \1
    1.25              - type: MULTIPLIER
    1.26                parameters:
    1.27 -                - '0.001'
    1.28 +                - '1.0E-6'
    1.29            master_item:
    1.30              key: pgbouncer.pool.totals
    1.31            tags:
    1.32 @@ -312,7 +314,7 @@
    1.33            history: 30d
    1.34            value_type: FLOAT
    1.35            trends: 90d
    1.36 -          units: ms
    1.37 +          units: s
    1.38            preprocessing:
    1.39              - type: REGEX
    1.40                parameters:
    1.41 @@ -320,7 +322,7 @@
    1.42                  - \1
    1.43              - type: MULTIPLIER
    1.44                parameters:
    1.45 -                - '0.001'
    1.46 +                - '1.0E-6'
    1.47            master_item:
    1.48              key: pgbouncer.pool.totals
    1.49            tags:
    1.50 @@ -355,7 +357,7 @@
    1.51            history: 30d
    1.52            value_type: FLOAT
    1.53            trends: 90d
    1.54 -          units: ms
    1.55 +          units: s
    1.56            preprocessing:
    1.57              - type: REGEX
    1.58                parameters:
    1.59 @@ -363,7 +365,7 @@
    1.60                  - \1
    1.61              - type: MULTIPLIER
    1.62                parameters:
    1.63 -                - '0.001'
    1.64 +                - '1.0E-6'
    1.65            master_item:
    1.66              key: pgbouncer.pool.totals
    1.67            tags:
    1.68 @@ -750,7 +752,7 @@
    1.69                history: 30d
    1.70                value_type: FLOAT
    1.71                trends: 90d
    1.72 -              units: ms
    1.73 +              units: s
    1.74                preprocessing:
    1.75                  - type: JSONPATH
    1.76                    parameters:
    1.77 @@ -760,7 +762,7 @@
    1.78                      - '$[0]'
    1.79                  - type: MULTIPLIER
    1.80                    parameters:
    1.81 -                    - '0.001'
    1.82 +                    - '1.0E-6'
    1.83                master_item:
    1.84                  key: pgbouncer.pool.stats
    1.85                tags:
    1.86 @@ -778,7 +780,7 @@
    1.87                history: 30d
    1.88                value_type: FLOAT
    1.89                trends: 90d
    1.90 -              units: ms
    1.91 +              units: s
    1.92                preprocessing:
    1.93                  - type: JSONPATH
    1.94                    parameters:
    1.95 @@ -788,7 +790,7 @@
    1.96                      - '$[0]'
    1.97                  - type: MULTIPLIER
    1.98                    parameters:
    1.99 -                    - '0.001'
   1.100 +                    - '1.0E-6'
   1.101                master_item:
   1.102                  key: pgbouncer.pool.stats
   1.103                tags:
   1.104 @@ -811,7 +813,7 @@
   1.105                history: 30d
   1.106                value_type: FLOAT
   1.107                trends: 90d
   1.108 -              units: ms
   1.109 +              units: s
   1.110                preprocessing:
   1.111                  - type: JSONPATH
   1.112                    parameters:
   1.113 @@ -821,7 +823,7 @@
   1.114                      - '$[0]'
   1.115                  - type: MULTIPLIER
   1.116                    parameters:
   1.117 -                    - '0.001'
   1.118 +                    - '1.0E-6'
   1.119                master_item:
   1.120                  key: pgbouncer.pool.stats
   1.121                tags: