569 lines
21 KiB
XML
569 lines
21 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<zabbix_export>
|
|
<version>2.0</version>
|
|
<date>2015-08-12T07:20:46Z</date>
|
|
<groups>
|
|
<group>
|
|
<name>Templates</name>
|
|
</group>
|
|
</groups>
|
|
<templates>
|
|
<template>
|
|
<template>Template App Nginx</template>
|
|
<name>Template App Nginx</name>
|
|
<description/>
|
|
<groups>
|
|
<group>
|
|
<name>Templates</name>
|
|
</group>
|
|
</groups>
|
|
<applications>
|
|
<application>
|
|
<name>Nginx</name>
|
|
</application>
|
|
</applications>
|
|
<items>
|
|
<item>
|
|
<name>Nginx $1</name>
|
|
<type>0</type>
|
|
<snmp_community/>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid/>
|
|
<key>nginx[waiting]</key>
|
|
<delay>60</delay>
|
|
<history>30</history>
|
|
<trends>365</trends>
|
|
<status>0</status>
|
|
<value_type>0</value_type>
|
|
<allowed_hosts/>
|
|
<units/>
|
|
<delta>0</delta>
|
|
<snmpv3_contextname/>
|
|
<snmpv3_securityname/>
|
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
|
<snmpv3_authpassphrase/>
|
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
|
<snmpv3_privpassphrase/>
|
|
<formula>1</formula>
|
|
<delay_flex/>
|
|
<params/>
|
|
<ipmi_sensor/>
|
|
<data_type>0</data_type>
|
|
<authtype>0</authtype>
|
|
<username/>
|
|
<password/>
|
|
<publickey/>
|
|
<privatekey/>
|
|
<port/>
|
|
<description/>
|
|
<inventory_link>0</inventory_link>
|
|
<applications>
|
|
<application>
|
|
<name>Nginx</name>
|
|
</application>
|
|
</applications>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
</item>
|
|
<item>
|
|
<name>Nginx $1</name>
|
|
<type>0</type>
|
|
<snmp_community/>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid/>
|
|
<key>nginx[active_connections]</key>
|
|
<delay>60</delay>
|
|
<history>30</history>
|
|
<trends>365</trends>
|
|
<status>0</status>
|
|
<value_type>0</value_type>
|
|
<allowed_hosts/>
|
|
<units/>
|
|
<delta>0</delta>
|
|
<snmpv3_contextname/>
|
|
<snmpv3_securityname/>
|
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
|
<snmpv3_authpassphrase/>
|
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
|
<snmpv3_privpassphrase/>
|
|
<formula>1</formula>
|
|
<delay_flex/>
|
|
<params/>
|
|
<ipmi_sensor/>
|
|
<data_type>0</data_type>
|
|
<authtype>0</authtype>
|
|
<username/>
|
|
<password/>
|
|
<publickey/>
|
|
<privatekey/>
|
|
<port/>
|
|
<description/>
|
|
<inventory_link>0</inventory_link>
|
|
<applications>
|
|
<application>
|
|
<name>Nginx</name>
|
|
</application>
|
|
</applications>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
</item>
|
|
<item>
|
|
<name>Nginx $1</name>
|
|
<type>0</type>
|
|
<snmp_community/>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid/>
|
|
<key>nginx[writing]</key>
|
|
<delay>60</delay>
|
|
<history>30</history>
|
|
<trends>365</trends>
|
|
<status>0</status>
|
|
<value_type>0</value_type>
|
|
<allowed_hosts/>
|
|
<units/>
|
|
<delta>0</delta>
|
|
<snmpv3_contextname/>
|
|
<snmpv3_securityname/>
|
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
|
<snmpv3_authpassphrase/>
|
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
|
<snmpv3_privpassphrase/>
|
|
<formula>1</formula>
|
|
<delay_flex/>
|
|
<params/>
|
|
<ipmi_sensor/>
|
|
<data_type>0</data_type>
|
|
<authtype>0</authtype>
|
|
<username/>
|
|
<password/>
|
|
<publickey/>
|
|
<privatekey/>
|
|
<port/>
|
|
<description/>
|
|
<inventory_link>0</inventory_link>
|
|
<applications>
|
|
<application>
|
|
<name>Nginx</name>
|
|
</application>
|
|
</applications>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
</item>
|
|
<item>
|
|
<name>Nginx $1</name>
|
|
<type>0</type>
|
|
<snmp_community/>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid/>
|
|
<key>nginx[reading]</key>
|
|
<delay>60</delay>
|
|
<history>30</history>
|
|
<trends>365</trends>
|
|
<status>0</status>
|
|
<value_type>0</value_type>
|
|
<allowed_hosts/>
|
|
<units/>
|
|
<delta>0</delta>
|
|
<snmpv3_contextname/>
|
|
<snmpv3_securityname/>
|
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
|
<snmpv3_authpassphrase/>
|
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
|
<snmpv3_privpassphrase/>
|
|
<formula>1</formula>
|
|
<delay_flex/>
|
|
<params/>
|
|
<ipmi_sensor/>
|
|
<data_type>0</data_type>
|
|
<authtype>0</authtype>
|
|
<username/>
|
|
<password/>
|
|
<publickey/>
|
|
<privatekey/>
|
|
<port/>
|
|
<description/>
|
|
<inventory_link>0</inventory_link>
|
|
<applications>
|
|
<application>
|
|
<name>Nginx</name>
|
|
</application>
|
|
</applications>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
</item>
|
|
<item>
|
|
<name>Nginx $1/sec</name>
|
|
<type>0</type>
|
|
<snmp_community/>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid/>
|
|
<key>nginx[handled_requests]</key>
|
|
<delay>60</delay>
|
|
<history>30</history>
|
|
<trends>365</trends>
|
|
<status>0</status>
|
|
<value_type>0</value_type>
|
|
<allowed_hosts/>
|
|
<units/>
|
|
<delta>1</delta>
|
|
<snmpv3_contextname/>
|
|
<snmpv3_securityname/>
|
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
|
<snmpv3_authpassphrase/>
|
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
|
<snmpv3_privpassphrase/>
|
|
<formula>1</formula>
|
|
<delay_flex/>
|
|
<params/>
|
|
<ipmi_sensor/>
|
|
<data_type>0</data_type>
|
|
<authtype>0</authtype>
|
|
<username/>
|
|
<password/>
|
|
<publickey/>
|
|
<privatekey/>
|
|
<port/>
|
|
<description/>
|
|
<inventory_link>0</inventory_link>
|
|
<applications>
|
|
<application>
|
|
<name>Nginx</name>
|
|
</application>
|
|
</applications>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
</item>
|
|
<item>
|
|
<name>Nginx $1/sec</name>
|
|
<type>0</type>
|
|
<snmp_community/>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid/>
|
|
<key>nginx[accepted_connections]</key>
|
|
<delay>60</delay>
|
|
<history>30</history>
|
|
<trends>365</trends>
|
|
<status>0</status>
|
|
<value_type>0</value_type>
|
|
<allowed_hosts/>
|
|
<units/>
|
|
<delta>1</delta>
|
|
<snmpv3_contextname/>
|
|
<snmpv3_securityname/>
|
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
|
<snmpv3_authpassphrase/>
|
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
|
<snmpv3_privpassphrase/>
|
|
<formula>1</formula>
|
|
<delay_flex/>
|
|
<params/>
|
|
<ipmi_sensor/>
|
|
<data_type>0</data_type>
|
|
<authtype>0</authtype>
|
|
<username/>
|
|
<password/>
|
|
<publickey/>
|
|
<privatekey/>
|
|
<port/>
|
|
<description/>
|
|
<inventory_link>0</inventory_link>
|
|
<applications>
|
|
<application>
|
|
<name>Nginx</name>
|
|
</application>
|
|
</applications>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
</item>
|
|
<item>
|
|
<name>Nginx $1/sec</name>
|
|
<type>0</type>
|
|
<snmp_community/>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid/>
|
|
<key>nginx[handled_connections]</key>
|
|
<delay>60</delay>
|
|
<history>30</history>
|
|
<trends>365</trends>
|
|
<status>0</status>
|
|
<value_type>0</value_type>
|
|
<allowed_hosts/>
|
|
<units/>
|
|
<delta>1</delta>
|
|
<snmpv3_contextname/>
|
|
<snmpv3_securityname/>
|
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
|
<snmpv3_authpassphrase/>
|
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
|
<snmpv3_privpassphrase/>
|
|
<formula>1</formula>
|
|
<delay_flex/>
|
|
<params/>
|
|
<ipmi_sensor/>
|
|
<data_type>0</data_type>
|
|
<authtype>0</authtype>
|
|
<username/>
|
|
<password/>
|
|
<publickey/>
|
|
<privatekey/>
|
|
<port/>
|
|
<description/>
|
|
<inventory_link>0</inventory_link>
|
|
<applications>
|
|
<application>
|
|
<name>Nginx</name>
|
|
</application>
|
|
</applications>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
</item>
|
|
<item>
|
|
<name>Nginx is enabled in autostart</name>
|
|
<type>0</type>
|
|
<snmp_community/>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid/>
|
|
<key>chkconfig[nginx]</key>
|
|
<delay>3600</delay>
|
|
<history>30</history>
|
|
<trends>1</trends>
|
|
<status>0</status>
|
|
<value_type>3</value_type>
|
|
<allowed_hosts/>
|
|
<units/>
|
|
<delta>0</delta>
|
|
<snmpv3_contextname/>
|
|
<snmpv3_securityname/>
|
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
|
<snmpv3_authpassphrase/>
|
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
|
<snmpv3_privpassphrase/>
|
|
<formula>1</formula>
|
|
<delay_flex/>
|
|
<params/>
|
|
<ipmi_sensor/>
|
|
<data_type>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/>
|
|
<logtimefmt/>
|
|
</item>
|
|
<item>
|
|
<name>Number of $1 process</name>
|
|
<type>0</type>
|
|
<snmp_community/>
|
|
<multiplier>0</multiplier>
|
|
<snmp_oid/>
|
|
<key>proc.num[nginx]</key>
|
|
<delay>60</delay>
|
|
<history>30</history>
|
|
<trends>365</trends>
|
|
<status>0</status>
|
|
<value_type>3</value_type>
|
|
<allowed_hosts/>
|
|
<units/>
|
|
<delta>0</delta>
|
|
<snmpv3_contextname/>
|
|
<snmpv3_securityname/>
|
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
|
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
|
<snmpv3_authpassphrase/>
|
|
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
|
<snmpv3_privpassphrase/>
|
|
<formula>1</formula>
|
|
<delay_flex/>
|
|
<params/>
|
|
<ipmi_sensor/>
|
|
<data_type>0</data_type>
|
|
<authtype>0</authtype>
|
|
<username/>
|
|
<password/>
|
|
<publickey/>
|
|
<privatekey/>
|
|
<port/>
|
|
<description/>
|
|
<inventory_link>0</inventory_link>
|
|
<applications>
|
|
<application>
|
|
<name>Nginx</name>
|
|
</application>
|
|
</applications>
|
|
<valuemap/>
|
|
<logtimefmt/>
|
|
</item>
|
|
</items>
|
|
<discovery_rules/>
|
|
<macros>
|
|
<macro>
|
|
<macro>{$NGINX_STATUS_URL}</macro>
|
|
<value>http://127.0.0.1:10061/nginx_status</value>
|
|
</macro>
|
|
</macros>
|
|
<templates/>
|
|
<screens/>
|
|
</template>
|
|
</templates>
|
|
<triggers>
|
|
<trigger>
|
|
<expression>{Template App Nginx:chkconfig[nginx].last(0)}=0</expression>
|
|
<name>Nginx is not enabled in autostart</name>
|
|
<url/>
|
|
<status>0</status>
|
|
<priority>2</priority>
|
|
<description/>
|
|
<type>0</type>
|
|
<dependencies/>
|
|
</trigger>
|
|
<trigger>
|
|
<expression>{Template App Nginx:proc.num[nginx].last(0)}=0</expression>
|
|
<name>Nginx is not running</name>
|
|
<url/>
|
|
<status>0</status>
|
|
<priority>4</priority>
|
|
<description>Nginx is not running.
|
|
|
|
It has been stopped / shutdown or has crashed.
|
|
Check on the server for more details:
|
|
- w / last
|
|
- dmesg logs
|
|
- /var/log/messages
|
|
- nginx error logs</description>
|
|
<type>0</type>
|
|
<dependencies/>
|
|
</trigger>
|
|
</triggers>
|
|
<graphs>
|
|
<graph>
|
|
<name>Nginx - Connections and Requests status</name>
|
|
<width>900</width>
|
|
<height>200</height>
|
|
<yaxismin>0.0000</yaxismin>
|
|
<yaxismax>100.0000</yaxismax>
|
|
<show_work_period>0</show_work_period>
|
|
<show_triggers>0</show_triggers>
|
|
<type>0</type>
|
|
<show_legend>1</show_legend>
|
|
<show_3d>0</show_3d>
|
|
<percent_left>0.0000</percent_left>
|
|
<percent_right>0.0000</percent_right>
|
|
<ymin_type_1>1</ymin_type_1>
|
|
<ymax_type_1>0</ymax_type_1>
|
|
<ymin_item_1>0</ymin_item_1>
|
|
<ymax_item_1>0</ymax_item_1>
|
|
<graph_items>
|
|
<graph_item>
|
|
<sortorder>0</sortorder>
|
|
<drawtype>1</drawtype>
|
|
<color>FF9999</color>
|
|
<yaxisside>0</yaxisside>
|
|
<calc_fnc>4</calc_fnc>
|
|
<type>0</type>
|
|
<item>
|
|
<host>Template App Nginx</host>
|
|
<key>nginx[accepted_connections]</key>
|
|
</item>
|
|
</graph_item>
|
|
<graph_item>
|
|
<sortorder>1</sortorder>
|
|
<drawtype>2</drawtype>
|
|
<color>990000</color>
|
|
<yaxisside>0</yaxisside>
|
|
<calc_fnc>4</calc_fnc>
|
|
<type>0</type>
|
|
<item>
|
|
<host>Template App Nginx</host>
|
|
<key>nginx[handled_connections]</key>
|
|
</item>
|
|
</graph_item>
|
|
<graph_item>
|
|
<sortorder>2</sortorder>
|
|
<drawtype>0</drawtype>
|
|
<color>009900</color>
|
|
<yaxisside>0</yaxisside>
|
|
<calc_fnc>4</calc_fnc>
|
|
<type>0</type>
|
|
<item>
|
|
<host>Template App Nginx</host>
|
|
<key>nginx[handled_requests]</key>
|
|
</item>
|
|
</graph_item>
|
|
</graph_items>
|
|
</graph>
|
|
<graph>
|
|
<name>Nginx - Threads status</name>
|
|
<width>900</width>
|
|
<height>200</height>
|
|
<yaxismin>0.0000</yaxismin>
|
|
<yaxismax>100.0000</yaxismax>
|
|
<show_work_period>0</show_work_period>
|
|
<show_triggers>0</show_triggers>
|
|
<type>1</type>
|
|
<show_legend>1</show_legend>
|
|
<show_3d>0</show_3d>
|
|
<percent_left>0.0000</percent_left>
|
|
<percent_right>0.0000</percent_right>
|
|
<ymin_type_1>1</ymin_type_1>
|
|
<ymax_type_1>0</ymax_type_1>
|
|
<ymin_item_1>0</ymin_item_1>
|
|
<ymax_item_1>0</ymax_item_1>
|
|
<graph_items>
|
|
<graph_item>
|
|
<sortorder>0</sortorder>
|
|
<drawtype>1</drawtype>
|
|
<color>990000</color>
|
|
<yaxisside>0</yaxisside>
|
|
<calc_fnc>4</calc_fnc>
|
|
<type>0</type>
|
|
<item>
|
|
<host>Template App Nginx</host>
|
|
<key>nginx[writing]</key>
|
|
</item>
|
|
</graph_item>
|
|
<graph_item>
|
|
<sortorder>1</sortorder>
|
|
<drawtype>1</drawtype>
|
|
<color>999900</color>
|
|
<yaxisside>0</yaxisside>
|
|
<calc_fnc>4</calc_fnc>
|
|
<type>0</type>
|
|
<item>
|
|
<host>Template App Nginx</host>
|
|
<key>nginx[reading]</key>
|
|
</item>
|
|
</graph_item>
|
|
<graph_item>
|
|
<sortorder>2</sortorder>
|
|
<drawtype>1</drawtype>
|
|
<color>009900</color>
|
|
<yaxisside>0</yaxisside>
|
|
<calc_fnc>4</calc_fnc>
|
|
<type>0</type>
|
|
<item>
|
|
<host>Template App Nginx</host>
|
|
<key>nginx[waiting]</key>
|
|
</item>
|
|
</graph_item>
|
|
</graph_items>
|
|
</graph>
|
|
</graphs>
|
|
</zabbix_export>
|