diff --git a/zabbix_templates/pgmon_templates.yaml b/zabbix_templates/pgmon_templates.yaml index f982e33..b63d1c0 100644 --- a/zabbix_templates/pgmon_templates.yaml +++ b/zabbix_templates/pgmon_templates.yaml @@ -1581,6 +1581,7 @@ zabbix_export: delay: '0' history: 90d value_type: FLOAT + units: s description: 'Time elapsed between flushing recent WAL locally and receiving notification that this standby server has written and flushed it (but not yet applied it). This can be used to gauge the delay that synchronous_commit level on incurred while committing if this server was configured as a synchronous standby.' preprocessing: - type: JSONPATH @@ -1596,13 +1597,12 @@ zabbix_export: - tag: Database value: '{#DBNAME}' - uuid: 624f8f085a3642c9a10a03361c17763d - name: 'Last flush LSN for {#REPID}' + name: 'Last flush LSN lag for {#REPID}' type: DEPENDENT key: 'pgmon_rep[flush_lsn,repid={#REPID}]' delay: '0' history: 90d - value_type: TEXT - trends: '0' + units: B description: 'Last write-ahead log location flushed to disk by this standby server' preprocessing: - type: JSONPATH @@ -1624,6 +1624,7 @@ zabbix_export: delay: '0' history: 90d value_type: FLOAT + units: s description: 'Time elapsed between flushing recent WAL locally and receiving notification that this standby server has written, flushed and applied it. This can be used to gauge the delay that synchronous_commit level remote_apply incurred while committing if this server was configured as a synchronous standby.' preprocessing: - type: JSONPATH @@ -1639,13 +1640,12 @@ zabbix_export: - tag: Database value: '{#DBNAME}' - uuid: fe1bed51845d4694bae8f53deed4846d - name: 'Last replay LSN for {#REPID}' + name: 'Last replay LSN lag for {#REPID}' type: DEPENDENT key: 'pgmon_rep[replay_lsn,repid={#REPID}]' delay: '0' history: 90d - value_type: TEXT - trends: '0' + units: B description: 'Last write-ahead log location replayed into the database on this standby server' preprocessing: - type: JSONPATH @@ -1661,13 +1661,12 @@ zabbix_export: - tag: Database value: '{#DBNAME}' - uuid: 68c179d0e33f45f9bf82d2d4125763f0 - name: 'Last sent LSN for {#REPID}' + name: 'Last sent LSN lag for {#REPID}' type: DEPENDENT key: 'pgmon_rep[sent_lsn,repid={#REPID}]' delay: '0' history: 90d - value_type: TEXT - trends: '0' + units: B description: 'Last write-ahead log location sent on this connection' preprocessing: - type: JSONPATH @@ -1717,6 +1716,7 @@ zabbix_export: delay: '0' history: 90d value_type: FLOAT + units: s description: 'Time elapsed between flushing recent WAL locally and receiving notification that this standby server has written it (but not yet flushed it or applied it). This can be used to gauge the delay that synchronous_commit level remote_write incurred while committing if this server was configured as a synchronous standby.' preprocessing: - type: JSONPATH @@ -1732,13 +1732,12 @@ zabbix_export: - tag: Database value: '{#DBNAME}' - uuid: 57fb03cf63af4b0a91d8e36d6ff64d30 - name: 'Last write LSN for {#REPID}' + name: 'Last write LSN lag for {#REPID}' type: DEPENDENT key: 'pgmon_rep[write_lsn,repid={#REPID}]' delay: '0' history: 90d - value_type: TEXT - trends: '0' + units: B description: 'Time elapsed between flushing recent WAL locally and receiving notification that this standby server has written it (but not yet flushed it or applied it). This can be used to gauge the delay that synchronous_commit level remote_write incurred while committing if this server was configured as a synchronous standby.' preprocessing: - type: JSONPATH