zabbix-templates/nginx_tpl.xml in zabbix-ruby-client-0.0.14 vs zabbix-templates/nginx_tpl.xml in zabbix-ruby-client-0.0.15
- old
+ new
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>2.0</version>
- <date>2013-10-08T11:40:24Z</date>
+ <date>2013-10-17T21:38:16Z</date>
<groups>
<group>
<name>3. Service Nginx</name>
</group>
</groups>
@@ -216,10 +216,51 @@
</application>
</applications>
<valuemap/>
</item>
<item>
+ <name>NGINX Check</name>
+ <type>3</type>
+ <snmp_community/>
+ <multiplier>0</multiplier>
+ <snmp_oid/>
+ <key>net.tcp.service[http]</key>
+ <delay>30</delay>
+ <history>90</history>
+ <trends>365</trends>
+ <status>0</status>
+ <value_type>3</value_type>
+ <allowed_hosts/>
+ <units/>
+ <delta>0</delta>
+ <snmpv3_securityname/>
+ <snmpv3_securitylevel>0</snmpv3_securitylevel>
+ <snmpv3_authpassphrase/>
+ <snmpv3_privpassphrase/>
+ <formula>1</formula>
+ <delay_flex/>
+ <params/>
+ <ipmi_sensor/>
+ <data_type>3</data_type>
+ <authtype>0</authtype>
+ <username/>
+ <password/>
+ <publickey/>
+ <privatekey/>
+ <port/>
+ <description/>
+ <inventory_link>0</inventory_link>
+ <applications>
+ <application>
+ <name>Nginx</name>
+ </application>
+ </applications>
+ <valuemap>
+ <name>Service state</name>
+ </valuemap>
+ </item>
+ <item>
<name>Requests per second</name>
<type>2</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
@@ -261,9 +302,21 @@
<macros/>
<templates/>
<screens/>
</template>
</templates>
+ <triggers>
+ <trigger>
+ <expression>{Nginx:net.tcp.service[http].last(0)}=0</expression>
+ <name>NGINX Down</name>
+ <url/>
+ <status>0</status>
+ <priority>5</priority>
+ <description/>
+ <type>0</type>
+ <dependencies/>
+ </trigger>
+ </triggers>
<graphs>
<graph>
<name>Nginx Connections</name>
<width>900</width>
<height>200</height>