zabbix-ruby-client 0.0.20 → 0.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +2 -1
- data/.ruby-version +1 -0
- data/CHANGELOG.md +10 -1
- data/README.md +7 -2
- data/lib/zabbix-ruby-client/plugin_base.rb +28 -0
- data/lib/zabbix-ruby-client/plugins/ovpn.rb +55 -0
- data/lib/zabbix-ruby-client/plugins/postgres.rb +45 -0
- data/lib/zabbix-ruby-client/runner.rb +11 -1
- data/lib/zabbix-ruby-client/version.rb +1 -1
- data/spec/files/system/net_dev +1 -1
- data/spec/lib/cli_spec.rb +7 -7
- data/spec/lib/data_spec.rb +5 -5
- data/spec/lib/plugin_base_spec.rb +6 -6
- data/spec/lib/plugins/apache_spec.rb +1 -1
- data/spec/lib/plugins/apt_spec.rb +5 -5
- data/spec/lib/plugins/cpu_spec.rb +3 -3
- data/spec/lib/plugins/disk_spec.rb +40 -40
- data/spec/lib/plugins/load_spec.rb +5 -5
- data/spec/lib/plugins/memory_spec.rb +52 -52
- data/spec/lib/plugins/network_spec.rb +28 -29
- data/spec/lib/runner_spec.rb +21 -8
- data/zabbix-templates/apache_tpl.xml +115 -46
- data/zabbix-templates/apt_tpl.xml +13 -4
- data/zabbix-templates/cisco_tpl.xml +2089 -0
- data/zabbix-templates/cpu_tpl.xml +116 -53
- data/zabbix-templates/disk_tpl.xml +75 -29
- data/zabbix-templates/load_tpl.xml +21 -9
- data/zabbix-templates/memory_tpl.xml +52 -28
- data/zabbix-templates/mysql_tpl.xml +70 -28
- data/zabbix-templates/network_tpl.xml +40 -96
- data/zabbix-templates/nginx_tpl.xml +37 -16
- data/zabbix-templates/openvpn_tpl.xml +312 -0
- data/zabbix-templates/postgres_tpl.xml +891 -8
- data/zabbix-templates/redis_tpl.xml +46 -19
- data/zabbix-templates/sysinfo_tpl.xml +21 -3
- data/zabbix-templates/system_tpl.xml +339 -3
- metadata +26 -42
| @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            <?xml version="1.0" encoding="UTF-8"?>
         | 
| 2 2 | 
             
            <zabbix_export>
         | 
| 3 3 | 
             
                <version>2.0</version>
         | 
| 4 | 
            -
                <date> | 
| 4 | 
            +
                <date>2014-07-31T19:37:04Z</date>
         | 
| 5 5 | 
             
                <groups>
         | 
| 6 6 | 
             
                    <group>
         | 
| 7 7 | 
             
                        <name>3. Service Postgres</name>
         | 
| @@ -21,7 +21,554 @@ | |
| 21 21 | 
             
                                <name>Postgres</name>
         | 
| 22 22 | 
             
                            </application>
         | 
| 23 23 | 
             
                        </applications>
         | 
| 24 | 
            -
                        <items | 
| 24 | 
            +
                        <items>
         | 
| 25 | 
            +
                            <item>
         | 
| 26 | 
            +
                                <name>Postgres buffers alloc</name>
         | 
| 27 | 
            +
                                <type>2</type>
         | 
| 28 | 
            +
                                <snmp_community/>
         | 
| 29 | 
            +
                                <multiplier>0</multiplier>
         | 
| 30 | 
            +
                                <snmp_oid/>
         | 
| 31 | 
            +
                                <key>postgres.buffers_alloc</key>
         | 
| 32 | 
            +
                                <delay>0</delay>
         | 
| 33 | 
            +
                                <history>90</history>
         | 
| 34 | 
            +
                                <trends>365</trends>
         | 
| 35 | 
            +
                                <status>0</status>
         | 
| 36 | 
            +
                                <value_type>3</value_type>
         | 
| 37 | 
            +
                                <allowed_hosts/>
         | 
| 38 | 
            +
                                <units/>
         | 
| 39 | 
            +
                                <delta>2</delta>
         | 
| 40 | 
            +
                                <snmpv3_contextname/>
         | 
| 41 | 
            +
                                <snmpv3_securityname/>
         | 
| 42 | 
            +
                                <snmpv3_securitylevel>0</snmpv3_securitylevel>
         | 
| 43 | 
            +
                                <snmpv3_authprotocol>0</snmpv3_authprotocol>
         | 
| 44 | 
            +
                                <snmpv3_authpassphrase/>
         | 
| 45 | 
            +
                                <snmpv3_privprotocol>0</snmpv3_privprotocol>
         | 
| 46 | 
            +
                                <snmpv3_privpassphrase/>
         | 
| 47 | 
            +
                                <formula>1</formula>
         | 
| 48 | 
            +
                                <delay_flex/>
         | 
| 49 | 
            +
                                <params/>
         | 
| 50 | 
            +
                                <ipmi_sensor/>
         | 
| 51 | 
            +
                                <data_type>0</data_type>
         | 
| 52 | 
            +
                                <authtype>0</authtype>
         | 
| 53 | 
            +
                                <username/>
         | 
| 54 | 
            +
                                <password/>
         | 
| 55 | 
            +
                                <publickey/>
         | 
| 56 | 
            +
                                <privatekey/>
         | 
| 57 | 
            +
                                <port/>
         | 
| 58 | 
            +
                                <description/>
         | 
| 59 | 
            +
                                <inventory_link>0</inventory_link>
         | 
| 60 | 
            +
                                <applications>
         | 
| 61 | 
            +
                                    <application>
         | 
| 62 | 
            +
                                        <name>Postgres</name>
         | 
| 63 | 
            +
                                    </application>
         | 
| 64 | 
            +
                                </applications>
         | 
| 65 | 
            +
                                <valuemap/>
         | 
| 66 | 
            +
                            </item>
         | 
| 67 | 
            +
                            <item>
         | 
| 68 | 
            +
                                <name>Postgres buffers backend</name>
         | 
| 69 | 
            +
                                <type>2</type>
         | 
| 70 | 
            +
                                <snmp_community/>
         | 
| 71 | 
            +
                                <multiplier>0</multiplier>
         | 
| 72 | 
            +
                                <snmp_oid/>
         | 
| 73 | 
            +
                                <key>postgres.buffers_backend</key>
         | 
| 74 | 
            +
                                <delay>0</delay>
         | 
| 75 | 
            +
                                <history>90</history>
         | 
| 76 | 
            +
                                <trends>365</trends>
         | 
| 77 | 
            +
                                <status>0</status>
         | 
| 78 | 
            +
                                <value_type>3</value_type>
         | 
| 79 | 
            +
                                <allowed_hosts/>
         | 
| 80 | 
            +
                                <units/>
         | 
| 81 | 
            +
                                <delta>2</delta>
         | 
| 82 | 
            +
                                <snmpv3_contextname/>
         | 
| 83 | 
            +
                                <snmpv3_securityname/>
         | 
| 84 | 
            +
                                <snmpv3_securitylevel>0</snmpv3_securitylevel>
         | 
| 85 | 
            +
                                <snmpv3_authprotocol>0</snmpv3_authprotocol>
         | 
| 86 | 
            +
                                <snmpv3_authpassphrase/>
         | 
| 87 | 
            +
                                <snmpv3_privprotocol>0</snmpv3_privprotocol>
         | 
| 88 | 
            +
                                <snmpv3_privpassphrase/>
         | 
| 89 | 
            +
                                <formula>1</formula>
         | 
| 90 | 
            +
                                <delay_flex/>
         | 
| 91 | 
            +
                                <params/>
         | 
| 92 | 
            +
                                <ipmi_sensor/>
         | 
| 93 | 
            +
                                <data_type>0</data_type>
         | 
| 94 | 
            +
                                <authtype>0</authtype>
         | 
| 95 | 
            +
                                <username/>
         | 
| 96 | 
            +
                                <password/>
         | 
| 97 | 
            +
                                <publickey/>
         | 
| 98 | 
            +
                                <privatekey/>
         | 
| 99 | 
            +
                                <port/>
         | 
| 100 | 
            +
                                <description/>
         | 
| 101 | 
            +
                                <inventory_link>0</inventory_link>
         | 
| 102 | 
            +
                                <applications>
         | 
| 103 | 
            +
                                    <application>
         | 
| 104 | 
            +
                                        <name>Postgres</name>
         | 
| 105 | 
            +
                                    </application>
         | 
| 106 | 
            +
                                </applications>
         | 
| 107 | 
            +
                                <valuemap/>
         | 
| 108 | 
            +
                            </item>
         | 
| 109 | 
            +
                            <item>
         | 
| 110 | 
            +
                                <name>Postgres buffers backend fsync</name>
         | 
| 111 | 
            +
                                <type>2</type>
         | 
| 112 | 
            +
                                <snmp_community/>
         | 
| 113 | 
            +
                                <multiplier>0</multiplier>
         | 
| 114 | 
            +
                                <snmp_oid/>
         | 
| 115 | 
            +
                                <key>postgres.buffers_backend_fsync</key>
         | 
| 116 | 
            +
                                <delay>0</delay>
         | 
| 117 | 
            +
                                <history>90</history>
         | 
| 118 | 
            +
                                <trends>365</trends>
         | 
| 119 | 
            +
                                <status>0</status>
         | 
| 120 | 
            +
                                <value_type>3</value_type>
         | 
| 121 | 
            +
                                <allowed_hosts/>
         | 
| 122 | 
            +
                                <units/>
         | 
| 123 | 
            +
                                <delta>2</delta>
         | 
| 124 | 
            +
                                <snmpv3_contextname/>
         | 
| 125 | 
            +
                                <snmpv3_securityname/>
         | 
| 126 | 
            +
                                <snmpv3_securitylevel>0</snmpv3_securitylevel>
         | 
| 127 | 
            +
                                <snmpv3_authprotocol>0</snmpv3_authprotocol>
         | 
| 128 | 
            +
                                <snmpv3_authpassphrase/>
         | 
| 129 | 
            +
                                <snmpv3_privprotocol>0</snmpv3_privprotocol>
         | 
| 130 | 
            +
                                <snmpv3_privpassphrase/>
         | 
| 131 | 
            +
                                <formula>1</formula>
         | 
| 132 | 
            +
                                <delay_flex/>
         | 
| 133 | 
            +
                                <params/>
         | 
| 134 | 
            +
                                <ipmi_sensor/>
         | 
| 135 | 
            +
                                <data_type>0</data_type>
         | 
| 136 | 
            +
                                <authtype>0</authtype>
         | 
| 137 | 
            +
                                <username/>
         | 
| 138 | 
            +
                                <password/>
         | 
| 139 | 
            +
                                <publickey/>
         | 
| 140 | 
            +
                                <privatekey/>
         | 
| 141 | 
            +
                                <port/>
         | 
| 142 | 
            +
                                <description/>
         | 
| 143 | 
            +
                                <inventory_link>0</inventory_link>
         | 
| 144 | 
            +
                                <applications>
         | 
| 145 | 
            +
                                    <application>
         | 
| 146 | 
            +
                                        <name>Postgres</name>
         | 
| 147 | 
            +
                                    </application>
         | 
| 148 | 
            +
                                </applications>
         | 
| 149 | 
            +
                                <valuemap/>
         | 
| 150 | 
            +
                            </item>
         | 
| 151 | 
            +
                            <item>
         | 
| 152 | 
            +
                                <name>Postgres buffers checkpoint</name>
         | 
| 153 | 
            +
                                <type>2</type>
         | 
| 154 | 
            +
                                <snmp_community/>
         | 
| 155 | 
            +
                                <multiplier>0</multiplier>
         | 
| 156 | 
            +
                                <snmp_oid/>
         | 
| 157 | 
            +
                                <key>postgres.buffers_checkpoint</key>
         | 
| 158 | 
            +
                                <delay>0</delay>
         | 
| 159 | 
            +
                                <history>90</history>
         | 
| 160 | 
            +
                                <trends>365</trends>
         | 
| 161 | 
            +
                                <status>0</status>
         | 
| 162 | 
            +
                                <value_type>3</value_type>
         | 
| 163 | 
            +
                                <allowed_hosts/>
         | 
| 164 | 
            +
                                <units/>
         | 
| 165 | 
            +
                                <delta>2</delta>
         | 
| 166 | 
            +
                                <snmpv3_contextname/>
         | 
| 167 | 
            +
                                <snmpv3_securityname/>
         | 
| 168 | 
            +
                                <snmpv3_securitylevel>0</snmpv3_securitylevel>
         | 
| 169 | 
            +
                                <snmpv3_authprotocol>0</snmpv3_authprotocol>
         | 
| 170 | 
            +
                                <snmpv3_authpassphrase/>
         | 
| 171 | 
            +
                                <snmpv3_privprotocol>0</snmpv3_privprotocol>
         | 
| 172 | 
            +
                                <snmpv3_privpassphrase/>
         | 
| 173 | 
            +
                                <formula>1</formula>
         | 
| 174 | 
            +
                                <delay_flex/>
         | 
| 175 | 
            +
                                <params/>
         | 
| 176 | 
            +
                                <ipmi_sensor/>
         | 
| 177 | 
            +
                                <data_type>0</data_type>
         | 
| 178 | 
            +
                                <authtype>0</authtype>
         | 
| 179 | 
            +
                                <username/>
         | 
| 180 | 
            +
                                <password/>
         | 
| 181 | 
            +
                                <publickey/>
         | 
| 182 | 
            +
                                <privatekey/>
         | 
| 183 | 
            +
                                <port/>
         | 
| 184 | 
            +
                                <description/>
         | 
| 185 | 
            +
                                <inventory_link>0</inventory_link>
         | 
| 186 | 
            +
                                <applications>
         | 
| 187 | 
            +
                                    <application>
         | 
| 188 | 
            +
                                        <name>Postgres</name>
         | 
| 189 | 
            +
                                    </application>
         | 
| 190 | 
            +
                                </applications>
         | 
| 191 | 
            +
                                <valuemap/>
         | 
| 192 | 
            +
                            </item>
         | 
| 193 | 
            +
                            <item>
         | 
| 194 | 
            +
                                <name>Postgres buffers clean</name>
         | 
| 195 | 
            +
                                <type>2</type>
         | 
| 196 | 
            +
                                <snmp_community/>
         | 
| 197 | 
            +
                                <multiplier>0</multiplier>
         | 
| 198 | 
            +
                                <snmp_oid/>
         | 
| 199 | 
            +
                                <key>postgres.buffers_clean</key>
         | 
| 200 | 
            +
                                <delay>0</delay>
         | 
| 201 | 
            +
                                <history>90</history>
         | 
| 202 | 
            +
                                <trends>365</trends>
         | 
| 203 | 
            +
                                <status>0</status>
         | 
| 204 | 
            +
                                <value_type>3</value_type>
         | 
| 205 | 
            +
                                <allowed_hosts/>
         | 
| 206 | 
            +
                                <units/>
         | 
| 207 | 
            +
                                <delta>2</delta>
         | 
| 208 | 
            +
                                <snmpv3_contextname/>
         | 
| 209 | 
            +
                                <snmpv3_securityname/>
         | 
| 210 | 
            +
                                <snmpv3_securitylevel>0</snmpv3_securitylevel>
         | 
| 211 | 
            +
                                <snmpv3_authprotocol>0</snmpv3_authprotocol>
         | 
| 212 | 
            +
                                <snmpv3_authpassphrase/>
         | 
| 213 | 
            +
                                <snmpv3_privprotocol>0</snmpv3_privprotocol>
         | 
| 214 | 
            +
                                <snmpv3_privpassphrase/>
         | 
| 215 | 
            +
                                <formula>1</formula>
         | 
| 216 | 
            +
                                <delay_flex/>
         | 
| 217 | 
            +
                                <params/>
         | 
| 218 | 
            +
                                <ipmi_sensor/>
         | 
| 219 | 
            +
                                <data_type>0</data_type>
         | 
| 220 | 
            +
                                <authtype>0</authtype>
         | 
| 221 | 
            +
                                <username/>
         | 
| 222 | 
            +
                                <password/>
         | 
| 223 | 
            +
                                <publickey/>
         | 
| 224 | 
            +
                                <privatekey/>
         | 
| 225 | 
            +
                                <port/>
         | 
| 226 | 
            +
                                <description/>
         | 
| 227 | 
            +
                                <inventory_link>0</inventory_link>
         | 
| 228 | 
            +
                                <applications>
         | 
| 229 | 
            +
                                    <application>
         | 
| 230 | 
            +
                                        <name>Postgres</name>
         | 
| 231 | 
            +
                                    </application>
         | 
| 232 | 
            +
                                </applications>
         | 
| 233 | 
            +
                                <valuemap/>
         | 
| 234 | 
            +
                            </item>
         | 
| 235 | 
            +
                            <item>
         | 
| 236 | 
            +
                                <name>Postgres checkpoints segments</name>
         | 
| 237 | 
            +
                                <type>2</type>
         | 
| 238 | 
            +
                                <snmp_community/>
         | 
| 239 | 
            +
                                <multiplier>0</multiplier>
         | 
| 240 | 
            +
                                <snmp_oid/>
         | 
| 241 | 
            +
                                <key>postgres.checkpoints_req</key>
         | 
| 242 | 
            +
                                <delay>0</delay>
         | 
| 243 | 
            +
                                <history>90</history>
         | 
| 244 | 
            +
                                <trends>365</trends>
         | 
| 245 | 
            +
                                <status>0</status>
         | 
| 246 | 
            +
                                <value_type>3</value_type>
         | 
| 247 | 
            +
                                <allowed_hosts/>
         | 
| 248 | 
            +
                                <units/>
         | 
| 249 | 
            +
                                <delta>2</delta>
         | 
| 250 | 
            +
                                <snmpv3_contextname/>
         | 
| 251 | 
            +
                                <snmpv3_securityname/>
         | 
| 252 | 
            +
                                <snmpv3_securitylevel>0</snmpv3_securitylevel>
         | 
| 253 | 
            +
                                <snmpv3_authprotocol>0</snmpv3_authprotocol>
         | 
| 254 | 
            +
                                <snmpv3_authpassphrase/>
         | 
| 255 | 
            +
                                <snmpv3_privprotocol>0</snmpv3_privprotocol>
         | 
| 256 | 
            +
                                <snmpv3_privpassphrase/>
         | 
| 257 | 
            +
                                <formula>1</formula>
         | 
| 258 | 
            +
                                <delay_flex/>
         | 
| 259 | 
            +
                                <params/>
         | 
| 260 | 
            +
                                <ipmi_sensor/>
         | 
| 261 | 
            +
                                <data_type>0</data_type>
         | 
| 262 | 
            +
                                <authtype>0</authtype>
         | 
| 263 | 
            +
                                <username/>
         | 
| 264 | 
            +
                                <password/>
         | 
| 265 | 
            +
                                <publickey/>
         | 
| 266 | 
            +
                                <privatekey/>
         | 
| 267 | 
            +
                                <port/>
         | 
| 268 | 
            +
                                <description/>
         | 
| 269 | 
            +
                                <inventory_link>0</inventory_link>
         | 
| 270 | 
            +
                                <applications>
         | 
| 271 | 
            +
                                    <application>
         | 
| 272 | 
            +
                                        <name>Postgres</name>
         | 
| 273 | 
            +
                                    </application>
         | 
| 274 | 
            +
                                </applications>
         | 
| 275 | 
            +
                                <valuemap/>
         | 
| 276 | 
            +
                            </item>
         | 
| 277 | 
            +
                            <item>
         | 
| 278 | 
            +
                                <name>Postgres checkpoints sync</name>
         | 
| 279 | 
            +
                                <type>2</type>
         | 
| 280 | 
            +
                                <snmp_community/>
         | 
| 281 | 
            +
                                <multiplier>0</multiplier>
         | 
| 282 | 
            +
                                <snmp_oid/>
         | 
| 283 | 
            +
                                <key>postgres.checkpoint_sync_time</key>
         | 
| 284 | 
            +
                                <delay>0</delay>
         | 
| 285 | 
            +
                                <history>90</history>
         | 
| 286 | 
            +
                                <trends>365</trends>
         | 
| 287 | 
            +
                                <status>0</status>
         | 
| 288 | 
            +
                                <value_type>3</value_type>
         | 
| 289 | 
            +
                                <allowed_hosts/>
         | 
| 290 | 
            +
                                <units/>
         | 
| 291 | 
            +
                                <delta>2</delta>
         | 
| 292 | 
            +
                                <snmpv3_contextname/>
         | 
| 293 | 
            +
                                <snmpv3_securityname/>
         | 
| 294 | 
            +
                                <snmpv3_securitylevel>0</snmpv3_securitylevel>
         | 
| 295 | 
            +
                                <snmpv3_authprotocol>0</snmpv3_authprotocol>
         | 
| 296 | 
            +
                                <snmpv3_authpassphrase/>
         | 
| 297 | 
            +
                                <snmpv3_privprotocol>0</snmpv3_privprotocol>
         | 
| 298 | 
            +
                                <snmpv3_privpassphrase/>
         | 
| 299 | 
            +
                                <formula>1</formula>
         | 
| 300 | 
            +
                                <delay_flex/>
         | 
| 301 | 
            +
                                <params/>
         | 
| 302 | 
            +
                                <ipmi_sensor/>
         | 
| 303 | 
            +
                                <data_type>0</data_type>
         | 
| 304 | 
            +
                                <authtype>0</authtype>
         | 
| 305 | 
            +
                                <username/>
         | 
| 306 | 
            +
                                <password/>
         | 
| 307 | 
            +
                                <publickey/>
         | 
| 308 | 
            +
                                <privatekey/>
         | 
| 309 | 
            +
                                <port/>
         | 
| 310 | 
            +
                                <description/>
         | 
| 311 | 
            +
                                <inventory_link>0</inventory_link>
         | 
| 312 | 
            +
                                <applications>
         | 
| 313 | 
            +
                                    <application>
         | 
| 314 | 
            +
                                        <name>Postgres</name>
         | 
| 315 | 
            +
                                    </application>
         | 
| 316 | 
            +
                                </applications>
         | 
| 317 | 
            +
                                <valuemap/>
         | 
| 318 | 
            +
                            </item>
         | 
| 319 | 
            +
                            <item>
         | 
| 320 | 
            +
                                <name>Postgres checkpoints timed</name>
         | 
| 321 | 
            +
                                <type>2</type>
         | 
| 322 | 
            +
                                <snmp_community/>
         | 
| 323 | 
            +
                                <multiplier>0</multiplier>
         | 
| 324 | 
            +
                                <snmp_oid/>
         | 
| 325 | 
            +
                                <key>postgres.checkpoints_timed</key>
         | 
| 326 | 
            +
                                <delay>0</delay>
         | 
| 327 | 
            +
                                <history>90</history>
         | 
| 328 | 
            +
                                <trends>365</trends>
         | 
| 329 | 
            +
                                <status>0</status>
         | 
| 330 | 
            +
                                <value_type>3</value_type>
         | 
| 331 | 
            +
                                <allowed_hosts/>
         | 
| 332 | 
            +
                                <units/>
         | 
| 333 | 
            +
                                <delta>2</delta>
         | 
| 334 | 
            +
                                <snmpv3_contextname/>
         | 
| 335 | 
            +
                                <snmpv3_securityname/>
         | 
| 336 | 
            +
                                <snmpv3_securitylevel>0</snmpv3_securitylevel>
         | 
| 337 | 
            +
                                <snmpv3_authprotocol>0</snmpv3_authprotocol>
         | 
| 338 | 
            +
                                <snmpv3_authpassphrase/>
         | 
| 339 | 
            +
                                <snmpv3_privprotocol>0</snmpv3_privprotocol>
         | 
| 340 | 
            +
                                <snmpv3_privpassphrase/>
         | 
| 341 | 
            +
                                <formula>1</formula>
         | 
| 342 | 
            +
                                <delay_flex/>
         | 
| 343 | 
            +
                                <params/>
         | 
| 344 | 
            +
                                <ipmi_sensor/>
         | 
| 345 | 
            +
                                <data_type>0</data_type>
         | 
| 346 | 
            +
                                <authtype>0</authtype>
         | 
| 347 | 
            +
                                <username/>
         | 
| 348 | 
            +
                                <password/>
         | 
| 349 | 
            +
                                <publickey/>
         | 
| 350 | 
            +
                                <privatekey/>
         | 
| 351 | 
            +
                                <port/>
         | 
| 352 | 
            +
                                <description/>
         | 
| 353 | 
            +
                                <inventory_link>0</inventory_link>
         | 
| 354 | 
            +
                                <applications>
         | 
| 355 | 
            +
                                    <application>
         | 
| 356 | 
            +
                                        <name>Postgres</name>
         | 
| 357 | 
            +
                                    </application>
         | 
| 358 | 
            +
                                </applications>
         | 
| 359 | 
            +
                                <valuemap/>
         | 
| 360 | 
            +
                            </item>
         | 
| 361 | 
            +
                            <item>
         | 
| 362 | 
            +
                                <name>Postgres checkpoints write</name>
         | 
| 363 | 
            +
                                <type>2</type>
         | 
| 364 | 
            +
                                <snmp_community/>
         | 
| 365 | 
            +
                                <multiplier>0</multiplier>
         | 
| 366 | 
            +
                                <snmp_oid/>
         | 
| 367 | 
            +
                                <key>postgres.checkpoint_write_time</key>
         | 
| 368 | 
            +
                                <delay>0</delay>
         | 
| 369 | 
            +
                                <history>90</history>
         | 
| 370 | 
            +
                                <trends>365</trends>
         | 
| 371 | 
            +
                                <status>0</status>
         | 
| 372 | 
            +
                                <value_type>3</value_type>
         | 
| 373 | 
            +
                                <allowed_hosts/>
         | 
| 374 | 
            +
                                <units/>
         | 
| 375 | 
            +
                                <delta>2</delta>
         | 
| 376 | 
            +
                                <snmpv3_contextname/>
         | 
| 377 | 
            +
                                <snmpv3_securityname/>
         | 
| 378 | 
            +
                                <snmpv3_securitylevel>0</snmpv3_securitylevel>
         | 
| 379 | 
            +
                                <snmpv3_authprotocol>0</snmpv3_authprotocol>
         | 
| 380 | 
            +
                                <snmpv3_authpassphrase/>
         | 
| 381 | 
            +
                                <snmpv3_privprotocol>0</snmpv3_privprotocol>
         | 
| 382 | 
            +
                                <snmpv3_privpassphrase/>
         | 
| 383 | 
            +
                                <formula>1</formula>
         | 
| 384 | 
            +
                                <delay_flex/>
         | 
| 385 | 
            +
                                <params/>
         | 
| 386 | 
            +
                                <ipmi_sensor/>
         | 
| 387 | 
            +
                                <data_type>0</data_type>
         | 
| 388 | 
            +
                                <authtype>0</authtype>
         | 
| 389 | 
            +
                                <username/>
         | 
| 390 | 
            +
                                <password/>
         | 
| 391 | 
            +
                                <publickey/>
         | 
| 392 | 
            +
                                <privatekey/>
         | 
| 393 | 
            +
                                <port/>
         | 
| 394 | 
            +
                                <description/>
         | 
| 395 | 
            +
                                <inventory_link>0</inventory_link>
         | 
| 396 | 
            +
                                <applications>
         | 
| 397 | 
            +
                                    <application>
         | 
| 398 | 
            +
                                        <name>Postgres</name>
         | 
| 399 | 
            +
                                    </application>
         | 
| 400 | 
            +
                                </applications>
         | 
| 401 | 
            +
                                <valuemap/>
         | 
| 402 | 
            +
                            </item>
         | 
| 403 | 
            +
                            <item>
         | 
| 404 | 
            +
                                <name>Postgres connections active</name>
         | 
| 405 | 
            +
                                <type>2</type>
         | 
| 406 | 
            +
                                <snmp_community/>
         | 
| 407 | 
            +
                                <multiplier>0</multiplier>
         | 
| 408 | 
            +
                                <snmp_oid/>
         | 
| 409 | 
            +
                                <key>postgres.connections.active</key>
         | 
| 410 | 
            +
                                <delay>0</delay>
         | 
| 411 | 
            +
                                <history>90</history>
         | 
| 412 | 
            +
                                <trends>365</trends>
         | 
| 413 | 
            +
                                <status>0</status>
         | 
| 414 | 
            +
                                <value_type>3</value_type>
         | 
| 415 | 
            +
                                <allowed_hosts/>
         | 
| 416 | 
            +
                                <units/>
         | 
| 417 | 
            +
                                <delta>0</delta>
         | 
| 418 | 
            +
                                <snmpv3_contextname/>
         | 
| 419 | 
            +
                                <snmpv3_securityname/>
         | 
| 420 | 
            +
                                <snmpv3_securitylevel>0</snmpv3_securitylevel>
         | 
| 421 | 
            +
                                <snmpv3_authprotocol>0</snmpv3_authprotocol>
         | 
| 422 | 
            +
                                <snmpv3_authpassphrase/>
         | 
| 423 | 
            +
                                <snmpv3_privprotocol>0</snmpv3_privprotocol>
         | 
| 424 | 
            +
                                <snmpv3_privpassphrase/>
         | 
| 425 | 
            +
                                <formula>1</formula>
         | 
| 426 | 
            +
                                <delay_flex/>
         | 
| 427 | 
            +
                                <params/>
         | 
| 428 | 
            +
                                <ipmi_sensor/>
         | 
| 429 | 
            +
                                <data_type>0</data_type>
         | 
| 430 | 
            +
                                <authtype>0</authtype>
         | 
| 431 | 
            +
                                <username/>
         | 
| 432 | 
            +
                                <password/>
         | 
| 433 | 
            +
                                <publickey/>
         | 
| 434 | 
            +
                                <privatekey/>
         | 
| 435 | 
            +
                                <port/>
         | 
| 436 | 
            +
                                <description/>
         | 
| 437 | 
            +
                                <inventory_link>0</inventory_link>
         | 
| 438 | 
            +
                                <applications>
         | 
| 439 | 
            +
                                    <application>
         | 
| 440 | 
            +
                                        <name>Postgres</name>
         | 
| 441 | 
            +
                                    </application>
         | 
| 442 | 
            +
                                </applications>
         | 
| 443 | 
            +
                                <valuemap/>
         | 
| 444 | 
            +
                            </item>
         | 
| 445 | 
            +
                            <item>
         | 
| 446 | 
            +
                                <name>Postgres connections idle</name>
         | 
| 447 | 
            +
                                <type>2</type>
         | 
| 448 | 
            +
                                <snmp_community/>
         | 
| 449 | 
            +
                                <multiplier>0</multiplier>
         | 
| 450 | 
            +
                                <snmp_oid/>
         | 
| 451 | 
            +
                                <key>postgres.connections.idle</key>
         | 
| 452 | 
            +
                                <delay>0</delay>
         | 
| 453 | 
            +
                                <history>90</history>
         | 
| 454 | 
            +
                                <trends>365</trends>
         | 
| 455 | 
            +
                                <status>0</status>
         | 
| 456 | 
            +
                                <value_type>3</value_type>
         | 
| 457 | 
            +
                                <allowed_hosts/>
         | 
| 458 | 
            +
                                <units/>
         | 
| 459 | 
            +
                                <delta>0</delta>
         | 
| 460 | 
            +
                                <snmpv3_contextname/>
         | 
| 461 | 
            +
                                <snmpv3_securityname/>
         | 
| 462 | 
            +
                                <snmpv3_securitylevel>0</snmpv3_securitylevel>
         | 
| 463 | 
            +
                                <snmpv3_authprotocol>0</snmpv3_authprotocol>
         | 
| 464 | 
            +
                                <snmpv3_authpassphrase/>
         | 
| 465 | 
            +
                                <snmpv3_privprotocol>0</snmpv3_privprotocol>
         | 
| 466 | 
            +
                                <snmpv3_privpassphrase/>
         | 
| 467 | 
            +
                                <formula>1</formula>
         | 
| 468 | 
            +
                                <delay_flex/>
         | 
| 469 | 
            +
                                <params/>
         | 
| 470 | 
            +
                                <ipmi_sensor/>
         | 
| 471 | 
            +
                                <data_type>0</data_type>
         | 
| 472 | 
            +
                                <authtype>0</authtype>
         | 
| 473 | 
            +
                                <username/>
         | 
| 474 | 
            +
                                <password/>
         | 
| 475 | 
            +
                                <publickey/>
         | 
| 476 | 
            +
                                <privatekey/>
         | 
| 477 | 
            +
                                <port/>
         | 
| 478 | 
            +
                                <description/>
         | 
| 479 | 
            +
                                <inventory_link>0</inventory_link>
         | 
| 480 | 
            +
                                <applications>
         | 
| 481 | 
            +
                                    <application>
         | 
| 482 | 
            +
                                        <name>Postgres</name>
         | 
| 483 | 
            +
                                    </application>
         | 
| 484 | 
            +
                                </applications>
         | 
| 485 | 
            +
                                <valuemap/>
         | 
| 486 | 
            +
                            </item>
         | 
| 487 | 
            +
                            <item>
         | 
| 488 | 
            +
                                <name>Postgres connections idle in transaction</name>
         | 
| 489 | 
            +
                                <type>2</type>
         | 
| 490 | 
            +
                                <snmp_community/>
         | 
| 491 | 
            +
                                <multiplier>0</multiplier>
         | 
| 492 | 
            +
                                <snmp_oid/>
         | 
| 493 | 
            +
                                <key>postgres.connections.idle_in_transaction</key>
         | 
| 494 | 
            +
                                <delay>0</delay>
         | 
| 495 | 
            +
                                <history>90</history>
         | 
| 496 | 
            +
                                <trends>365</trends>
         | 
| 497 | 
            +
                                <status>0</status>
         | 
| 498 | 
            +
                                <value_type>3</value_type>
         | 
| 499 | 
            +
                                <allowed_hosts/>
         | 
| 500 | 
            +
                                <units/>
         | 
| 501 | 
            +
                                <delta>0</delta>
         | 
| 502 | 
            +
                                <snmpv3_contextname/>
         | 
| 503 | 
            +
                                <snmpv3_securityname/>
         | 
| 504 | 
            +
                                <snmpv3_securitylevel>0</snmpv3_securitylevel>
         | 
| 505 | 
            +
                                <snmpv3_authprotocol>0</snmpv3_authprotocol>
         | 
| 506 | 
            +
                                <snmpv3_authpassphrase/>
         | 
| 507 | 
            +
                                <snmpv3_privprotocol>0</snmpv3_privprotocol>
         | 
| 508 | 
            +
                                <snmpv3_privpassphrase/>
         | 
| 509 | 
            +
                                <formula>1</formula>
         | 
| 510 | 
            +
                                <delay_flex/>
         | 
| 511 | 
            +
                                <params/>
         | 
| 512 | 
            +
                                <ipmi_sensor/>
         | 
| 513 | 
            +
                                <data_type>0</data_type>
         | 
| 514 | 
            +
                                <authtype>0</authtype>
         | 
| 515 | 
            +
                                <username/>
         | 
| 516 | 
            +
                                <password/>
         | 
| 517 | 
            +
                                <publickey/>
         | 
| 518 | 
            +
                                <privatekey/>
         | 
| 519 | 
            +
                                <port/>
         | 
| 520 | 
            +
                                <description/>
         | 
| 521 | 
            +
                                <inventory_link>0</inventory_link>
         | 
| 522 | 
            +
                                <applications>
         | 
| 523 | 
            +
                                    <application>
         | 
| 524 | 
            +
                                        <name>Postgres</name>
         | 
| 525 | 
            +
                                    </application>
         | 
| 526 | 
            +
                                </applications>
         | 
| 527 | 
            +
                                <valuemap/>
         | 
| 528 | 
            +
                            </item>
         | 
| 529 | 
            +
                            <item>
         | 
| 530 | 
            +
                                <name>Postgres maxwritten clean</name>
         | 
| 531 | 
            +
                                <type>2</type>
         | 
| 532 | 
            +
                                <snmp_community/>
         | 
| 533 | 
            +
                                <multiplier>0</multiplier>
         | 
| 534 | 
            +
                                <snmp_oid/>
         | 
| 535 | 
            +
                                <key>postgres.maxwritten_clean</key>
         | 
| 536 | 
            +
                                <delay>0</delay>
         | 
| 537 | 
            +
                                <history>90</history>
         | 
| 538 | 
            +
                                <trends>365</trends>
         | 
| 539 | 
            +
                                <status>0</status>
         | 
| 540 | 
            +
                                <value_type>3</value_type>
         | 
| 541 | 
            +
                                <allowed_hosts/>
         | 
| 542 | 
            +
                                <units/>
         | 
| 543 | 
            +
                                <delta>2</delta>
         | 
| 544 | 
            +
                                <snmpv3_contextname/>
         | 
| 545 | 
            +
                                <snmpv3_securityname/>
         | 
| 546 | 
            +
                                <snmpv3_securitylevel>0</snmpv3_securitylevel>
         | 
| 547 | 
            +
                                <snmpv3_authprotocol>0</snmpv3_authprotocol>
         | 
| 548 | 
            +
                                <snmpv3_authpassphrase/>
         | 
| 549 | 
            +
                                <snmpv3_privprotocol>0</snmpv3_privprotocol>
         | 
| 550 | 
            +
                                <snmpv3_privpassphrase/>
         | 
| 551 | 
            +
                                <formula>1</formula>
         | 
| 552 | 
            +
                                <delay_flex/>
         | 
| 553 | 
            +
                                <params/>
         | 
| 554 | 
            +
                                <ipmi_sensor/>
         | 
| 555 | 
            +
                                <data_type>0</data_type>
         | 
| 556 | 
            +
                                <authtype>0</authtype>
         | 
| 557 | 
            +
                                <username/>
         | 
| 558 | 
            +
                                <password/>
         | 
| 559 | 
            +
                                <publickey/>
         | 
| 560 | 
            +
                                <privatekey/>
         | 
| 561 | 
            +
                                <port/>
         | 
| 562 | 
            +
                                <description/>
         | 
| 563 | 
            +
                                <inventory_link>0</inventory_link>
         | 
| 564 | 
            +
                                <applications>
         | 
| 565 | 
            +
                                    <application>
         | 
| 566 | 
            +
                                        <name>Postgres</name>
         | 
| 567 | 
            +
                                    </application>
         | 
| 568 | 
            +
                                </applications>
         | 
| 569 | 
            +
                                <valuemap/>
         | 
| 570 | 
            +
                            </item>
         | 
| 571 | 
            +
                        </items>
         | 
| 25 572 | 
             
                        <discovery_rules>
         | 
| 26 573 | 
             
                            <discovery_rule>
         | 
| 27 574 | 
             
                                <name>Database</name>
         | 
| @@ -686,7 +1233,119 @@ | |
| 686 1233 | 
             
                                <trigger_prototypes/>
         | 
| 687 1234 | 
             
                                <graph_prototypes>
         | 
| 688 1235 | 
             
                                    <graph_prototype>
         | 
| 689 | 
            -
                                        <name>PG {#DBNAME} activity</name>
         | 
| 1236 | 
            +
                                        <name>PG {#DBNAME} activity</name>
         | 
| 1237 | 
            +
                                        <width>900</width>
         | 
| 1238 | 
            +
                                        <height>200</height>
         | 
| 1239 | 
            +
                                        <yaxismin>0.0000</yaxismin>
         | 
| 1240 | 
            +
                                        <yaxismax>100.0000</yaxismax>
         | 
| 1241 | 
            +
                                        <show_work_period>1</show_work_period>
         | 
| 1242 | 
            +
                                        <show_triggers>1</show_triggers>
         | 
| 1243 | 
            +
                                        <type>0</type>
         | 
| 1244 | 
            +
                                        <show_legend>1</show_legend>
         | 
| 1245 | 
            +
                                        <show_3d>0</show_3d>
         | 
| 1246 | 
            +
                                        <percent_left>0.0000</percent_left>
         | 
| 1247 | 
            +
                                        <percent_right>0.0000</percent_right>
         | 
| 1248 | 
            +
                                        <ymin_type_1>1</ymin_type_1>
         | 
| 1249 | 
            +
                                        <ymax_type_1>0</ymax_type_1>
         | 
| 1250 | 
            +
                                        <ymin_item_1>0</ymin_item_1>
         | 
| 1251 | 
            +
                                        <ymax_item_1>0</ymax_item_1>
         | 
| 1252 | 
            +
                                        <graph_items>
         | 
| 1253 | 
            +
                                            <graph_item>
         | 
| 1254 | 
            +
                                                <sortorder>0</sortorder>
         | 
| 1255 | 
            +
                                                <drawtype>0</drawtype>
         | 
| 1256 | 
            +
                                                <color>00AA00</color>
         | 
| 1257 | 
            +
                                                <yaxisside>0</yaxisside>
         | 
| 1258 | 
            +
                                                <calc_fnc>7</calc_fnc>
         | 
| 1259 | 
            +
                                                <type>0</type>
         | 
| 1260 | 
            +
                                                <item>
         | 
| 1261 | 
            +
                                                    <host>Postgres Stats</host>
         | 
| 1262 | 
            +
                                                    <key>postgres.xact_commit[{#DBNAME}]</key>
         | 
| 1263 | 
            +
                                                </item>
         | 
| 1264 | 
            +
                                            </graph_item>
         | 
| 1265 | 
            +
                                            <graph_item>
         | 
| 1266 | 
            +
                                                <sortorder>1</sortorder>
         | 
| 1267 | 
            +
                                                <drawtype>0</drawtype>
         | 
| 1268 | 
            +
                                                <color>FF6666</color>
         | 
| 1269 | 
            +
                                                <yaxisside>0</yaxisside>
         | 
| 1270 | 
            +
                                                <calc_fnc>7</calc_fnc>
         | 
| 1271 | 
            +
                                                <type>0</type>
         | 
| 1272 | 
            +
                                                <item>
         | 
| 1273 | 
            +
                                                    <host>Postgres Stats</host>
         | 
| 1274 | 
            +
                                                    <key>postgres.xact_rollback[{#DBNAME}]</key>
         | 
| 1275 | 
            +
                                                </item>
         | 
| 1276 | 
            +
                                            </graph_item>
         | 
| 1277 | 
            +
                                        </graph_items>
         | 
| 1278 | 
            +
                                    </graph_prototype>
         | 
| 1279 | 
            +
                                    <graph_prototype>
         | 
| 1280 | 
            +
                                        <name>PG {#DBNAME} blocks</name>
         | 
| 1281 | 
            +
                                        <width>900</width>
         | 
| 1282 | 
            +
                                        <height>200</height>
         | 
| 1283 | 
            +
                                        <yaxismin>0.0000</yaxismin>
         | 
| 1284 | 
            +
                                        <yaxismax>100.0000</yaxismax>
         | 
| 1285 | 
            +
                                        <show_work_period>1</show_work_period>
         | 
| 1286 | 
            +
                                        <show_triggers>1</show_triggers>
         | 
| 1287 | 
            +
                                        <type>0</type>
         | 
| 1288 | 
            +
                                        <show_legend>1</show_legend>
         | 
| 1289 | 
            +
                                        <show_3d>0</show_3d>
         | 
| 1290 | 
            +
                                        <percent_left>0.0000</percent_left>
         | 
| 1291 | 
            +
                                        <percent_right>0.0000</percent_right>
         | 
| 1292 | 
            +
                                        <ymin_type_1>1</ymin_type_1>
         | 
| 1293 | 
            +
                                        <ymax_type_1>0</ymax_type_1>
         | 
| 1294 | 
            +
                                        <ymin_item_1>0</ymin_item_1>
         | 
| 1295 | 
            +
                                        <ymax_item_1>0</ymax_item_1>
         | 
| 1296 | 
            +
                                        <graph_items>
         | 
| 1297 | 
            +
                                            <graph_item>
         | 
| 1298 | 
            +
                                                <sortorder>0</sortorder>
         | 
| 1299 | 
            +
                                                <drawtype>0</drawtype>
         | 
| 1300 | 
            +
                                                <color>C80000</color>
         | 
| 1301 | 
            +
                                                <yaxisside>0</yaxisside>
         | 
| 1302 | 
            +
                                                <calc_fnc>2</calc_fnc>
         | 
| 1303 | 
            +
                                                <type>0</type>
         | 
| 1304 | 
            +
                                                <item>
         | 
| 1305 | 
            +
                                                    <host>Postgres Stats</host>
         | 
| 1306 | 
            +
                                                    <key>postgres.blk_read_time[{#DBNAME}]</key>
         | 
| 1307 | 
            +
                                                </item>
         | 
| 1308 | 
            +
                                            </graph_item>
         | 
| 1309 | 
            +
                                            <graph_item>
         | 
| 1310 | 
            +
                                                <sortorder>1</sortorder>
         | 
| 1311 | 
            +
                                                <drawtype>0</drawtype>
         | 
| 1312 | 
            +
                                                <color>00C800</color>
         | 
| 1313 | 
            +
                                                <yaxisside>0</yaxisside>
         | 
| 1314 | 
            +
                                                <calc_fnc>2</calc_fnc>
         | 
| 1315 | 
            +
                                                <type>0</type>
         | 
| 1316 | 
            +
                                                <item>
         | 
| 1317 | 
            +
                                                    <host>Postgres Stats</host>
         | 
| 1318 | 
            +
                                                    <key>postgres.blks_hit[{#DBNAME}]</key>
         | 
| 1319 | 
            +
                                                </item>
         | 
| 1320 | 
            +
                                            </graph_item>
         | 
| 1321 | 
            +
                                            <graph_item>
         | 
| 1322 | 
            +
                                                <sortorder>2</sortorder>
         | 
| 1323 | 
            +
                                                <drawtype>0</drawtype>
         | 
| 1324 | 
            +
                                                <color>0000C8</color>
         | 
| 1325 | 
            +
                                                <yaxisside>0</yaxisside>
         | 
| 1326 | 
            +
                                                <calc_fnc>2</calc_fnc>
         | 
| 1327 | 
            +
                                                <type>0</type>
         | 
| 1328 | 
            +
                                                <item>
         | 
| 1329 | 
            +
                                                    <host>Postgres Stats</host>
         | 
| 1330 | 
            +
                                                    <key>postgres.blks_read[{#DBNAME}]</key>
         | 
| 1331 | 
            +
                                                </item>
         | 
| 1332 | 
            +
                                            </graph_item>
         | 
| 1333 | 
            +
                                            <graph_item>
         | 
| 1334 | 
            +
                                                <sortorder>3</sortorder>
         | 
| 1335 | 
            +
                                                <drawtype>0</drawtype>
         | 
| 1336 | 
            +
                                                <color>C800C8</color>
         | 
| 1337 | 
            +
                                                <yaxisside>0</yaxisside>
         | 
| 1338 | 
            +
                                                <calc_fnc>2</calc_fnc>
         | 
| 1339 | 
            +
                                                <type>0</type>
         | 
| 1340 | 
            +
                                                <item>
         | 
| 1341 | 
            +
                                                    <host>Postgres Stats</host>
         | 
| 1342 | 
            +
                                                    <key>postgres.blk_write_time[{#DBNAME}]</key>
         | 
| 1343 | 
            +
                                                </item>
         | 
| 1344 | 
            +
                                            </graph_item>
         | 
| 1345 | 
            +
                                        </graph_items>
         | 
| 1346 | 
            +
                                    </graph_prototype>
         | 
| 1347 | 
            +
                                    <graph_prototype>
         | 
| 1348 | 
            +
                                        <name>PG {#DBNAME} connections</name>
         | 
| 690 1349 | 
             
                                        <width>900</width>
         | 
| 691 1350 | 
             
                                        <height>200</height>
         | 
| 692 1351 | 
             
                                        <yaxismin>0.0000</yaxismin>
         | 
| @@ -702,6 +1361,174 @@ | |
| 702 1361 | 
             
                                        <ymax_type_1>0</ymax_type_1>
         | 
| 703 1362 | 
             
                                        <ymin_item_1>0</ymin_item_1>
         | 
| 704 1363 | 
             
                                        <ymax_item_1>0</ymax_item_1>
         | 
| 1364 | 
            +
                                        <graph_items>
         | 
| 1365 | 
            +
                                            <graph_item>
         | 
| 1366 | 
            +
                                                <sortorder>1</sortorder>
         | 
| 1367 | 
            +
                                                <drawtype>0</drawtype>
         | 
| 1368 | 
            +
                                                <color>FF6666</color>
         | 
| 1369 | 
            +
                                                <yaxisside>0</yaxisside>
         | 
| 1370 | 
            +
                                                <calc_fnc>2</calc_fnc>
         | 
| 1371 | 
            +
                                                <type>0</type>
         | 
| 1372 | 
            +
                                                <item>
         | 
| 1373 | 
            +
                                                    <host>Postgres Stats</host>
         | 
| 1374 | 
            +
                                                    <key>postgres.conflicts[{#DBNAME}]</key>
         | 
| 1375 | 
            +
                                                </item>
         | 
| 1376 | 
            +
                                            </graph_item>
         | 
| 1377 | 
            +
                                            <graph_item>
         | 
| 1378 | 
            +
                                                <sortorder>0</sortorder>
         | 
| 1379 | 
            +
                                                <drawtype>2</drawtype>
         | 
| 1380 | 
            +
                                                <color>00AA00</color>
         | 
| 1381 | 
            +
                                                <yaxisside>0</yaxisside>
         | 
| 1382 | 
            +
                                                <calc_fnc>2</calc_fnc>
         | 
| 1383 | 
            +
                                                <type>0</type>
         | 
| 1384 | 
            +
                                                <item>
         | 
| 1385 | 
            +
                                                    <host>Postgres Stats</host>
         | 
| 1386 | 
            +
                                                    <key>postgres.numbackends[{#DBNAME}]</key>
         | 
| 1387 | 
            +
                                                </item>
         | 
| 1388 | 
            +
                                            </graph_item>
         | 
| 1389 | 
            +
                                            <graph_item>
         | 
| 1390 | 
            +
                                                <sortorder>2</sortorder>
         | 
| 1391 | 
            +
                                                <drawtype>0</drawtype>
         | 
| 1392 | 
            +
                                                <color>999999</color>
         | 
| 1393 | 
            +
                                                <yaxisside>0</yaxisside>
         | 
| 1394 | 
            +
                                                <calc_fnc>2</calc_fnc>
         | 
| 1395 | 
            +
                                                <type>0</type>
         | 
| 1396 | 
            +
                                                <item>
         | 
| 1397 | 
            +
                                                    <host>Postgres Stats</host>
         | 
| 1398 | 
            +
                                                    <key>postgres.deadlocks[{#DBNAME}]</key>
         | 
| 1399 | 
            +
                                                </item>
         | 
| 1400 | 
            +
                                            </graph_item>
         | 
| 1401 | 
            +
                                        </graph_items>
         | 
| 1402 | 
            +
                                    </graph_prototype>
         | 
| 1403 | 
            +
                                    <graph_prototype>
         | 
| 1404 | 
            +
                                        <name>PG {#DBNAME} Tuples</name>
         | 
| 1405 | 
            +
                                        <width>900</width>
         | 
| 1406 | 
            +
                                        <height>200</height>
         | 
| 1407 | 
            +
                                        <yaxismin>0.0000</yaxismin>
         | 
| 1408 | 
            +
                                        <yaxismax>100.0000</yaxismax>
         | 
| 1409 | 
            +
                                        <show_work_period>1</show_work_period>
         | 
| 1410 | 
            +
                                        <show_triggers>1</show_triggers>
         | 
| 1411 | 
            +
                                        <type>1</type>
         | 
| 1412 | 
            +
                                        <show_legend>1</show_legend>
         | 
| 1413 | 
            +
                                        <show_3d>0</show_3d>
         | 
| 1414 | 
            +
                                        <percent_left>0.0000</percent_left>
         | 
| 1415 | 
            +
                                        <percent_right>0.0000</percent_right>
         | 
| 1416 | 
            +
                                        <ymin_type_1>1</ymin_type_1>
         | 
| 1417 | 
            +
                                        <ymax_type_1>0</ymax_type_1>
         | 
| 1418 | 
            +
                                        <ymin_item_1>0</ymin_item_1>
         | 
| 1419 | 
            +
                                        <ymax_item_1>0</ymax_item_1>
         | 
| 1420 | 
            +
                                        <graph_items>
         | 
| 1421 | 
            +
                                            <graph_item>
         | 
| 1422 | 
            +
                                                <sortorder>0</sortorder>
         | 
| 1423 | 
            +
                                                <drawtype>0</drawtype>
         | 
| 1424 | 
            +
                                                <color>C80000</color>
         | 
| 1425 | 
            +
                                                <yaxisside>0</yaxisside>
         | 
| 1426 | 
            +
                                                <calc_fnc>2</calc_fnc>
         | 
| 1427 | 
            +
                                                <type>0</type>
         | 
| 1428 | 
            +
                                                <item>
         | 
| 1429 | 
            +
                                                    <host>Postgres Stats</host>
         | 
| 1430 | 
            +
                                                    <key>postgres.tup_deleted[{#DBNAME}]</key>
         | 
| 1431 | 
            +
                                                </item>
         | 
| 1432 | 
            +
                                            </graph_item>
         | 
| 1433 | 
            +
                                            <graph_item>
         | 
| 1434 | 
            +
                                                <sortorder>2</sortorder>
         | 
| 1435 | 
            +
                                                <drawtype>0</drawtype>
         | 
| 1436 | 
            +
                                                <color>00AAAA</color>
         | 
| 1437 | 
            +
                                                <yaxisside>0</yaxisside>
         | 
| 1438 | 
            +
                                                <calc_fnc>2</calc_fnc>
         | 
| 1439 | 
            +
                                                <type>0</type>
         | 
| 1440 | 
            +
                                                <item>
         | 
| 1441 | 
            +
                                                    <host>Postgres Stats</host>
         | 
| 1442 | 
            +
                                                    <key>postgres.tup_fetched[{#DBNAME}]</key>
         | 
| 1443 | 
            +
                                                </item>
         | 
| 1444 | 
            +
                                            </graph_item>
         | 
| 1445 | 
            +
                                            <graph_item>
         | 
| 1446 | 
            +
                                                <sortorder>1</sortorder>
         | 
| 1447 | 
            +
                                                <drawtype>0</drawtype>
         | 
| 1448 | 
            +
                                                <color>0000C8</color>
         | 
| 1449 | 
            +
                                                <yaxisside>0</yaxisside>
         | 
| 1450 | 
            +
                                                <calc_fnc>2</calc_fnc>
         | 
| 1451 | 
            +
                                                <type>0</type>
         | 
| 1452 | 
            +
                                                <item>
         | 
| 1453 | 
            +
                                                    <host>Postgres Stats</host>
         | 
| 1454 | 
            +
                                                    <key>postgres.tup_inserted[{#DBNAME}]</key>
         | 
| 1455 | 
            +
                                                </item>
         | 
| 1456 | 
            +
                                            </graph_item>
         | 
| 1457 | 
            +
                                            <graph_item>
         | 
| 1458 | 
            +
                                                <sortorder>3</sortorder>
         | 
| 1459 | 
            +
                                                <drawtype>0</drawtype>
         | 
| 1460 | 
            +
                                                <color>009900</color>
         | 
| 1461 | 
            +
                                                <yaxisside>0</yaxisside>
         | 
| 1462 | 
            +
                                                <calc_fnc>2</calc_fnc>
         | 
| 1463 | 
            +
                                                <type>0</type>
         | 
| 1464 | 
            +
                                                <item>
         | 
| 1465 | 
            +
                                                    <host>Postgres Stats</host>
         | 
| 1466 | 
            +
                                                    <key>postgres.tup_returned[{#DBNAME}]</key>
         | 
| 1467 | 
            +
                                                </item>
         | 
| 1468 | 
            +
                                            </graph_item>
         | 
| 1469 | 
            +
                                        </graph_items>
         | 
| 1470 | 
            +
                                    </graph_prototype>
         | 
| 1471 | 
            +
                                    <graph_prototype>
         | 
| 1472 | 
            +
                                        <name>s. PG {#DBNAME} activity</name>
         | 
| 1473 | 
            +
                                        <width>900</width>
         | 
| 1474 | 
            +
                                        <height>200</height>
         | 
| 1475 | 
            +
                                        <yaxismin>0.0000</yaxismin>
         | 
| 1476 | 
            +
                                        <yaxismax>100.0000</yaxismax>
         | 
| 1477 | 
            +
                                        <show_work_period>1</show_work_period>
         | 
| 1478 | 
            +
                                        <show_triggers>0</show_triggers>
         | 
| 1479 | 
            +
                                        <type>0</type>
         | 
| 1480 | 
            +
                                        <show_legend>0</show_legend>
         | 
| 1481 | 
            +
                                        <show_3d>0</show_3d>
         | 
| 1482 | 
            +
                                        <percent_left>0.0000</percent_left>
         | 
| 1483 | 
            +
                                        <percent_right>0.0000</percent_right>
         | 
| 1484 | 
            +
                                        <ymin_type_1>1</ymin_type_1>
         | 
| 1485 | 
            +
                                        <ymax_type_1>0</ymax_type_1>
         | 
| 1486 | 
            +
                                        <ymin_item_1>0</ymin_item_1>
         | 
| 1487 | 
            +
                                        <ymax_item_1>0</ymax_item_1>
         | 
| 1488 | 
            +
                                        <graph_items>
         | 
| 1489 | 
            +
                                            <graph_item>
         | 
| 1490 | 
            +
                                                <sortorder>0</sortorder>
         | 
| 1491 | 
            +
                                                <drawtype>0</drawtype>
         | 
| 1492 | 
            +
                                                <color>00AA00</color>
         | 
| 1493 | 
            +
                                                <yaxisside>0</yaxisside>
         | 
| 1494 | 
            +
                                                <calc_fnc>7</calc_fnc>
         | 
| 1495 | 
            +
                                                <type>0</type>
         | 
| 1496 | 
            +
                                                <item>
         | 
| 1497 | 
            +
                                                    <host>Postgres Stats</host>
         | 
| 1498 | 
            +
                                                    <key>postgres.xact_commit[{#DBNAME}]</key>
         | 
| 1499 | 
            +
                                                </item>
         | 
| 1500 | 
            +
                                            </graph_item>
         | 
| 1501 | 
            +
                                            <graph_item>
         | 
| 1502 | 
            +
                                                <sortorder>1</sortorder>
         | 
| 1503 | 
            +
                                                <drawtype>0</drawtype>
         | 
| 1504 | 
            +
                                                <color>FF6666</color>
         | 
| 1505 | 
            +
                                                <yaxisside>0</yaxisside>
         | 
| 1506 | 
            +
                                                <calc_fnc>7</calc_fnc>
         | 
| 1507 | 
            +
                                                <type>0</type>
         | 
| 1508 | 
            +
                                                <item>
         | 
| 1509 | 
            +
                                                    <host>Postgres Stats</host>
         | 
| 1510 | 
            +
                                                    <key>postgres.xact_rollback[{#DBNAME}]</key>
         | 
| 1511 | 
            +
                                                </item>
         | 
| 1512 | 
            +
                                            </graph_item>
         | 
| 1513 | 
            +
                                        </graph_items>
         | 
| 1514 | 
            +
                                    </graph_prototype>
         | 
| 1515 | 
            +
                                    <graph_prototype>
         | 
| 1516 | 
            +
                                        <name>s. PG {#DBNAME} blocks</name>
         | 
| 1517 | 
            +
                                        <width>900</width>
         | 
| 1518 | 
            +
                                        <height>200</height>
         | 
| 1519 | 
            +
                                        <yaxismin>0.0000</yaxismin>
         | 
| 1520 | 
            +
                                        <yaxismax>100.0000</yaxismax>
         | 
| 1521 | 
            +
                                        <show_work_period>1</show_work_period>
         | 
| 1522 | 
            +
                                        <show_triggers>0</show_triggers>
         | 
| 1523 | 
            +
                                        <type>0</type>
         | 
| 1524 | 
            +
                                        <show_legend>0</show_legend>
         | 
| 1525 | 
            +
                                        <show_3d>0</show_3d>
         | 
| 1526 | 
            +
                                        <percent_left>0.0000</percent_left>
         | 
| 1527 | 
            +
                                        <percent_right>0.0000</percent_right>
         | 
| 1528 | 
            +
                                        <ymin_type_1>1</ymin_type_1>
         | 
| 1529 | 
            +
                                        <ymax_type_1>0</ymax_type_1>
         | 
| 1530 | 
            +
                                        <ymin_item_1>0</ymin_item_1>
         | 
| 1531 | 
            +
                                        <ymax_item_1>0</ymax_item_1>
         | 
| 705 1532 | 
             
                                        <graph_items>
         | 
| 706 1533 | 
             
                                            <graph_item>
         | 
| 707 1534 | 
             
                                                <sortorder>0</sortorder>
         | 
| @@ -736,7 +1563,7 @@ | |
| 736 1563 | 
             
                                                <type>0</type>
         | 
| 737 1564 | 
             
                                                <item>
         | 
| 738 1565 | 
             
                                                    <host>Postgres Stats</host>
         | 
| 739 | 
            -
                                                    <key>postgres. | 
| 1566 | 
            +
                                                    <key>postgres.blks_read[{#DBNAME}]</key>
         | 
| 740 1567 | 
             
                                                </item>
         | 
| 741 1568 | 
             
                                            </graph_item>
         | 
| 742 1569 | 
             
                                            <graph_item>
         | 
| @@ -748,21 +1575,77 @@ | |
| 748 1575 | 
             
                                                <type>0</type>
         | 
| 749 1576 | 
             
                                                <item>
         | 
| 750 1577 | 
             
                                                    <host>Postgres Stats</host>
         | 
| 751 | 
            -
                                                    <key>postgres. | 
| 1578 | 
            +
                                                    <key>postgres.blk_write_time[{#DBNAME}]</key>
         | 
| 752 1579 | 
             
                                                </item>
         | 
| 753 1580 | 
             
                                            </graph_item>
         | 
| 754 1581 | 
             
                                        </graph_items>
         | 
| 755 1582 | 
             
                                    </graph_prototype>
         | 
| 756 1583 | 
             
                                    <graph_prototype>
         | 
| 757 | 
            -
                                        <name>PG {#DBNAME}  | 
| 1584 | 
            +
                                        <name>s. PG {#DBNAME} connections</name>
         | 
| 758 1585 | 
             
                                        <width>900</width>
         | 
| 759 1586 | 
             
                                        <height>200</height>
         | 
| 760 1587 | 
             
                                        <yaxismin>0.0000</yaxismin>
         | 
| 761 1588 | 
             
                                        <yaxismax>100.0000</yaxismax>
         | 
| 762 1589 | 
             
                                        <show_work_period>1</show_work_period>
         | 
| 763 | 
            -
                                        <show_triggers> | 
| 1590 | 
            +
                                        <show_triggers>0</show_triggers>
         | 
| 1591 | 
            +
                                        <type>0</type>
         | 
| 1592 | 
            +
                                        <show_legend>0</show_legend>
         | 
| 1593 | 
            +
                                        <show_3d>0</show_3d>
         | 
| 1594 | 
            +
                                        <percent_left>0.0000</percent_left>
         | 
| 1595 | 
            +
                                        <percent_right>0.0000</percent_right>
         | 
| 1596 | 
            +
                                        <ymin_type_1>1</ymin_type_1>
         | 
| 1597 | 
            +
                                        <ymax_type_1>0</ymax_type_1>
         | 
| 1598 | 
            +
                                        <ymin_item_1>0</ymin_item_1>
         | 
| 1599 | 
            +
                                        <ymax_item_1>0</ymax_item_1>
         | 
| 1600 | 
            +
                                        <graph_items>
         | 
| 1601 | 
            +
                                            <graph_item>
         | 
| 1602 | 
            +
                                                <sortorder>0</sortorder>
         | 
| 1603 | 
            +
                                                <drawtype>2</drawtype>
         | 
| 1604 | 
            +
                                                <color>00AA00</color>
         | 
| 1605 | 
            +
                                                <yaxisside>0</yaxisside>
         | 
| 1606 | 
            +
                                                <calc_fnc>2</calc_fnc>
         | 
| 1607 | 
            +
                                                <type>0</type>
         | 
| 1608 | 
            +
                                                <item>
         | 
| 1609 | 
            +
                                                    <host>Postgres Stats</host>
         | 
| 1610 | 
            +
                                                    <key>postgres.numbackends[{#DBNAME}]</key>
         | 
| 1611 | 
            +
                                                </item>
         | 
| 1612 | 
            +
                                            </graph_item>
         | 
| 1613 | 
            +
                                            <graph_item>
         | 
| 1614 | 
            +
                                                <sortorder>1</sortorder>
         | 
| 1615 | 
            +
                                                <drawtype>0</drawtype>
         | 
| 1616 | 
            +
                                                <color>FF6666</color>
         | 
| 1617 | 
            +
                                                <yaxisside>0</yaxisside>
         | 
| 1618 | 
            +
                                                <calc_fnc>2</calc_fnc>
         | 
| 1619 | 
            +
                                                <type>0</type>
         | 
| 1620 | 
            +
                                                <item>
         | 
| 1621 | 
            +
                                                    <host>Postgres Stats</host>
         | 
| 1622 | 
            +
                                                    <key>postgres.conflicts[{#DBNAME}]</key>
         | 
| 1623 | 
            +
                                                </item>
         | 
| 1624 | 
            +
                                            </graph_item>
         | 
| 1625 | 
            +
                                            <graph_item>
         | 
| 1626 | 
            +
                                                <sortorder>2</sortorder>
         | 
| 1627 | 
            +
                                                <drawtype>0</drawtype>
         | 
| 1628 | 
            +
                                                <color>999999</color>
         | 
| 1629 | 
            +
                                                <yaxisside>0</yaxisside>
         | 
| 1630 | 
            +
                                                <calc_fnc>2</calc_fnc>
         | 
| 1631 | 
            +
                                                <type>0</type>
         | 
| 1632 | 
            +
                                                <item>
         | 
| 1633 | 
            +
                                                    <host>Postgres Stats</host>
         | 
| 1634 | 
            +
                                                    <key>postgres.deadlocks[{#DBNAME}]</key>
         | 
| 1635 | 
            +
                                                </item>
         | 
| 1636 | 
            +
                                            </graph_item>
         | 
| 1637 | 
            +
                                        </graph_items>
         | 
| 1638 | 
            +
                                    </graph_prototype>
         | 
| 1639 | 
            +
                                    <graph_prototype>
         | 
| 1640 | 
            +
                                        <name>s. PG {#DBNAME} Tuples</name>
         | 
| 1641 | 
            +
                                        <width>900</width>
         | 
| 1642 | 
            +
                                        <height>200</height>
         | 
| 1643 | 
            +
                                        <yaxismin>0.0000</yaxismin>
         | 
| 1644 | 
            +
                                        <yaxismax>100.0000</yaxismax>
         | 
| 1645 | 
            +
                                        <show_work_period>1</show_work_period>
         | 
| 1646 | 
            +
                                        <show_triggers>0</show_triggers>
         | 
| 764 1647 | 
             
                                        <type>1</type>
         | 
| 765 | 
            -
                                        <show_legend> | 
| 1648 | 
            +
                                        <show_legend>0</show_legend>
         | 
| 766 1649 | 
             
                                        <show_3d>0</show_3d>
         | 
| 767 1650 | 
             
                                        <percent_left>0.0000</percent_left>
         | 
| 768 1651 | 
             
                                        <percent_right>0.0000</percent_right>
         |