zabbix-templates/apache_tpl.xml in zabbix-ruby-client-0.0.14 vs zabbix-templates/apache_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-01T06:29:18Z</date>
+ <date>2013-10-17T21:37:42Z</date>
<groups>
<group>
<name>3. Service Apache</name>
</group>
</groups>
@@ -28,11 +28,11 @@
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>apache[BusyWorkers]</key>
<delay>0</delay>
- <history>7</history>
+ <history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
@@ -67,11 +67,11 @@
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>apache[BytesPerReq]</key>
<delay>0</delay>
- <history>7</history>
+ <history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>0</value_type>
<allowed_hosts/>
<units>B</units>
@@ -106,11 +106,11 @@
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>apache[BytesPerSec]</key>
<delay>0</delay>
- <history>7</history>
+ <history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>0</value_type>
<allowed_hosts/>
<units>Bps</units>
@@ -145,11 +145,11 @@
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>apache[c_closing]</key>
<delay>0</delay>
- <history>7</history>
+ <history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
@@ -184,11 +184,11 @@
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>apache[CPULoad]</key>
<delay>0</delay>
- <history>7</history>
+ <history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>0</value_type>
<allowed_hosts/>
<units/>
@@ -223,11 +223,11 @@
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>apache[c_dns]</key>
<delay>0</delay>
- <history>7</history>
+ <history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
@@ -262,11 +262,11 @@
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>apache[FreeWorkers]</key>
<delay>60</delay>
- <history>7</history>
+ <history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>0</value_type>
<allowed_hosts/>
<units>%</units>
@@ -301,11 +301,11 @@
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>apache[c_finish]</key>
<delay>0</delay>
- <history>7</history>
+ <history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
@@ -333,18 +333,59 @@
</application>
</applications>
<valuemap/>
</item>
<item>
+ <name>HTTP 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>APACHE</name>
+ </application>
+ </applications>
+ <valuemap>
+ <name>Service state</name>
+ </valuemap>
+ </item>
+ <item>
<name>Idle</name>
<type>2</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>apache[c_idle]</key>
<delay>0</delay>
- <history>7</history>
+ <history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
@@ -379,11 +420,11 @@
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>apache[c_cleanup]</key>
<delay>0</delay>
- <history>7</history>
+ <history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
@@ -418,11 +459,11 @@
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>apache[IdleWorkers]</key>
<delay>0</delay>
- <history>7</history>
+ <history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
@@ -457,11 +498,11 @@
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>apache[c_keep]</key>
<delay>0</delay>
- <history>7</history>
+ <history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
@@ -496,11 +537,11 @@
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>apache[c_log]</key>
<delay>0</delay>
- <history>7</history>
+ <history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
@@ -535,11 +576,11 @@
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>apache[c_read]</key>
<delay>0</delay>
- <history>7</history>
+ <history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
@@ -574,11 +615,11 @@
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>apache[ReqPerSec]</key>
<delay>0</delay>
- <history>7</history>
+ <history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>0</value_type>
<allowed_hosts/>
<units/>
@@ -613,11 +654,11 @@
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>apache[c_send]</key>
<delay>0</delay>
- <history>7</history>
+ <history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
@@ -652,11 +693,11 @@
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>apache[c_start]</key>
<delay>0</delay>
- <history>7</history>
+ <history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
@@ -691,11 +732,11 @@
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>apache[TotalAccesses]</key>
<delay>0</delay>
- <history>7</history>
+ <history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
@@ -730,11 +771,11 @@
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>apache[TotalKBytes]</key>
<delay>0</delay>
- <history>7</history>
+ <history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>0</value_type>
<allowed_hosts/>
<units/>
@@ -769,11 +810,11 @@
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>apache[Uptime]</key>
<delay>0</delay>
- <history>7</history>
+ <history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>0</value_type>
<allowed_hosts/>
<units/>
@@ -808,11 +849,11 @@
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>apache[c_waiting]</key>
<delay>0</delay>
- <history>7</history>
+ <history>90</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units/>
@@ -914,9 +955,21 @@
</screen_items>
</screen>
</screens>
</template>
</templates>
+ <triggers>
+ <trigger>
+ <expression>{Apache Stats:net.tcp.service[http].last(0)}=0</expression>
+ <name>Apache Down</name>
+ <url/>
+ <status>0</status>
+ <priority>5</priority>
+ <description/>
+ <type>0</type>
+ <dependencies/>
+ </trigger>
+ </triggers>
<graphs>
<graph>
<name>Apache connections</name>
<width>900</width>
<height>200</height>