zabbix-templates/postgres_tpl.xml in zabbix-ruby-client-0.0.20 vs zabbix-templates/postgres_tpl.xml in zabbix-ruby-client-0.0.21

- old
+ new

@@ -1,9 +1,9 @@ <?xml version="1.0" encoding="UTF-8"?> <zabbix_export> <version>2.0</version> - <date>2013-12-13T09:34:45Z</date> + <date>2014-07-31T19:37:04Z</date> <groups> <group> <name>3. Service Postgres</name> </group> </groups> @@ -19,11 +19,558 @@ <applications> <application> <name>Postgres</name> </application> </applications> - <items/> + <items> + <item> + <name>Postgres buffers alloc</name> + <type>2</type> + <snmp_community/> + <multiplier>0</multiplier> + <snmp_oid/> + <key>postgres.buffers_alloc</key> + <delay>0</delay> + <history>90</history> + <trends>365</trends> + <status>0</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>Postgres</name> + </application> + </applications> + <valuemap/> + </item> + <item> + <name>Postgres buffers backend</name> + <type>2</type> + <snmp_community/> + <multiplier>0</multiplier> + <snmp_oid/> + <key>postgres.buffers_backend</key> + <delay>0</delay> + <history>90</history> + <trends>365</trends> + <status>0</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>Postgres</name> + </application> + </applications> + <valuemap/> + </item> + <item> + <name>Postgres buffers backend fsync</name> + <type>2</type> + <snmp_community/> + <multiplier>0</multiplier> + <snmp_oid/> + <key>postgres.buffers_backend_fsync</key> + <delay>0</delay> + <history>90</history> + <trends>365</trends> + <status>0</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>Postgres</name> + </application> + </applications> + <valuemap/> + </item> + <item> + <name>Postgres buffers checkpoint</name> + <type>2</type> + <snmp_community/> + <multiplier>0</multiplier> + <snmp_oid/> + <key>postgres.buffers_checkpoint</key> + <delay>0</delay> + <history>90</history> + <trends>365</trends> + <status>0</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>Postgres</name> + </application> + </applications> + <valuemap/> + </item> + <item> + <name>Postgres buffers clean</name> + <type>2</type> + <snmp_community/> + <multiplier>0</multiplier> + <snmp_oid/> + <key>postgres.buffers_clean</key> + <delay>0</delay> + <history>90</history> + <trends>365</trends> + <status>0</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>Postgres</name> + </application> + </applications> + <valuemap/> + </item> + <item> + <name>Postgres checkpoints segments</name> + <type>2</type> + <snmp_community/> + <multiplier>0</multiplier> + <snmp_oid/> + <key>postgres.checkpoints_req</key> + <delay>0</delay> + <history>90</history> + <trends>365</trends> + <status>0</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>Postgres</name> + </application> + </applications> + <valuemap/> + </item> + <item> + <name>Postgres checkpoints sync</name> + <type>2</type> + <snmp_community/> + <multiplier>0</multiplier> + <snmp_oid/> + <key>postgres.checkpoint_sync_time</key> + <delay>0</delay> + <history>90</history> + <trends>365</trends> + <status>0</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>Postgres</name> + </application> + </applications> + <valuemap/> + </item> + <item> + <name>Postgres checkpoints timed</name> + <type>2</type> + <snmp_community/> + <multiplier>0</multiplier> + <snmp_oid/> + <key>postgres.checkpoints_timed</key> + <delay>0</delay> + <history>90</history> + <trends>365</trends> + <status>0</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>Postgres</name> + </application> + </applications> + <valuemap/> + </item> + <item> + <name>Postgres checkpoints write</name> + <type>2</type> + <snmp_community/> + <multiplier>0</multiplier> + <snmp_oid/> + <key>postgres.checkpoint_write_time</key> + <delay>0</delay> + <history>90</history> + <trends>365</trends> + <status>0</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>Postgres</name> + </application> + </applications> + <valuemap/> + </item> + <item> + <name>Postgres connections active</name> + <type>2</type> + <snmp_community/> + <multiplier>0</multiplier> + <snmp_oid/> + <key>postgres.connections.active</key> + <delay>0</delay> + <history>90</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>Postgres</name> + </application> + </applications> + <valuemap/> + </item> + <item> + <name>Postgres connections idle</name> + <type>2</type> + <snmp_community/> + <multiplier>0</multiplier> + <snmp_oid/> + <key>postgres.connections.idle</key> + <delay>0</delay> + <history>90</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>Postgres</name> + </application> + </applications> + <valuemap/> + </item> + <item> + <name>Postgres connections idle in transaction</name> + <type>2</type> + <snmp_community/> + <multiplier>0</multiplier> + <snmp_oid/> + <key>postgres.connections.idle_in_transaction</key> + <delay>0</delay> + <history>90</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>Postgres</name> + </application> + </applications> + <valuemap/> + </item> + <item> + <name>Postgres maxwritten clean</name> + <type>2</type> + <snmp_community/> + <multiplier>0</multiplier> + <snmp_oid/> + <key>postgres.maxwritten_clean</key> + <delay>0</delay> + <history>90</history> + <trends>365</trends> + <status>0</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>Postgres</name> + </application> + </applications> + <valuemap/> + </item> + </items> <discovery_rules> <discovery_rule> <name>Database</name> <type>2</type> <snmp_community/> @@ -704,10 +1251,54 @@ <ymax_item_1>0</ymax_item_1> <graph_items> <graph_item> <sortorder>0</sortorder> <drawtype>0</drawtype> + <color>00AA00</color> + <yaxisside>0</yaxisside> + <calc_fnc>7</calc_fnc> + <type>0</type> + <item> + <host>Postgres Stats</host> + <key>postgres.xact_commit[{#DBNAME}]</key> + </item> + </graph_item> + <graph_item> + <sortorder>1</sortorder> + <drawtype>0</drawtype> + <color>FF6666</color> + <yaxisside>0</yaxisside> + <calc_fnc>7</calc_fnc> + <type>0</type> + <item> + <host>Postgres Stats</host> + <key>postgres.xact_rollback[{#DBNAME}]</key> + </item> + </graph_item> + </graph_items> + </graph_prototype> + <graph_prototype> + <name>PG {#DBNAME} blocks</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>1</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> @@ -734,11 +1325,11 @@ <yaxisside>0</yaxisside> <calc_fnc>2</calc_fnc> <type>0</type> <item> <host>Postgres Stats</host> - <key>postgres.xact_commit[{#DBNAME}]</key> + <key>postgres.blks_read[{#DBNAME}]</key> </item> </graph_item> <graph_item> <sortorder>3</sortorder> <drawtype>0</drawtype> @@ -746,24 +1337,316 @@ <yaxisside>0</yaxisside> <calc_fnc>2</calc_fnc> <type>0</type> <item> <host>Postgres Stats</host> - <key>postgres.xact_rollback[{#DBNAME}]</key> + <key>postgres.blk_write_time[{#DBNAME}]</key> </item> </graph_item> </graph_items> </graph_prototype> <graph_prototype> + <name>PG {#DBNAME} connections</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>1</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>1</sortorder> + <drawtype>0</drawtype> + <color>FF6666</color> + <yaxisside>0</yaxisside> + <calc_fnc>2</calc_fnc> + <type>0</type> + <item> + <host>Postgres Stats</host> + <key>postgres.conflicts[{#DBNAME}]</key> + </item> + </graph_item> + <graph_item> + <sortorder>0</sortorder> + <drawtype>2</drawtype> + <color>00AA00</color> + <yaxisside>0</yaxisside> + <calc_fnc>2</calc_fnc> + <type>0</type> + <item> + <host>Postgres Stats</host> + <key>postgres.numbackends[{#DBNAME}]</key> + </item> + </graph_item> + <graph_item> + <sortorder>2</sortorder> + <drawtype>0</drawtype> + <color>999999</color> + <yaxisside>0</yaxisside> + <calc_fnc>2</calc_fnc> + <type>0</type> + <item> + <host>Postgres Stats</host> + <key>postgres.deadlocks[{#DBNAME}]</key> + </item> + </graph_item> + </graph_items> + </graph_prototype> + <graph_prototype> <name>PG {#DBNAME} Tuples</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>1</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>1</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>Postgres Stats</host> + <key>postgres.tup_deleted[{#DBNAME}]</key> + </item> + </graph_item> + <graph_item> + <sortorder>2</sortorder> + <drawtype>0</drawtype> + <color>00AAAA</color> + <yaxisside>0</yaxisside> + <calc_fnc>2</calc_fnc> + <type>0</type> + <item> + <host>Postgres Stats</host> + <key>postgres.tup_fetched[{#DBNAME}]</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>Postgres Stats</host> + <key>postgres.tup_inserted[{#DBNAME}]</key> + </item> + </graph_item> + <graph_item> + <sortorder>3</sortorder> + <drawtype>0</drawtype> + <color>009900</color> + <yaxisside>0</yaxisside> + <calc_fnc>2</calc_fnc> + <type>0</type> + <item> + <host>Postgres Stats</host> + <key>postgres.tup_returned[{#DBNAME}]</key> + </item> + </graph_item> + </graph_items> + </graph_prototype> + <graph_prototype> + <name>s. PG {#DBNAME} activity</name> + <width>900</width> + <height>200</height> + <yaxismin>0.0000</yaxismin> + <yaxismax>100.0000</yaxismax> + <show_work_period>1</show_work_period> + <show_triggers>0</show_triggers> + <type>0</type> + <show_legend>0</show_legend> + <show_3d>0</show_3d> + <percent_left>0.0000</percent_left> + <percent_right>0.0000</percent_right> + <ymin_type_1>1</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>00AA00</color> + <yaxisside>0</yaxisside> + <calc_fnc>7</calc_fnc> + <type>0</type> + <item> + <host>Postgres Stats</host> + <key>postgres.xact_commit[{#DBNAME}]</key> + </item> + </graph_item> + <graph_item> + <sortorder>1</sortorder> + <drawtype>0</drawtype> + <color>FF6666</color> + <yaxisside>0</yaxisside> + <calc_fnc>7</calc_fnc> + <type>0</type> + <item> + <host>Postgres Stats</host> + <key>postgres.xact_rollback[{#DBNAME}]</key> + </item> + </graph_item> + </graph_items> + </graph_prototype> + <graph_prototype> + <name>s. PG {#DBNAME} blocks</name> + <width>900</width> + <height>200</height> + <yaxismin>0.0000</yaxismin> + <yaxismax>100.0000</yaxismax> + <show_work_period>1</show_work_period> + <show_triggers>0</show_triggers> + <type>0</type> + <show_legend>0</show_legend> + <show_3d>0</show_3d> + <percent_left>0.0000</percent_left> + <percent_right>0.0000</percent_right> + <ymin_type_1>1</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>Postgres Stats</host> + <key>postgres.blk_read_time[{#DBNAME}]</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>Postgres Stats</host> + <key>postgres.blks_hit[{#DBNAME}]</key> + </item> + </graph_item> + <graph_item> + <sortorder>2</sortorder> + <drawtype>0</drawtype> + <color>0000C8</color> + <yaxisside>0</yaxisside> + <calc_fnc>2</calc_fnc> + <type>0</type> + <item> + <host>Postgres Stats</host> + <key>postgres.blks_read[{#DBNAME}]</key> + </item> + </graph_item> + <graph_item> + <sortorder>3</sortorder> + <drawtype>0</drawtype> + <color>C800C8</color> + <yaxisside>0</yaxisside> + <calc_fnc>2</calc_fnc> + <type>0</type> + <item> + <host>Postgres Stats</host> + <key>postgres.blk_write_time[{#DBNAME}]</key> + </item> + </graph_item> + </graph_items> + </graph_prototype> + <graph_prototype> + <name>s. PG {#DBNAME} connections</name> + <width>900</width> + <height>200</height> + <yaxismin>0.0000</yaxismin> + <yaxismax>100.0000</yaxismax> + <show_work_period>1</show_work_period> + <show_triggers>0</show_triggers> + <type>0</type> + <show_legend>0</show_legend> + <show_3d>0</show_3d> + <percent_left>0.0000</percent_left> + <percent_right>0.0000</percent_right> + <ymin_type_1>1</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>2</drawtype> + <color>00AA00</color> + <yaxisside>0</yaxisside> + <calc_fnc>2</calc_fnc> + <type>0</type> + <item> + <host>Postgres Stats</host> + <key>postgres.numbackends[{#DBNAME}]</key> + </item> + </graph_item> + <graph_item> + <sortorder>1</sortorder> + <drawtype>0</drawtype> + <color>FF6666</color> + <yaxisside>0</yaxisside> + <calc_fnc>2</calc_fnc> + <type>0</type> + <item> + <host>Postgres Stats</host> + <key>postgres.conflicts[{#DBNAME}]</key> + </item> + </graph_item> + <graph_item> + <sortorder>2</sortorder> + <drawtype>0</drawtype> + <color>999999</color> + <yaxisside>0</yaxisside> + <calc_fnc>2</calc_fnc> + <type>0</type> + <item> + <host>Postgres Stats</host> + <key>postgres.deadlocks[{#DBNAME}]</key> + </item> + </graph_item> + </graph_items> + </graph_prototype> + <graph_prototype> + <name>s. PG {#DBNAME} Tuples</name> + <width>900</width> + <height>200</height> + <yaxismin>0.0000</yaxismin> + <yaxismax>100.0000</yaxismax> + <show_work_period>1</show_work_period> + <show_triggers>0</show_triggers> + <type>1</type> + <show_legend>0</show_legend> <show_3d>0</show_3d> <percent_left>0.0000</percent_left> <percent_right>0.0000</percent_right> <ymin_type_1>1</ymin_type_1> <ymax_type_1>0</ymax_type_1>