1985 lines
85 KiB
XML
1985 lines
85 KiB
XML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<zabbix_export>
|
||
|
<version>3.0</version>
|
||
|
<date>2016-05-02T08:43:03Z</date>
|
||
|
<groups>
|
||
|
<group>
|
||
|
<name>Zabbix Templates</name>
|
||
|
</group>
|
||
|
</groups>
|
||
|
<templates>
|
||
|
<template>
|
||
|
<template>Template App PostgreSQL</template>
|
||
|
<name>Template App PostgreSQL</name>
|
||
|
<description/>
|
||
|
<groups>
|
||
|
<group>
|
||
|
<name>Zabbix Templates</name>
|
||
|
</group>
|
||
|
</groups>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>PostgreSQL</name>
|
||
|
</application>
|
||
|
<application>
|
||
|
<name>PostgreSQL Table details</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<items>
|
||
|
<item>
|
||
|
<name>Number of postgres process</name>
|
||
|
<type>0</type>
|
||
|
<snmp_community/>
|
||
|
<multiplier>0</multiplier>
|
||
|
<snmp_oid/>
|
||
|
<key>proc.num[,postgres,,]</key>
|
||
|
<delay>60</delay>
|
||
|
<history>30</history>
|
||
|
<trends>365</trends>
|
||
|
<status>0</status>
|
||
|
<value_type>3</value_type>
|
||
|
<allowed_hosts/>
|
||
|
<units/>
|
||
|
<delta>0</delta>
|
||
|
<snmpv3_contextname/>
|
||
|
<snmpv3_securityname/>
|
||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||
|
<snmpv3_authpassphrase/>
|
||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||
|
<snmpv3_privpassphrase/>
|
||
|
<formula>1</formula>
|
||
|
<delay_flex/>
|
||
|
<params/>
|
||
|
<ipmi_sensor/>
|
||
|
<data_type>0</data_type>
|
||
|
<authtype>0</authtype>
|
||
|
<username/>
|
||
|
<password/>
|
||
|
<publickey/>
|
||
|
<privatekey/>
|
||
|
<port/>
|
||
|
<description/>
|
||
|
<inventory_link>0</inventory_link>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>PostgreSQL</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<valuemap/>
|
||
|
<logtimefmt/>
|
||
|
</item>
|
||
|
<item>
|
||
|
<name>Active (SQL processing) connections</name>
|
||
|
<type>0</type>
|
||
|
<snmp_community/>
|
||
|
<multiplier>0</multiplier>
|
||
|
<snmp_oid/>
|
||
|
<key>psql.active_connections</key>
|
||
|
<delay>60</delay>
|
||
|
<history>30</history>
|
||
|
<trends>365</trends>
|
||
|
<status>1</status>
|
||
|
<value_type>3</value_type>
|
||
|
<allowed_hosts/>
|
||
|
<units/>
|
||
|
<delta>0</delta>
|
||
|
<snmpv3_contextname/>
|
||
|
<snmpv3_securityname/>
|
||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||
|
<snmpv3_authpassphrase/>
|
||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||
|
<snmpv3_privpassphrase/>
|
||
|
<formula>1</formula>
|
||
|
<delay_flex/>
|
||
|
<params/>
|
||
|
<ipmi_sensor/>
|
||
|
<data_type>0</data_type>
|
||
|
<authtype>0</authtype>
|
||
|
<username/>
|
||
|
<password/>
|
||
|
<publickey/>
|
||
|
<privatekey/>
|
||
|
<port/>
|
||
|
<description/>
|
||
|
<inventory_link>0</inventory_link>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>PostgreSQL</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<valuemap/>
|
||
|
<logtimefmt/>
|
||
|
</item>
|
||
|
<item>
|
||
|
<name>Buffers_alloc</name>
|
||
|
<type>0</type>
|
||
|
<snmp_community/>
|
||
|
<multiplier>0</multiplier>
|
||
|
<snmp_oid/>
|
||
|
<key>psql.buffers_alloc</key>
|
||
|
<delay>60</delay>
|
||
|
<history>30</history>
|
||
|
<trends>365</trends>
|
||
|
<status>0</status>
|
||
|
<value_type>3</value_type>
|
||
|
<allowed_hosts/>
|
||
|
<units>buffers/s</units>
|
||
|
<delta>1</delta>
|
||
|
<snmpv3_contextname/>
|
||
|
<snmpv3_securityname/>
|
||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||
|
<snmpv3_authpassphrase/>
|
||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||
|
<snmpv3_privpassphrase/>
|
||
|
<formula>1</formula>
|
||
|
<delay_flex/>
|
||
|
<params/>
|
||
|
<ipmi_sensor/>
|
||
|
<data_type>0</data_type>
|
||
|
<authtype>0</authtype>
|
||
|
<username/>
|
||
|
<password/>
|
||
|
<publickey/>
|
||
|
<privatekey/>
|
||
|
<port/>
|
||
|
<description/>
|
||
|
<inventory_link>0</inventory_link>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>PostgreSQL</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<valuemap/>
|
||
|
<logtimefmt/>
|
||
|
</item>
|
||
|
<item>
|
||
|
<name>Buffers_backend</name>
|
||
|
<type>0</type>
|
||
|
<snmp_community/>
|
||
|
<multiplier>0</multiplier>
|
||
|
<snmp_oid/>
|
||
|
<key>psql.buffers_backend</key>
|
||
|
<delay>60</delay>
|
||
|
<history>30</history>
|
||
|
<trends>365</trends>
|
||
|
<status>0</status>
|
||
|
<value_type>3</value_type>
|
||
|
<allowed_hosts/>
|
||
|
<units>buffers/s</units>
|
||
|
<delta>1</delta>
|
||
|
<snmpv3_contextname/>
|
||
|
<snmpv3_securityname/>
|
||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||
|
<snmpv3_authpassphrase/>
|
||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||
|
<snmpv3_privpassphrase/>
|
||
|
<formula>1</formula>
|
||
|
<delay_flex/>
|
||
|
<params/>
|
||
|
<ipmi_sensor/>
|
||
|
<data_type>0</data_type>
|
||
|
<authtype>0</authtype>
|
||
|
<username/>
|
||
|
<password/>
|
||
|
<publickey/>
|
||
|
<privatekey/>
|
||
|
<port/>
|
||
|
<description/>
|
||
|
<inventory_link>0</inventory_link>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>PostgreSQL</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<valuemap/>
|
||
|
<logtimefmt/>
|
||
|
</item>
|
||
|
<item>
|
||
|
<name>Buffers_backend_fsync</name>
|
||
|
<type>0</type>
|
||
|
<snmp_community/>
|
||
|
<multiplier>0</multiplier>
|
||
|
<snmp_oid/>
|
||
|
<key>psql.buffers_backend_fsync</key>
|
||
|
<delay>60</delay>
|
||
|
<history>30</history>
|
||
|
<trends>365</trends>
|
||
|
<status>0</status>
|
||
|
<value_type>3</value_type>
|
||
|
<allowed_hosts/>
|
||
|
<units>buffers/s</units>
|
||
|
<delta>1</delta>
|
||
|
<snmpv3_contextname/>
|
||
|
<snmpv3_securityname/>
|
||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||
|
<snmpv3_authpassphrase/>
|
||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||
|
<snmpv3_privpassphrase/>
|
||
|
<formula>1</formula>
|
||
|
<delay_flex/>
|
||
|
<params/>
|
||
|
<ipmi_sensor/>
|
||
|
<data_type>0</data_type>
|
||
|
<authtype>0</authtype>
|
||
|
<username/>
|
||
|
<password/>
|
||
|
<publickey/>
|
||
|
<privatekey/>
|
||
|
<port/>
|
||
|
<description/>
|
||
|
<inventory_link>0</inventory_link>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>PostgreSQL</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<valuemap/>
|
||
|
<logtimefmt/>
|
||
|
</item>
|
||
|
<item>
|
||
|
<name>Buffers_checkpoint</name>
|
||
|
<type>0</type>
|
||
|
<snmp_community/>
|
||
|
<multiplier>0</multiplier>
|
||
|
<snmp_oid/>
|
||
|
<key>psql.buffers_checkpoint</key>
|
||
|
<delay>60</delay>
|
||
|
<history>30</history>
|
||
|
<trends>365</trends>
|
||
|
<status>0</status>
|
||
|
<value_type>3</value_type>
|
||
|
<allowed_hosts/>
|
||
|
<units>buffers/s</units>
|
||
|
<delta>1</delta>
|
||
|
<snmpv3_contextname/>
|
||
|
<snmpv3_securityname/>
|
||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||
|
<snmpv3_authpassphrase/>
|
||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||
|
<snmpv3_privpassphrase/>
|
||
|
<formula>1</formula>
|
||
|
<delay_flex/>
|
||
|
<params/>
|
||
|
<ipmi_sensor/>
|
||
|
<data_type>0</data_type>
|
||
|
<authtype>0</authtype>
|
||
|
<username/>
|
||
|
<password/>
|
||
|
<publickey/>
|
||
|
<privatekey/>
|
||
|
<port/>
|
||
|
<description/>
|
||
|
<inventory_link>0</inventory_link>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>PostgreSQL</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<valuemap/>
|
||
|
<logtimefmt/>
|
||
|
</item>
|
||
|
<item>
|
||
|
<name>Buffers_clean</name>
|
||
|
<type>0</type>
|
||
|
<snmp_community/>
|
||
|
<multiplier>0</multiplier>
|
||
|
<snmp_oid/>
|
||
|
<key>psql.buffers_clean</key>
|
||
|
<delay>60</delay>
|
||
|
<history>30</history>
|
||
|
<trends>365</trends>
|
||
|
<status>0</status>
|
||
|
<value_type>3</value_type>
|
||
|
<allowed_hosts/>
|
||
|
<units>buffers/s</units>
|
||
|
<delta>1</delta>
|
||
|
<snmpv3_contextname/>
|
||
|
<snmpv3_securityname/>
|
||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||
|
<snmpv3_authpassphrase/>
|
||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||
|
<snmpv3_privpassphrase/>
|
||
|
<formula>1</formula>
|
||
|
<delay_flex/>
|
||
|
<params/>
|
||
|
<ipmi_sensor/>
|
||
|
<data_type>0</data_type>
|
||
|
<authtype>0</authtype>
|
||
|
<username/>
|
||
|
<password/>
|
||
|
<publickey/>
|
||
|
<privatekey/>
|
||
|
<port/>
|
||
|
<description/>
|
||
|
<inventory_link>0</inventory_link>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>PostgreSQL</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<valuemap/>
|
||
|
<logtimefmt/>
|
||
|
</item>
|
||
|
<item>
|
||
|
<name>Checkpoint count (by checkpoint_segments)</name>
|
||
|
<type>0</type>
|
||
|
<snmp_community/>
|
||
|
<multiplier>0</multiplier>
|
||
|
<snmp_oid/>
|
||
|
<key>psql.checkpoints_req</key>
|
||
|
<delay>60</delay>
|
||
|
<history>30</history>
|
||
|
<trends>365</trends>
|
||
|
<status>0</status>
|
||
|
<value_type>3</value_type>
|
||
|
<allowed_hosts/>
|
||
|
<units>cps</units>
|
||
|
<delta>2</delta>
|
||
|
<snmpv3_contextname/>
|
||
|
<snmpv3_securityname/>
|
||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||
|
<snmpv3_authpassphrase/>
|
||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||
|
<snmpv3_privpassphrase/>
|
||
|
<formula>1</formula>
|
||
|
<delay_flex/>
|
||
|
<params/>
|
||
|
<ipmi_sensor/>
|
||
|
<data_type>0</data_type>
|
||
|
<authtype>0</authtype>
|
||
|
<username/>
|
||
|
<password/>
|
||
|
<publickey/>
|
||
|
<privatekey/>
|
||
|
<port/>
|
||
|
<description/>
|
||
|
<inventory_link>0</inventory_link>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>PostgreSQL</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<valuemap/>
|
||
|
<logtimefmt/>
|
||
|
</item>
|
||
|
<item>
|
||
|
<name>Checkpoint count (by checkpoint_timeout)</name>
|
||
|
<type>0</type>
|
||
|
<snmp_community/>
|
||
|
<multiplier>0</multiplier>
|
||
|
<snmp_oid/>
|
||
|
<key>psql.checkpoints_timed</key>
|
||
|
<delay>60</delay>
|
||
|
<history>30</history>
|
||
|
<trends>365</trends>
|
||
|
<status>0</status>
|
||
|
<value_type>3</value_type>
|
||
|
<allowed_hosts/>
|
||
|
<units>cps</units>
|
||
|
<delta>2</delta>
|
||
|
<snmpv3_contextname/>
|
||
|
<snmpv3_securityname/>
|
||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||
|
<snmpv3_authpassphrase/>
|
||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||
|
<snmpv3_privpassphrase/>
|
||
|
<formula>1</formula>
|
||
|
<delay_flex/>
|
||
|
<params/>
|
||
|
<ipmi_sensor/>
|
||
|
<data_type>0</data_type>
|
||
|
<authtype>0</authtype>
|
||
|
<username/>
|
||
|
<password/>
|
||
|
<publickey/>
|
||
|
<privatekey/>
|
||
|
<port/>
|
||
|
<description/>
|
||
|
<inventory_link>0</inventory_link>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>PostgreSQL</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<valuemap/>
|
||
|
<logtimefmt/>
|
||
|
</item>
|
||
|
<item>
|
||
|
<name>Idle connections</name>
|
||
|
<type>0</type>
|
||
|
<snmp_community/>
|
||
|
<multiplier>0</multiplier>
|
||
|
<snmp_oid/>
|
||
|
<key>psql.idle_connections</key>
|
||
|
<delay>60</delay>
|
||
|
<history>30</history>
|
||
|
<trends>365</trends>
|
||
|
<status>1</status>
|
||
|
<value_type>3</value_type>
|
||
|
<allowed_hosts/>
|
||
|
<units/>
|
||
|
<delta>0</delta>
|
||
|
<snmpv3_contextname/>
|
||
|
<snmpv3_securityname/>
|
||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||
|
<snmpv3_authpassphrase/>
|
||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||
|
<snmpv3_privpassphrase/>
|
||
|
<formula>1</formula>
|
||
|
<delay_flex/>
|
||
|
<params/>
|
||
|
<ipmi_sensor/>
|
||
|
<data_type>0</data_type>
|
||
|
<authtype>0</authtype>
|
||
|
<username/>
|
||
|
<password/>
|
||
|
<publickey/>
|
||
|
<privatekey/>
|
||
|
<port/>
|
||
|
<description/>
|
||
|
<inventory_link>0</inventory_link>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>PostgreSQL</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<valuemap/>
|
||
|
<logtimefmt/>
|
||
|
</item>
|
||
|
<item>
|
||
|
<name>Idle in transaction connections</name>
|
||
|
<type>0</type>
|
||
|
<snmp_community/>
|
||
|
<multiplier>0</multiplier>
|
||
|
<snmp_oid/>
|
||
|
<key>psql.idle_tx_connections</key>
|
||
|
<delay>60</delay>
|
||
|
<history>30</history>
|
||
|
<trends>365</trends>
|
||
|
<status>1</status>
|
||
|
<value_type>3</value_type>
|
||
|
<allowed_hosts/>
|
||
|
<units/>
|
||
|
<delta>0</delta>
|
||
|
<snmpv3_contextname/>
|
||
|
<snmpv3_securityname/>
|
||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||
|
<snmpv3_authpassphrase/>
|
||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||
|
<snmpv3_privpassphrase/>
|
||
|
<formula>1</formula>
|
||
|
<delay_flex/>
|
||
|
<params/>
|
||
|
<ipmi_sensor/>
|
||
|
<data_type>0</data_type>
|
||
|
<authtype>0</authtype>
|
||
|
<username/>
|
||
|
<password/>
|
||
|
<publickey/>
|
||
|
<privatekey/>
|
||
|
<port/>
|
||
|
<description/>
|
||
|
<inventory_link>0</inventory_link>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>PostgreSQL</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<valuemap/>
|
||
|
<logtimefmt/>
|
||
|
</item>
|
||
|
<item>
|
||
|
<name>Lock waiting connections</name>
|
||
|
<type>0</type>
|
||
|
<snmp_community/>
|
||
|
<multiplier>0</multiplier>
|
||
|
<snmp_oid/>
|
||
|
<key>psql.locks_waiting</key>
|
||
|
<delay>60</delay>
|
||
|
<history>30</history>
|
||
|
<trends>365</trends>
|
||
|
<status>0</status>
|
||
|
<value_type>3</value_type>
|
||
|
<allowed_hosts/>
|
||
|
<units/>
|
||
|
<delta>0</delta>
|
||
|
<snmpv3_contextname/>
|
||
|
<snmpv3_securityname/>
|
||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||
|
<snmpv3_authpassphrase/>
|
||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||
|
<snmpv3_privpassphrase/>
|
||
|
<formula>1</formula>
|
||
|
<delay_flex/>
|
||
|
<params/>
|
||
|
<ipmi_sensor/>
|
||
|
<data_type>0</data_type>
|
||
|
<authtype>0</authtype>
|
||
|
<username/>
|
||
|
<password/>
|
||
|
<publickey/>
|
||
|
<privatekey/>
|
||
|
<port/>
|
||
|
<description/>
|
||
|
<inventory_link>0</inventory_link>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>PostgreSQL</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<valuemap/>
|
||
|
<logtimefmt/>
|
||
|
</item>
|
||
|
<item>
|
||
|
<name>Maxwritten_clean</name>
|
||
|
<type>0</type>
|
||
|
<snmp_community/>
|
||
|
<multiplier>0</multiplier>
|
||
|
<snmp_oid/>
|
||
|
<key>psql.maxwritten_clean</key>
|
||
|
<delay>60</delay>
|
||
|
<history>30</history>
|
||
|
<trends>365</trends>
|
||
|
<status>0</status>
|
||
|
<value_type>3</value_type>
|
||
|
<allowed_hosts/>
|
||
|
<units>buffers/s</units>
|
||
|
<delta>1</delta>
|
||
|
<snmpv3_contextname/>
|
||
|
<snmpv3_securityname/>
|
||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||
|
<snmpv3_authpassphrase/>
|
||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||
|
<snmpv3_privpassphrase/>
|
||
|
<formula>1</formula>
|
||
|
<delay_flex/>
|
||
|
<params/>
|
||
|
<ipmi_sensor/>
|
||
|
<data_type>0</data_type>
|
||
|
<authtype>0</authtype>
|
||
|
<username/>
|
||
|
<password/>
|
||
|
<publickey/>
|
||
|
<privatekey/>
|
||
|
<port/>
|
||
|
<description/>
|
||
|
<inventory_link>0</inventory_link>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>PostgreSQL</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<valuemap/>
|
||
|
<logtimefmt/>
|
||
|
</item>
|
||
|
<item>
|
||
|
<name>PostgreSQL service is running</name>
|
||
|
<type>0</type>
|
||
|
<snmp_community/>
|
||
|
<multiplier>0</multiplier>
|
||
|
<snmp_oid/>
|
||
|
<key>psql.running</key>
|
||
|
<delay>60</delay>
|
||
|
<history>30</history>
|
||
|
<trends>365</trends>
|
||
|
<status>0</status>
|
||
|
<value_type>3</value_type>
|
||
|
<allowed_hosts/>
|
||
|
<units/>
|
||
|
<delta>0</delta>
|
||
|
<snmpv3_contextname/>
|
||
|
<snmpv3_securityname/>
|
||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||
|
<snmpv3_authpassphrase/>
|
||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||
|
<snmpv3_privpassphrase/>
|
||
|
<formula>1</formula>
|
||
|
<delay_flex/>
|
||
|
<params/>
|
||
|
<ipmi_sensor/>
|
||
|
<data_type>0</data_type>
|
||
|
<authtype>0</authtype>
|
||
|
<username/>
|
||
|
<password/>
|
||
|
<publickey/>
|
||
|
<privatekey/>
|
||
|
<port/>
|
||
|
<description/>
|
||
|
<inventory_link>0</inventory_link>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>PostgreSQL</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<valuemap/>
|
||
|
<logtimefmt/>
|
||
|
</item>
|
||
|
<item>
|
||
|
<name>Connections</name>
|
||
|
<type>0</type>
|
||
|
<snmp_community/>
|
||
|
<multiplier>0</multiplier>
|
||
|
<snmp_oid/>
|
||
|
<key>psql.server_connections</key>
|
||
|
<delay>60</delay>
|
||
|
<history>30</history>
|
||
|
<trends>365</trends>
|
||
|
<status>0</status>
|
||
|
<value_type>3</value_type>
|
||
|
<allowed_hosts/>
|
||
|
<units/>
|
||
|
<delta>0</delta>
|
||
|
<snmpv3_contextname/>
|
||
|
<snmpv3_securityname/>
|
||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||
|
<snmpv3_authpassphrase/>
|
||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||
|
<snmpv3_privpassphrase/>
|
||
|
<formula>1</formula>
|
||
|
<delay_flex/>
|
||
|
<params/>
|
||
|
<ipmi_sensor/>
|
||
|
<data_type>0</data_type>
|
||
|
<authtype>0</authtype>
|
||
|
<username/>
|
||
|
<password/>
|
||
|
<publickey/>
|
||
|
<privatekey/>
|
||
|
<port/>
|
||
|
<description/>
|
||
|
<inventory_link>0</inventory_link>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>PostgreSQL</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<valuemap/>
|
||
|
<logtimefmt/>
|
||
|
</item>
|
||
|
<item>
|
||
|
<name>Max connections</name>
|
||
|
<type>0</type>
|
||
|
<snmp_community/>
|
||
|
<multiplier>0</multiplier>
|
||
|
<snmp_oid/>
|
||
|
<key>psql.server_maxcon</key>
|
||
|
<delay>60</delay>
|
||
|
<history>30</history>
|
||
|
<trends>365</trends>
|
||
|
<status>0</status>
|
||
|
<value_type>3</value_type>
|
||
|
<allowed_hosts/>
|
||
|
<units/>
|
||
|
<delta>0</delta>
|
||
|
<snmpv3_contextname/>
|
||
|
<snmpv3_securityname/>
|
||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||
|
<snmpv3_authpassphrase/>
|
||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||
|
<snmpv3_privpassphrase/>
|
||
|
<formula>1</formula>
|
||
|
<delay_flex/>
|
||
|
<params/>
|
||
|
<ipmi_sensor/>
|
||
|
<data_type>0</data_type>
|
||
|
<authtype>0</authtype>
|
||
|
<username/>
|
||
|
<password/>
|
||
|
<publickey/>
|
||
|
<privatekey/>
|
||
|
<port/>
|
||
|
<description/>
|
||
|
<inventory_link>0</inventory_link>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>PostgreSQL</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<valuemap/>
|
||
|
<logtimefmt/>
|
||
|
</item>
|
||
|
<item>
|
||
|
<name>Slow DML queries</name>
|
||
|
<type>0</type>
|
||
|
<snmp_community/>
|
||
|
<multiplier>0</multiplier>
|
||
|
<snmp_oid/>
|
||
|
<key>psql.slow_dml_queries[{$PGSLOWQUERY_THRESHOLD}]</key>
|
||
|
<delay>60</delay>
|
||
|
<history>30</history>
|
||
|
<trends>365</trends>
|
||
|
<status>1</status>
|
||
|
<value_type>3</value_type>
|
||
|
<allowed_hosts/>
|
||
|
<units/>
|
||
|
<delta>0</delta>
|
||
|
<snmpv3_contextname/>
|
||
|
<snmpv3_securityname/>
|
||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||
|
<snmpv3_authpassphrase/>
|
||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||
|
<snmpv3_privpassphrase/>
|
||
|
<formula>1</formula>
|
||
|
<delay_flex/>
|
||
|
<params/>
|
||
|
<ipmi_sensor/>
|
||
|
<data_type>0</data_type>
|
||
|
<authtype>0</authtype>
|
||
|
<username/>
|
||
|
<password/>
|
||
|
<publickey/>
|
||
|
<privatekey/>
|
||
|
<port/>
|
||
|
<description/>
|
||
|
<inventory_link>0</inventory_link>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>PostgreSQL</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<valuemap/>
|
||
|
<logtimefmt/>
|
||
|
</item>
|
||
|
<item>
|
||
|
<name>Slow queries</name>
|
||
|
<type>0</type>
|
||
|
<snmp_community/>
|
||
|
<multiplier>0</multiplier>
|
||
|
<snmp_oid/>
|
||
|
<key>psql.slow_queries[{$PGSLOWQUERY_THRESHOLD}]</key>
|
||
|
<delay>60</delay>
|
||
|
<history>30</history>
|
||
|
<trends>365</trends>
|
||
|
<status>1</status>
|
||
|
<value_type>3</value_type>
|
||
|
<allowed_hosts/>
|
||
|
<units/>
|
||
|
<delta>0</delta>
|
||
|
<snmpv3_contextname/>
|
||
|
<snmpv3_securityname/>
|
||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||
|
<snmpv3_authpassphrase/>
|
||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||
|
<snmpv3_privpassphrase/>
|
||
|
<formula>1</formula>
|
||
|
<delay_flex/>
|
||
|
<params/>
|
||
|
<ipmi_sensor/>
|
||
|
<data_type>0</data_type>
|
||
|
<authtype>0</authtype>
|
||
|
<username/>
|
||
|
<password/>
|
||
|
<publickey/>
|
||
|
<privatekey/>
|
||
|
<port/>
|
||
|
<description/>
|
||
|
<inventory_link>0</inventory_link>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>PostgreSQL</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<valuemap/>
|
||
|
<logtimefmt/>
|
||
|
</item>
|
||
|
<item>
|
||
|
<name>Slow select queries</name>
|
||
|
<type>0</type>
|
||
|
<snmp_community/>
|
||
|
<multiplier>0</multiplier>
|
||
|
<snmp_oid/>
|
||
|
<key>psql.slow_select_queries[{$PGSLOWQUERY_THRESHOLD}]</key>
|
||
|
<delay>60</delay>
|
||
|
<history>30</history>
|
||
|
<trends>365</trends>
|
||
|
<status>1</status>
|
||
|
<value_type>3</value_type>
|
||
|
<allowed_hosts/>
|
||
|
<units/>
|
||
|
<delta>0</delta>
|
||
|
<snmpv3_contextname/>
|
||
|
<snmpv3_securityname/>
|
||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||
|
<snmpv3_authpassphrase/>
|
||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||
|
<snmpv3_privpassphrase/>
|
||
|
<formula>1</formula>
|
||
|
<delay_flex/>
|
||
|
<params/>
|
||
|
<ipmi_sensor/>
|
||
|
<data_type>0</data_type>
|
||
|
<authtype>0</authtype>
|
||
|
<username/>
|
||
|
<password/>
|
||
|
<publickey/>
|
||
|
<privatekey/>
|
||
|
<port/>
|
||
|
<description/>
|
||
|
<inventory_link>0</inventory_link>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>PostgreSQL</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<valuemap/>
|
||
|
<logtimefmt/>
|
||
|
</item>
|
||
|
<item>
|
||
|
<name>Committed transactions</name>
|
||
|
<type>0</type>
|
||
|
<snmp_community/>
|
||
|
<multiplier>0</multiplier>
|
||
|
<snmp_oid/>
|
||
|
<key>psql.tx_committed</key>
|
||
|
<delay>60</delay>
|
||
|
<history>30</history>
|
||
|
<trends>365</trends>
|
||
|
<status>0</status>
|
||
|
<value_type>3</value_type>
|
||
|
<allowed_hosts/>
|
||
|
<units>tps</units>
|
||
|
<delta>1</delta>
|
||
|
<snmpv3_contextname/>
|
||
|
<snmpv3_securityname/>
|
||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||
|
<snmpv3_authpassphrase/>
|
||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||
|
<snmpv3_privpassphrase/>
|
||
|
<formula>1</formula>
|
||
|
<delay_flex/>
|
||
|
<params/>
|
||
|
<ipmi_sensor/>
|
||
|
<data_type>0</data_type>
|
||
|
<authtype>0</authtype>
|
||
|
<username/>
|
||
|
<password/>
|
||
|
<publickey/>
|
||
|
<privatekey/>
|
||
|
<port/>
|
||
|
<description/>
|
||
|
<inventory_link>0</inventory_link>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>PostgreSQL</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<valuemap/>
|
||
|
<logtimefmt/>
|
||
|
</item>
|
||
|
<item>
|
||
|
<name>Rolled back transactions</name>
|
||
|
<type>0</type>
|
||
|
<snmp_community/>
|
||
|
<multiplier>0</multiplier>
|
||
|
<snmp_oid/>
|
||
|
<key>psql.tx_rolledback</key>
|
||
|
<delay>60</delay>
|
||
|
<history>30</history>
|
||
|
<trends>365</trends>
|
||
|
<status>0</status>
|
||
|
<value_type>3</value_type>
|
||
|
<allowed_hosts/>
|
||
|
<units>tps</units>
|
||
|
<delta>1</delta>
|
||
|
<snmpv3_contextname/>
|
||
|
<snmpv3_securityname/>
|
||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||
|
<snmpv3_authpassphrase/>
|
||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||
|
<snmpv3_privpassphrase/>
|
||
|
<formula>1</formula>
|
||
|
<delay_flex/>
|
||
|
<params/>
|
||
|
<ipmi_sensor/>
|
||
|
<data_type>0</data_type>
|
||
|
<authtype>0</authtype>
|
||
|
<username/>
|
||
|
<password/>
|
||
|
<publickey/>
|
||
|
<privatekey/>
|
||
|
<port/>
|
||
|
<description/>
|
||
|
<inventory_link>0</inventory_link>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>PostgreSQL</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<valuemap/>
|
||
|
<logtimefmt/>
|
||
|
</item>
|
||
|
<item>
|
||
|
<name>PostgreSQL server version</name>
|
||
|
<type>0</type>
|
||
|
<snmp_community/>
|
||
|
<multiplier>0</multiplier>
|
||
|
<snmp_oid/>
|
||
|
<key>psql.version</key>
|
||
|
<delay>3600</delay>
|
||
|
<history>7</history>
|
||
|
<trends>0</trends>
|
||
|
<status>0</status>
|
||
|
<value_type>1</value_type>
|
||
|
<allowed_hosts/>
|
||
|
<units/>
|
||
|
<delta>0</delta>
|
||
|
<snmpv3_contextname/>
|
||
|
<snmpv3_securityname/>
|
||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||
|
<snmpv3_authpassphrase/>
|
||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||
|
<snmpv3_privpassphrase/>
|
||
|
<formula>1</formula>
|
||
|
<delay_flex/>
|
||
|
<params/>
|
||
|
<ipmi_sensor/>
|
||
|
<data_type>0</data_type>
|
||
|
<authtype>0</authtype>
|
||
|
<username/>
|
||
|
<password/>
|
||
|
<publickey/>
|
||
|
<privatekey/>
|
||
|
<port/>
|
||
|
<description/>
|
||
|
<inventory_link>0</inventory_link>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>PostgreSQL</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<valuemap/>
|
||
|
<logtimefmt/>
|
||
|
</item>
|
||
|
</items>
|
||
|
<discovery_rules>
|
||
|
<discovery_rule>
|
||
|
<name>Databases</name>
|
||
|
<type>0</type>
|
||
|
<snmp_community/>
|
||
|
<snmp_oid/>
|
||
|
<key>db.list.discovery</key>
|
||
|
<delay>3600</delay>
|
||
|
<status>0</status>
|
||
|
<allowed_hosts/>
|
||
|
<snmpv3_contextname/>
|
||
|
<snmpv3_securityname/>
|
||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||
|
<snmpv3_authpassphrase/>
|
||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||
|
<snmpv3_privpassphrase/>
|
||
|
<delay_flex/>
|
||
|
<params/>
|
||
|
<ipmi_sensor/>
|
||
|
<authtype>0</authtype>
|
||
|
<username/>
|
||
|
<password/>
|
||
|
<publickey/>
|
||
|
<privatekey/>
|
||
|
<port/>
|
||
|
<filter>
|
||
|
<evaltype>0</evaltype>
|
||
|
<formula/>
|
||
|
<conditions/>
|
||
|
</filter>
|
||
|
<lifetime>30</lifetime>
|
||
|
<description/>
|
||
|
<item_prototypes>
|
||
|
<item_prototype>
|
||
|
<name>[{#DBNAME}] Cache hit ratio (%)</name>
|
||
|
<type>0</type>
|
||
|
<snmp_community/>
|
||
|
<multiplier>0</multiplier>
|
||
|
<snmp_oid/>
|
||
|
<key>psql.cachehit_ratio[{#DBNAME}]</key>
|
||
|
<delay>60</delay>
|
||
|
<history>30</history>
|
||
|
<trends>365</trends>
|
||
|
<status>0</status>
|
||
|
<value_type>0</value_type>
|
||
|
<allowed_hosts/>
|
||
|
<units>%</units>
|
||
|
<delta>0</delta>
|
||
|
<snmpv3_contextname/>
|
||
|
<snmpv3_securityname/>
|
||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||
|
<snmpv3_authpassphrase/>
|
||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||
|
<snmpv3_privpassphrase/>
|
||
|
<formula>1</formula>
|
||
|
<delay_flex/>
|
||
|
<params/>
|
||
|
<ipmi_sensor/>
|
||
|
<data_type>0</data_type>
|
||
|
<authtype>0</authtype>
|
||
|
<username/>
|
||
|
<password/>
|
||
|
<publickey/>
|
||
|
<privatekey/>
|
||
|
<port/>
|
||
|
<description/>
|
||
|
<inventory_link>0</inventory_link>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>PostgreSQL</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<valuemap/>
|
||
|
<logtimefmt/>
|
||
|
<application_prototypes/>
|
||
|
</item_prototype>
|
||
|
<item_prototype>
|
||
|
<name>[{#DBNAME}] Active connections</name>
|
||
|
<type>0</type>
|
||
|
<snmp_community/>
|
||
|
<multiplier>0</multiplier>
|
||
|
<snmp_oid/>
|
||
|
<key>psql.db_connections[{#DBNAME}]</key>
|
||
|
<delay>60</delay>
|
||
|
<history>30</history>
|
||
|
<trends>365</trends>
|
||
|
<status>0</status>
|
||
|
<value_type>3</value_type>
|
||
|
<allowed_hosts/>
|
||
|
<units/>
|
||
|
<delta>0</delta>
|
||
|
<snmpv3_contextname/>
|
||
|
<snmpv3_securityname/>
|
||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||
|
<snmpv3_authpassphrase/>
|
||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||
|
<snmpv3_privpassphrase/>
|
||
|
<formula>1</formula>
|
||
|
<delay_flex/>
|
||
|
<params/>
|
||
|
<ipmi_sensor/>
|
||
|
<data_type>0</data_type>
|
||
|
<authtype>0</authtype>
|
||
|
<username/>
|
||
|
<password/>
|
||
|
<publickey/>
|
||
|
<privatekey/>
|
||
|
<port/>
|
||
|
<description/>
|
||
|
<inventory_link>0</inventory_link>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>PostgreSQL</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<valuemap/>
|
||
|
<logtimefmt/>
|
||
|
<application_prototypes/>
|
||
|
</item_prototype>
|
||
|
<item_prototype>
|
||
|
<name>[{#DBNAME}] Deadlocks</name>
|
||
|
<type>0</type>
|
||
|
<snmp_community/>
|
||
|
<multiplier>0</multiplier>
|
||
|
<snmp_oid/>
|
||
|
<key>psql.db_deadlocks[{#DBNAME}]</key>
|
||
|
<delay>60</delay>
|
||
|
<history>30</history>
|
||
|
<trends>365</trends>
|
||
|
<status>1</status>
|
||
|
<value_type>3</value_type>
|
||
|
<allowed_hosts/>
|
||
|
<units/>
|
||
|
<delta>2</delta>
|
||
|
<snmpv3_contextname/>
|
||
|
<snmpv3_securityname/>
|
||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||
|
<snmpv3_authpassphrase/>
|
||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||
|
<snmpv3_privpassphrase/>
|
||
|
<formula>1</formula>
|
||
|
<delay_flex/>
|
||
|
<params/>
|
||
|
<ipmi_sensor/>
|
||
|
<data_type>0</data_type>
|
||
|
<authtype>0</authtype>
|
||
|
<username/>
|
||
|
<password/>
|
||
|
<publickey/>
|
||
|
<privatekey/>
|
||
|
<port/>
|
||
|
<description/>
|
||
|
<inventory_link>0</inventory_link>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>PostgreSQL</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<valuemap/>
|
||
|
<logtimefmt/>
|
||
|
<application_prototypes/>
|
||
|
</item_prototype>
|
||
|
<item_prototype>
|
||
|
<name>[{#DBNAME}] Tuples deleted</name>
|
||
|
<type>0</type>
|
||
|
<snmp_community/>
|
||
|
<multiplier>0</multiplier>
|
||
|
<snmp_oid/>
|
||
|
<key>psql.db_deleted[{#DBNAME}]</key>
|
||
|
<delay>60</delay>
|
||
|
<history>30</history>
|
||
|
<trends>365</trends>
|
||
|
<status>0</status>
|
||
|
<value_type>3</value_type>
|
||
|
<allowed_hosts/>
|
||
|
<units>tup/s</units>
|
||
|
<delta>1</delta>
|
||
|
<snmpv3_contextname/>
|
||
|
<snmpv3_securityname/>
|
||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||
|
<snmpv3_authpassphrase/>
|
||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||
|
<snmpv3_privpassphrase/>
|
||
|
<formula>1</formula>
|
||
|
<delay_flex/>
|
||
|
<params/>
|
||
|
<ipmi_sensor/>
|
||
|
<data_type>0</data_type>
|
||
|
<authtype>0</authtype>
|
||
|
<username/>
|
||
|
<password/>
|
||
|
<publickey/>
|
||
|
<privatekey/>
|
||
|
<port/>
|
||
|
<description/>
|
||
|
<inventory_link>0</inventory_link>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>PostgreSQL</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<valuemap/>
|
||
|
<logtimefmt/>
|
||
|
<application_prototypes/>
|
||
|
</item_prototype>
|
||
|
<item_prototype>
|
||
|
<name>[{#DBNAME}] Tuples fetched</name>
|
||
|
<type>0</type>
|
||
|
<snmp_community/>
|
||
|
<multiplier>0</multiplier>
|
||
|
<snmp_oid/>
|
||
|
<key>psql.db_fetched[{#DBNAME}]</key>
|
||
|
<delay>60</delay>
|
||
|
<history>30</history>
|
||
|
<trends>365</trends>
|
||
|
<status>0</status>
|
||
|
<value_type>3</value_type>
|
||
|
<allowed_hosts/>
|
||
|
<units>tup/s</units>
|
||
|
<delta>1</delta>
|
||
|
<snmpv3_contextname/>
|
||
|
<snmpv3_securityname/>
|
||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||
|
<snmpv3_authpassphrase/>
|
||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||
|
<snmpv3_privpassphrase/>
|
||
|
<formula>1</formula>
|
||
|
<delay_flex/>
|
||
|
<params/>
|
||
|
<ipmi_sensor/>
|
||
|
<data_type>0</data_type>
|
||
|
<authtype>0</authtype>
|
||
|
<username/>
|
||
|
<password/>
|
||
|
<publickey/>
|
||
|
<privatekey/>
|
||
|
<port/>
|
||
|
<description/>
|
||
|
<inventory_link>0</inventory_link>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>PostgreSQL</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<valuemap/>
|
||
|
<logtimefmt/>
|
||
|
<application_prototypes/>
|
||
|
</item_prototype>
|
||
|
<item_prototype>
|
||
|
<name>[{#DBNAME}] Tuples inserted</name>
|
||
|
<type>0</type>
|
||
|
<snmp_community/>
|
||
|
<multiplier>0</multiplier>
|
||
|
<snmp_oid/>
|
||
|
<key>psql.db_inserted[{#DBNAME}]</key>
|
||
|
<delay>60</delay>
|
||
|
<history>30</history>
|
||
|
<trends>365</trends>
|
||
|
<status>0</status>
|
||
|
<value_type>3</value_type>
|
||
|
<allowed_hosts/>
|
||
|
<units>tup/s</units>
|
||
|
<delta>1</delta>
|
||
|
<snmpv3_contextname/>
|
||
|
<snmpv3_securityname/>
|
||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||
|
<snmpv3_authpassphrase/>
|
||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||
|
<snmpv3_privpassphrase/>
|
||
|
<formula>1</formula>
|
||
|
<delay_flex/>
|
||
|
<params/>
|
||
|
<ipmi_sensor/>
|
||
|
<data_type>0</data_type>
|
||
|
<authtype>0</authtype>
|
||
|
<username/>
|
||
|
<password/>
|
||
|
<publickey/>
|
||
|
<privatekey/>
|
||
|
<port/>
|
||
|
<description/>
|
||
|
<inventory_link>0</inventory_link>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>PostgreSQL</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<valuemap/>
|
||
|
<logtimefmt/>
|
||
|
<application_prototypes/>
|
||
|
</item_prototype>
|
||
|
<item_prototype>
|
||
|
<name>[{#DBNAME}] Tuples returned</name>
|
||
|
<type>0</type>
|
||
|
<snmp_community/>
|
||
|
<multiplier>0</multiplier>
|
||
|
<snmp_oid/>
|
||
|
<key>psql.db_returned[{#DBNAME}]</key>
|
||
|
<delay>60</delay>
|
||
|
<history>30</history>
|
||
|
<trends>365</trends>
|
||
|
<status>0</status>
|
||
|
<value_type>3</value_type>
|
||
|
<allowed_hosts/>
|
||
|
<units>tup/s</units>
|
||
|
<delta>1</delta>
|
||
|
<snmpv3_contextname/>
|
||
|
<snmpv3_securityname/>
|
||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||
|
<snmpv3_authpassphrase/>
|
||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||
|
<snmpv3_privpassphrase/>
|
||
|
<formula>1</formula>
|
||
|
<delay_flex/>
|
||
|
<params/>
|
||
|
<ipmi_sensor/>
|
||
|
<data_type>0</data_type>
|
||
|
<authtype>0</authtype>
|
||
|
<username/>
|
||
|
<password/>
|
||
|
<publickey/>
|
||
|
<privatekey/>
|
||
|
<port/>
|
||
|
<description/>
|
||
|
<inventory_link>0</inventory_link>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>PostgreSQL</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<valuemap/>
|
||
|
<logtimefmt/>
|
||
|
<application_prototypes/>
|
||
|
</item_prototype>
|
||
|
<item_prototype>
|
||
|
<name>[{#DBNAME}] DB Size</name>
|
||
|
<type>0</type>
|
||
|
<snmp_community/>
|
||
|
<multiplier>0</multiplier>
|
||
|
<snmp_oid/>
|
||
|
<key>psql.db_size[{#DBNAME}]</key>
|
||
|
<delay>300</delay>
|
||
|
<history>30</history>
|
||
|
<trends>365</trends>
|
||
|
<status>0</status>
|
||
|
<value_type>3</value_type>
|
||
|
<allowed_hosts/>
|
||
|
<units>B</units>
|
||
|
<delta>0</delta>
|
||
|
<snmpv3_contextname/>
|
||
|
<snmpv3_securityname/>
|
||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||
|
<snmpv3_authpassphrase/>
|
||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||
|
<snmpv3_privpassphrase/>
|
||
|
<formula>1</formula>
|
||
|
<delay_flex/>
|
||
|
<params/>
|
||
|
<ipmi_sensor/>
|
||
|
<data_type>0</data_type>
|
||
|
<authtype>0</authtype>
|
||
|
<username/>
|
||
|
<password/>
|
||
|
<publickey/>
|
||
|
<privatekey/>
|
||
|
<port/>
|
||
|
<description/>
|
||
|
<inventory_link>0</inventory_link>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>PostgreSQL</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<valuemap/>
|
||
|
<logtimefmt/>
|
||
|
<application_prototypes/>
|
||
|
</item_prototype>
|
||
|
<item_prototype>
|
||
|
<name>[{#DBNAME}] Temp bytes</name>
|
||
|
<type>0</type>
|
||
|
<snmp_community/>
|
||
|
<multiplier>0</multiplier>
|
||
|
<snmp_oid/>
|
||
|
<key>psql.db_temp_bytes[{#DBNAME}]</key>
|
||
|
<delay>60</delay>
|
||
|
<history>30</history>
|
||
|
<trends>365</trends>
|
||
|
<status>1</status>
|
||
|
<value_type>3</value_type>
|
||
|
<allowed_hosts/>
|
||
|
<units>Byte</units>
|
||
|
<delta>0</delta>
|
||
|
<snmpv3_contextname/>
|
||
|
<snmpv3_securityname/>
|
||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||
|
<snmpv3_authpassphrase/>
|
||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||
|
<snmpv3_privpassphrase/>
|
||
|
<formula>1</formula>
|
||
|
<delay_flex/>
|
||
|
<params/>
|
||
|
<ipmi_sensor/>
|
||
|
<data_type>0</data_type>
|
||
|
<authtype>0</authtype>
|
||
|
<username/>
|
||
|
<password/>
|
||
|
<publickey/>
|
||
|
<privatekey/>
|
||
|
<port/>
|
||
|
<description/>
|
||
|
<inventory_link>0</inventory_link>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>PostgreSQL</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<valuemap/>
|
||
|
<logtimefmt/>
|
||
|
<application_prototypes/>
|
||
|
</item_prototype>
|
||
|
<item_prototype>
|
||
|
<name>[{#DBNAME}] Committed transactions</name>
|
||
|
<type>0</type>
|
||
|
<snmp_community/>
|
||
|
<multiplier>0</multiplier>
|
||
|
<snmp_oid/>
|
||
|
<key>psql.db_tx_committed[{#DBNAME}]</key>
|
||
|
<delay>60</delay>
|
||
|
<history>30</history>
|
||
|
<trends>365</trends>
|
||
|
<status>0</status>
|
||
|
<value_type>3</value_type>
|
||
|
<allowed_hosts/>
|
||
|
<units>tps</units>
|
||
|
<delta>1</delta>
|
||
|
<snmpv3_contextname/>
|
||
|
<snmpv3_securityname/>
|
||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||
|
<snmpv3_authpassphrase/>
|
||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||
|
<snmpv3_privpassphrase/>
|
||
|
<formula>1</formula>
|
||
|
<delay_flex/>
|
||
|
<params/>
|
||
|
<ipmi_sensor/>
|
||
|
<data_type>0</data_type>
|
||
|
<authtype>0</authtype>
|
||
|
<username/>
|
||
|
<password/>
|
||
|
<publickey/>
|
||
|
<privatekey/>
|
||
|
<port/>
|
||
|
<description/>
|
||
|
<inventory_link>0</inventory_link>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>PostgreSQL</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<valuemap/>
|
||
|
<logtimefmt/>
|
||
|
<application_prototypes/>
|
||
|
</item_prototype>
|
||
|
<item_prototype>
|
||
|
<name>[{#DBNAME}] Rolled back transactions</name>
|
||
|
<type>0</type>
|
||
|
<snmp_community/>
|
||
|
<multiplier>0</multiplier>
|
||
|
<snmp_oid/>
|
||
|
<key>psql.db_tx_rolledback[{#DBNAME}]</key>
|
||
|
<delay>60</delay>
|
||
|
<history>30</history>
|
||
|
<trends>365</trends>
|
||
|
<status>0</status>
|
||
|
<value_type>3</value_type>
|
||
|
<allowed_hosts/>
|
||
|
<units>tps</units>
|
||
|
<delta>1</delta>
|
||
|
<snmpv3_contextname/>
|
||
|
<snmpv3_securityname/>
|
||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||
|
<snmpv3_authpassphrase/>
|
||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||
|
<snmpv3_privpassphrase/>
|
||
|
<formula>1</formula>
|
||
|
<delay_flex/>
|
||
|
<params/>
|
||
|
<ipmi_sensor/>
|
||
|
<data_type>0</data_type>
|
||
|
<authtype>0</authtype>
|
||
|
<username/>
|
||
|
<password/>
|
||
|
<publickey/>
|
||
|
<privatekey/>
|
||
|
<port/>
|
||
|
<description/>
|
||
|
<inventory_link>0</inventory_link>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>PostgreSQL</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<valuemap/>
|
||
|
<logtimefmt/>
|
||
|
<application_prototypes/>
|
||
|
</item_prototype>
|
||
|
<item_prototype>
|
||
|
<name>[{#DBNAME}] Tuples updated</name>
|
||
|
<type>0</type>
|
||
|
<snmp_community/>
|
||
|
<multiplier>0</multiplier>
|
||
|
<snmp_oid/>
|
||
|
<key>psql.db_updated[{#DBNAME}]</key>
|
||
|
<delay>60</delay>
|
||
|
<history>30</history>
|
||
|
<trends>365</trends>
|
||
|
<status>0</status>
|
||
|
<value_type>3</value_type>
|
||
|
<allowed_hosts/>
|
||
|
<units>tup/s</units>
|
||
|
<delta>1</delta>
|
||
|
<snmpv3_contextname/>
|
||
|
<snmpv3_securityname/>
|
||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||
|
<snmpv3_authpassphrase/>
|
||
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||
|
<snmpv3_privpassphrase/>
|
||
|
<formula>1</formula>
|
||
|
<delay_flex/>
|
||
|
<params/>
|
||
|
<ipmi_sensor/>
|
||
|
<data_type>0</data_type>
|
||
|
<authtype>0</authtype>
|
||
|
<username/>
|
||
|
<password/>
|
||
|
<publickey/>
|
||
|
<privatekey/>
|
||
|
<port/>
|
||
|
<description/>
|
||
|
<inventory_link>0</inventory_link>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>PostgreSQL</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<valuemap/>
|
||
|
<logtimefmt/>
|
||
|
<application_prototypes/>
|
||
|
</item_prototype>
|
||
|
</item_prototypes>
|
||
|
<trigger_prototypes>
|
||
|
<trigger_prototype>
|
||
|
<expression>{Template App PostgreSQL:psql.cachehit_ratio[{#DBNAME}].avg(300)}<{$PGCACHEHIT_THRESHOLD}</expression>
|
||
|
<name>[{#DBNAME}] Cache hit ratio is too low</name>
|
||
|
<url/>
|
||
|
<status>1</status>
|
||
|
<priority>1</priority>
|
||
|
<description>Cache hit ratio of last 5 minutes is too low</description>
|
||
|
<type>0</type>
|
||
|
<dependencies/>
|
||
|
</trigger_prototype>
|
||
|
<trigger_prototype>
|
||
|
<expression>{Template App PostgreSQL:psql.db_size[{#DBNAME}].last(0)}>{$PGDBSIZE_THRESHOLD}</expression>
|
||
|
<name>[{#DBNAME}] DB Size is too large</name>
|
||
|
<url/>
|
||
|
<status>1</status>
|
||
|
<priority>1</priority>
|
||
|
<description>Cache hit ratio of last 5 minutes is too low</description>
|
||
|
<type>0</type>
|
||
|
<dependencies/>
|
||
|
</trigger_prototype>
|
||
|
<trigger_prototype>
|
||
|
<expression>{Template App PostgreSQL:psql.db_deadlocks[{#DBNAME}].last(0)}>{$PGDEADLOCK_THRESHOLD}</expression>
|
||
|
<name>[{#DBNAME}] Deadlocks occurred too frequently</name>
|
||
|
<url/>
|
||
|
<status>1</status>
|
||
|
<priority>1</priority>
|
||
|
<description/>
|
||
|
<type>0</type>
|
||
|
<dependencies/>
|
||
|
</trigger_prototype>
|
||
|
<trigger_prototype>
|
||
|
<expression>{Template App PostgreSQL:psql.db_temp_bytes[{#DBNAME}].last(0)}>{$PGTEMPBYTES_THRESHOLD}</expression>
|
||
|
<name>[{#DBNAME}] Too many temp bytes</name>
|
||
|
<url/>
|
||
|
<status>1</status>
|
||
|
<priority>1</priority>
|
||
|
<description/>
|
||
|
<type>0</type>
|
||
|
<dependencies/>
|
||
|
</trigger_prototype>
|
||
|
</trigger_prototypes>
|
||
|
<graph_prototypes>
|
||
|
<graph_prototype>
|
||
|
<name>[PostgreSQL] [{#DBNAME}] Cache Hit Ratio</name>
|
||
|
<width>900</width>
|
||
|
<height>200</height>
|
||
|
<yaxismin>0.0000</yaxismin>
|
||
|
<yaxismax>100.0000</yaxismax>
|
||
|
<show_work_period>1</show_work_period>
|
||
|
<show_triggers>1</show_triggers>
|
||
|
<type>0</type>
|
||
|
<show_legend>1</show_legend>
|
||
|
<show_3d>0</show_3d>
|
||
|
<percent_left>0.0000</percent_left>
|
||
|
<percent_right>0.0000</percent_right>
|
||
|
<ymin_type_1>0</ymin_type_1>
|
||
|
<ymax_type_1>0</ymax_type_1>
|
||
|
<ymin_item_1>0</ymin_item_1>
|
||
|
<ymax_item_1>0</ymax_item_1>
|
||
|
<graph_items>
|
||
|
<graph_item>
|
||
|
<sortorder>0</sortorder>
|
||
|
<drawtype>0</drawtype>
|
||
|
<color>C80000</color>
|
||
|
<yaxisside>0</yaxisside>
|
||
|
<calc_fnc>2</calc_fnc>
|
||
|
<type>0</type>
|
||
|
<item>
|
||
|
<host>Template App PostgreSQL</host>
|
||
|
<key>psql.cachehit_ratio[{#DBNAME}]</key>
|
||
|
</item>
|
||
|
</graph_item>
|
||
|
</graph_items>
|
||
|
</graph_prototype>
|
||
|
<graph_prototype>
|
||
|
<name>[PostgreSQL] [{#DBNAME}] DB Size</name>
|
||
|
<width>900</width>
|
||
|
<height>200</height>
|
||
|
<yaxismin>0.0000</yaxismin>
|
||
|
<yaxismax>150000000.0000</yaxismax>
|
||
|
<show_work_period>1</show_work_period>
|
||
|
<show_triggers>1</show_triggers>
|
||
|
<type>0</type>
|
||
|
<show_legend>1</show_legend>
|
||
|
<show_3d>0</show_3d>
|
||
|
<percent_left>0.0000</percent_left>
|
||
|
<percent_right>0.0000</percent_right>
|
||
|
<ymin_type_1>0</ymin_type_1>
|
||
|
<ymax_type_1>0</ymax_type_1>
|
||
|
<ymin_item_1>0</ymin_item_1>
|
||
|
<ymax_item_1>0</ymax_item_1>
|
||
|
<graph_items>
|
||
|
<graph_item>
|
||
|
<sortorder>0</sortorder>
|
||
|
<drawtype>0</drawtype>
|
||
|
<color>00C800</color>
|
||
|
<yaxisside>0</yaxisside>
|
||
|
<calc_fnc>2</calc_fnc>
|
||
|
<type>0</type>
|
||
|
<item>
|
||
|
<host>Template App PostgreSQL</host>
|
||
|
<key>psql.db_size[{#DBNAME}]</key>
|
||
|
</item>
|
||
|
</graph_item>
|
||
|
</graph_items>
|
||
|
</graph_prototype>
|
||
|
<graph_prototype>
|
||
|
<name>[PostgreSQL] [{#DBNAME}] Deadlocks</name>
|
||
|
<width>900</width>
|
||
|
<height>200</height>
|
||
|
<yaxismin>0.0000</yaxismin>
|
||
|
<yaxismax>100.0000</yaxismax>
|
||
|
<show_work_period>1</show_work_period>
|
||
|
<show_triggers>1</show_triggers>
|
||
|
<type>0</type>
|
||
|
<show_legend>1</show_legend>
|
||
|
<show_3d>0</show_3d>
|
||
|
<percent_left>0.0000</percent_left>
|
||
|
<percent_right>0.0000</percent_right>
|
||
|
<ymin_type_1>0</ymin_type_1>
|
||
|
<ymax_type_1>0</ymax_type_1>
|
||
|
<ymin_item_1>0</ymin_item_1>
|
||
|
<ymax_item_1>0</ymax_item_1>
|
||
|
<graph_items>
|
||
|
<graph_item>
|
||
|
<sortorder>0</sortorder>
|
||
|
<drawtype>0</drawtype>
|
||
|
<color>C80000</color>
|
||
|
<yaxisside>0</yaxisside>
|
||
|
<calc_fnc>2</calc_fnc>
|
||
|
<type>0</type>
|
||
|
<item>
|
||
|
<host>Template App PostgreSQL</host>
|
||
|
<key>psql.db_deadlocks[{#DBNAME}]</key>
|
||
|
</item>
|
||
|
</graph_item>
|
||
|
</graph_items>
|
||
|
</graph_prototype>
|
||
|
<graph_prototype>
|
||
|
<name>[PostgreSQL] [{#DBNAME}] Number of commited/rolled back transactions</name>
|
||
|
<width>900</width>
|
||
|
<height>200</height>
|
||
|
<yaxismin>0.0000</yaxismin>
|
||
|
<yaxismax>100.0000</yaxismax>
|
||
|
<show_work_period>1</show_work_period>
|
||
|
<show_triggers>1</show_triggers>
|
||
|
<type>0</type>
|
||
|
<show_legend>1</show_legend>
|
||
|
<show_3d>0</show_3d>
|
||
|
<percent_left>0.0000</percent_left>
|
||
|
<percent_right>0.0000</percent_right>
|
||
|
<ymin_type_1>0</ymin_type_1>
|
||
|
<ymax_type_1>0</ymax_type_1>
|
||
|
<ymin_item_1>0</ymin_item_1>
|
||
|
<ymax_item_1>0</ymax_item_1>
|
||
|
<graph_items>
|
||
|
<graph_item>
|
||
|
<sortorder>0</sortorder>
|
||
|
<drawtype>0</drawtype>
|
||
|
<color>00C800</color>
|
||
|
<yaxisside>0</yaxisside>
|
||
|
<calc_fnc>2</calc_fnc>
|
||
|
<type>0</type>
|
||
|
<item>
|
||
|
<host>Template App PostgreSQL</host>
|
||
|
<key>psql.db_tx_committed[{#DBNAME}]</key>
|
||
|
</item>
|
||
|
</graph_item>
|
||
|
<graph_item>
|
||
|
<sortorder>1</sortorder>
|
||
|
<drawtype>0</drawtype>
|
||
|
<color>C80000</color>
|
||
|
<yaxisside>0</yaxisside>
|
||
|
<calc_fnc>2</calc_fnc>
|
||
|
<type>0</type>
|
||
|
<item>
|
||
|
<host>Template App PostgreSQL</host>
|
||
|
<key>psql.db_tx_rolledback[{#DBNAME}]</key>
|
||
|
</item>
|
||
|
</graph_item>
|
||
|
</graph_items>
|
||
|
</graph_prototype>
|
||
|
<graph_prototype>
|
||
|
<name>[PostgreSQL] [{#DBNAME}] Temp file size</name>
|
||
|
<width>900</width>
|
||
|
<height>200</height>
|
||
|
<yaxismin>0.0000</yaxismin>
|
||
|
<yaxismax>150000000.0000</yaxismax>
|
||
|
<show_work_period>1</show_work_period>
|
||
|
<show_triggers>1</show_triggers>
|
||
|
<type>0</type>
|
||
|
<show_legend>1</show_legend>
|
||
|
<show_3d>0</show_3d>
|
||
|
<percent_left>0.0000</percent_left>
|
||
|
<percent_right>0.0000</percent_right>
|
||
|
<ymin_type_1>0</ymin_type_1>
|
||
|
<ymax_type_1>0</ymax_type_1>
|
||
|
<ymin_item_1>0</ymin_item_1>
|
||
|
<ymax_item_1>0</ymax_item_1>
|
||
|
<graph_items>
|
||
|
<graph_item>
|
||
|
<sortorder>0</sortorder>
|
||
|
<drawtype>0</drawtype>
|
||
|
<color>00C800</color>
|
||
|
<yaxisside>0</yaxisside>
|
||
|
<calc_fnc>2</calc_fnc>
|
||
|
<type>0</type>
|
||
|
<item>
|
||
|
<host>Template App PostgreSQL</host>
|
||
|
<key>psql.db_temp_bytes[{#DBNAME}]</key>
|
||
|
</item>
|
||
|
</graph_item>
|
||
|
</graph_items>
|
||
|
</graph_prototype>
|
||
|
</graph_prototypes>
|
||
|
<host_prototypes/>
|
||
|
</discovery_rule>
|
||
|
</discovery_rules>
|
||
|
<macros>
|
||
|
<macro>
|
||
|
<macro>{$PGCACHEHIT_THRESHOLD}</macro>
|
||
|
<value>90</value>
|
||
|
</macro>
|
||
|
<macro>
|
||
|
<macro>{$PGCHECKPOINTS_THRESHOLD}</macro>
|
||
|
<value>10</value>
|
||
|
</macro>
|
||
|
<macro>
|
||
|
<macro>{$PGCONNECTIONS_THRESHOLD}</macro>
|
||
|
<value>95</value>
|
||
|
</macro>
|
||
|
<macro>
|
||
|
<macro>{$PGDBSIZE_THRESHOLD}</macro>
|
||
|
<value>1073741824</value>
|
||
|
</macro>
|
||
|
<macro>
|
||
|
<macro>{$PGDEADLOCK_THRESHHOLD}</macro>
|
||
|
<value>0</value>
|
||
|
</macro>
|
||
|
<macro>
|
||
|
<macro>{$PGDEADLOCK_THRESHOLD}</macro>
|
||
|
<value>0</value>
|
||
|
</macro>
|
||
|
<macro>
|
||
|
<macro>{$PGSLOWQUERY_THRESHOLD}</macro>
|
||
|
<value>10</value>
|
||
|
</macro>
|
||
|
<macro>
|
||
|
<macro>{$PGTEMPBYTES_THRESHOLD}</macro>
|
||
|
<value>8388608</value>
|
||
|
</macro>
|
||
|
</macros>
|
||
|
<templates/>
|
||
|
<screens/>
|
||
|
</template>
|
||
|
</templates>
|
||
|
<triggers>
|
||
|
<trigger>
|
||
|
<expression>{Template App PostgreSQL:psql.checkpoints_req.last(0)}>{$PGCHECKPOINTS_THRESHOLD}</expression>
|
||
|
<name>Checkpoints are occurring too frequently</name>
|
||
|
<url/>
|
||
|
<status>0</status>
|
||
|
<priority>1</priority>
|
||
|
<description/>
|
||
|
<type>0</type>
|
||
|
<dependencies/>
|
||
|
</trigger>
|
||
|
<trigger>
|
||
|
<expression>{Template App PostgreSQL:psql.server_connections.last(0)}>{$PGCONNECTIONS_THRESHOLD}</expression>
|
||
|
<name>Many connections are forked.</name>
|
||
|
<url/>
|
||
|
<status>0</status>
|
||
|
<priority>1</priority>
|
||
|
<description/>
|
||
|
<type>0</type>
|
||
|
<dependencies/>
|
||
|
</trigger>
|
||
|
<trigger>
|
||
|
<expression>{Template App PostgreSQL:proc.num[,postgres,,].last(0)}=0</expression>
|
||
|
<name>PostgreSQL process is not running.</name>
|
||
|
<url/>
|
||
|
<status>0</status>
|
||
|
<priority>4</priority>
|
||
|
<description/>
|
||
|
<type>0</type>
|
||
|
<dependencies/>
|
||
|
</trigger>
|
||
|
<trigger>
|
||
|
<expression>{Template App PostgreSQL:psql.running.last(0)}<>0</expression>
|
||
|
<name>PostgreSQL service is not running.</name>
|
||
|
<url/>
|
||
|
<status>0</status>
|
||
|
<priority>4</priority>
|
||
|
<description/>
|
||
|
<type>0</type>
|
||
|
<dependencies/>
|
||
|
</trigger>
|
||
|
<trigger>
|
||
|
<expression>{Template App PostgreSQL:psql.slow_queries[{$PGSLOWQUERY_THRESHOLD}].last(0)}>{$PGSLOWQUERY_THRESHOLD}</expression>
|
||
|
<name>Too many slow queries</name>
|
||
|
<url/>
|
||
|
<status>1</status>
|
||
|
<priority>1</priority>
|
||
|
<description/>
|
||
|
<type>0</type>
|
||
|
<dependencies/>
|
||
|
</trigger>
|
||
|
<trigger>
|
||
|
<expression>{Template App PostgreSQL:psql.version.diff(0)}>0</expression>
|
||
|
<name>Version of PostgreSQL server(d) was changed</name>
|
||
|
<url/>
|
||
|
<status>0</status>
|
||
|
<priority>1</priority>
|
||
|
<description/>
|
||
|
<type>0</type>
|
||
|
<dependencies/>
|
||
|
</trigger>
|
||
|
</triggers>
|
||
|
<graphs>
|
||
|
<graph>
|
||
|
<name>Checkpoint count</name>
|
||
|
<width>900</width>
|
||
|
<height>200</height>
|
||
|
<yaxismin>0.0000</yaxismin>
|
||
|
<yaxismax>100.0000</yaxismax>
|
||
|
<show_work_period>1</show_work_period>
|
||
|
<show_triggers>1</show_triggers>
|
||
|
<type>0</type>
|
||
|
<show_legend>1</show_legend>
|
||
|
<show_3d>0</show_3d>
|
||
|
<percent_left>0.0000</percent_left>
|
||
|
<percent_right>0.0000</percent_right>
|
||
|
<ymin_type_1>0</ymin_type_1>
|
||
|
<ymax_type_1>0</ymax_type_1>
|
||
|
<ymin_item_1>0</ymin_item_1>
|
||
|
<ymax_item_1>0</ymax_item_1>
|
||
|
<graph_items>
|
||
|
<graph_item>
|
||
|
<sortorder>0</sortorder>
|
||
|
<drawtype>0</drawtype>
|
||
|
<color>C80000</color>
|
||
|
<yaxisside>0</yaxisside>
|
||
|
<calc_fnc>2</calc_fnc>
|
||
|
<type>0</type>
|
||
|
<item>
|
||
|
<host>Template App PostgreSQL</host>
|
||
|
<key>psql.checkpoints_req</key>
|
||
|
</item>
|
||
|
</graph_item>
|
||
|
<graph_item>
|
||
|
<sortorder>1</sortorder>
|
||
|
<drawtype>0</drawtype>
|
||
|
<color>00C800</color>
|
||
|
<yaxisside>0</yaxisside>
|
||
|
<calc_fnc>2</calc_fnc>
|
||
|
<type>0</type>
|
||
|
<item>
|
||
|
<host>Template App PostgreSQL</host>
|
||
|
<key>psql.checkpoints_timed</key>
|
||
|
</item>
|
||
|
</graph_item>
|
||
|
</graph_items>
|
||
|
</graph>
|
||
|
<graph>
|
||
|
<name>Connection count</name>
|
||
|
<width>900</width>
|
||
|
<height>200</height>
|
||
|
<yaxismin>0.0000</yaxismin>
|
||
|
<yaxismax>100.0000</yaxismax>
|
||
|
<show_work_period>1</show_work_period>
|
||
|
<show_triggers>1</show_triggers>
|
||
|
<type>0</type>
|
||
|
<show_legend>1</show_legend>
|
||
|
<show_3d>0</show_3d>
|
||
|
<percent_left>0.0000</percent_left>
|
||
|
<percent_right>0.0000</percent_right>
|
||
|
<ymin_type_1>0</ymin_type_1>
|
||
|
<ymax_type_1>0</ymax_type_1>
|
||
|
<ymin_item_1>0</ymin_item_1>
|
||
|
<ymax_item_1>0</ymax_item_1>
|
||
|
<graph_items>
|
||
|
<graph_item>
|
||
|
<sortorder>0</sortorder>
|
||
|
<drawtype>0</drawtype>
|
||
|
<color>00C800</color>
|
||
|
<yaxisside>0</yaxisside>
|
||
|
<calc_fnc>2</calc_fnc>
|
||
|
<type>0</type>
|
||
|
<item>
|
||
|
<host>Template App PostgreSQL</host>
|
||
|
<key>psql.server_connections</key>
|
||
|
</item>
|
||
|
</graph_item>
|
||
|
<graph_item>
|
||
|
<sortorder>1</sortorder>
|
||
|
<drawtype>0</drawtype>
|
||
|
<color>0000C8</color>
|
||
|
<yaxisside>0</yaxisside>
|
||
|
<calc_fnc>2</calc_fnc>
|
||
|
<type>0</type>
|
||
|
<item>
|
||
|
<host>Template App PostgreSQL</host>
|
||
|
<key>psql.active_connections</key>
|
||
|
</item>
|
||
|
</graph_item>
|
||
|
<graph_item>
|
||
|
<sortorder>2</sortorder>
|
||
|
<drawtype>0</drawtype>
|
||
|
<color>C800C8</color>
|
||
|
<yaxisside>0</yaxisside>
|
||
|
<calc_fnc>2</calc_fnc>
|
||
|
<type>0</type>
|
||
|
<item>
|
||
|
<host>Template App PostgreSQL</host>
|
||
|
<key>psql.idle_connections</key>
|
||
|
</item>
|
||
|
</graph_item>
|
||
|
<graph_item>
|
||
|
<sortorder>3</sortorder>
|
||
|
<drawtype>0</drawtype>
|
||
|
<color>00C8C8</color>
|
||
|
<yaxisside>0</yaxisside>
|
||
|
<calc_fnc>2</calc_fnc>
|
||
|
<type>0</type>
|
||
|
<item>
|
||
|
<host>Template App PostgreSQL</host>
|
||
|
<key>psql.idle_tx_connections</key>
|
||
|
</item>
|
||
|
</graph_item>
|
||
|
<graph_item>
|
||
|
<sortorder>4</sortorder>
|
||
|
<drawtype>0</drawtype>
|
||
|
<color>C8C800</color>
|
||
|
<yaxisside>0</yaxisside>
|
||
|
<calc_fnc>2</calc_fnc>
|
||
|
<type>0</type>
|
||
|
<item>
|
||
|
<host>Template App PostgreSQL</host>
|
||
|
<key>psql.locks_waiting</key>
|
||
|
</item>
|
||
|
</graph_item>
|
||
|
</graph_items>
|
||
|
</graph>
|
||
|
</graphs>
|
||
|
</zabbix_export>
|