This commit is contained in:
Gerard Stanczak 2015-10-01 13:08:07 +02:00
commit 4252503eea
29 changed files with 16514 additions and 5 deletions

3
.my.cnf Normal file
View File

@ -0,0 +1,3 @@
[client]
user=zabbix
password='ha7jqnlacwefrs'

View File

@ -17,9 +17,87 @@ Template App APC
====== ======
Monitoring memory usage of APC (http://pecl.php.net/package/APC) module. File ```bin/apc-stats.php``` need to be accessed via HTTP for example http://127.0.0.1/apc-stats.php Monitoring memory usage of APC (http://pecl.php.net/package/APC) module. File ```bin/apc-stats.php``` need to be accessed via HTTP for example http://127.0.0.1/apc-stats.php
Template App Amavisd
======
Monitoring for Amavisd service.
Template App BIND
======
Monitoring for BIND (DNS server) service. Checking also version of BIND.
Template App Clamav
======
Monitoring for ClamAV.
Template App Dovecot
======
Monitoring for Dovecot.
Template App Etherpad
======
Monitoring for Etherpad (http://etherpad.org/)
Template App Exim
=====
Monitoring for mail server Exim.
Template App lm_sensors
=====
Monitoring CPU and MotherBoard temperatures by lm_senros module.
Template App mdadm
======
Monitoring mdadm arrays. Checking number of corrupted disk arrays.
Template App MySQL
=====
Monitoring for MySQL 5.5, 5.6 and 5.7. It is using PHP-cli for monitoring. You need also add zabbix user to database. Please run SQL query:
```
CREATE USER 'zabbix'@'localhost' IDENTIFIED BY 'ha7jqnlacwefrs';
GRANT REPLICATION CLIENT, SELECT, PROCESS, SHOW DATABASES ON *.* TO 'zabbix'@'localhost' IDENTIFIED BY 'ha7jqnlacwefrs';
FLUSH PRIVILEGES;
```
If you want change password, you need to edit files ```.my.cnf``` and also in file ```bin/ss_get_mysql_stats.php```.
Template App MySQL Slave
=====
Monitoring for replication in MySQL 5.5, 5.6 and 5.7. Please run SQL query:
```
CREATE USER 'zabbix'@'localhost' IDENTIFIED BY 'ha7jqnlacwefrs';
GRANT REPLICATION CLIENT, SELECT, PROCESS, SHOW DATABASES ON *.* TO 'zabbix'@'localhost' IDENTIFIED BY 'ha7jqnlacwefrs';
FLUSH PRIVILEGES;
```
If you want change password, you need to edit files ```.my.cnf```.
Template App Nginx
======
Monitoring for Nginx. It is using script ```nginx-check.sh``` written by Vincent Viallet.
Template App Brocade HBA Template App Brocade HBA
====== ======
Monitoring for Network Adapters - Brocade. Template is usind Discovery to create Items and Triggers. You need also add SUDO for zabbix user: ```zabbix ALL=(ALL) NOPASSWD: /usr/bin/bcu``` Monitoring for Network Adapters - Brocade. Template is using Discovery to create Items and Triggers. You need also add SUDO for zabbix user: ```zabbix ALL=(ALL) NOPASSWD: /usr/bin/bcu```
Template App OpenDKIM
======
Monitoring for OpenDKIM.
Template App Postfix
======
Monitoring for mail server Postfix.
Template App Pure-FTPd
======
Monitoring for Pure-FTPd.
Template App Spamassassin
======
Monitoring for Spamassassin.
Template App vsftpd
======
Monitoring for vsftpd.
Template App Nscd Template App Nscd
====== ======
@ -204,6 +282,10 @@ Template App S.M.A.R.T.
====== ======
Monitoring for S.M.A.R.T. enabled storage devices (HDD's, SSD's and other). Uses discovery script to populate disks. INFO: For non present S.M.A.R.T. values disable items on per-host level. Monitoring for S.M.A.R.T. enabled storage devices (HDD's, SSD's and other). Uses discovery script to populate disks. INFO: For non present S.M.A.R.T. values disable items on per-host level.
Template and scripts created by:
Michał Macioszek, Taras Baran, Michal Gębora, Marcin Wilk, Maks Bednarek, Anna Fałek, Mikołaj Szczuraszek
Template App PowerPath Template App PowerPath
====== ======
Monitoring for EMC PowerPath: Host-based software for automated data path management, failover and recovery, and optimized load balancing. PowerPath automates, standardizes, and optimizes data paths in physical and virtual environments as well as cloud deployments to deliver high availability and performance. Monitoring for EMC PowerPath: Host-based software for automated data path management, failover and recovery, and optimized load balancing. PowerPath automates, standardizes, and optimizes data paths in physical and virtual environments as well as cloud deployments to deliver high availability and performance.

View File

@ -1,6 +1,8 @@
#!/bin/bash #!/bin/bash
# Script for HDD discovery # Script for HDD discovery
# #
# Created by:
# Michał Macioszek, Taras Baran, Michal Gębora, Marcin Wilk, Maks Bednarek, Anna Fałek, Mikołaj Szczuraszek
disks=`ls -l /dev/sd* | awk '{print $NF}' | sed 's/[0-9]//g' | uniq` disks=`ls -l /dev/sd* | awk '{print $NF}' | sed 's/[0-9]//g' | uniq`

13
bin/lm_sensors.sh Normal file
View File

@ -0,0 +1,13 @@
#!/bin/sh
cachefile='/tmp/lm_sensors.log'
if [ -f $cachefile ]; then
cachefileage=$(($(date +%s) - $(stat -c %Y $cachefile)))
if [ $cachefileage -gt 300 ]; then
sensors > $cachefile
fi
else
sensors > $cachefile
fi
cat $cachefile | grep "$1" | cut -d ":" -f 2 | sed -e 's/^[ \t]*//' | cut -d " " -f 1 | tr -d "+°C?"

64
bin/nginx-check.sh Normal file
View File

@ -0,0 +1,64 @@
#!/bin/bash
##################################
# Zabbix monitoring script
#
# nginx:
# - anything available via nginx stub-status module
#
##################################
# Contact:
# vincent.viallet@gmail.com
##################################
# ChangeLog:
# 20100922 VV initial creation
##################################
# Zabbix requested parameter
ZBX_REQ_DATA="$1"
ZBX_REQ_DATA_URL="$2"
# Nginx defaults
NGINX_STATUS_DEFAULT_URL="http://localhost:10061/nginx_status"
WGET_BIN="/usr/bin/wget"
#
# Error handling:
# - need to be displayable in Zabbix (avoid NOT_SUPPORTED)
# - items need to be of type "float" (allow negative + float)
#
ERROR_NO_ACCESS_FILE="-0.9900"
ERROR_NO_ACCESS="-0.9901"
ERROR_WRONG_PARAM="-0.9902"
ERROR_DATA="-0.9903" # either can not connect / bad host / bad port
# Handle host and port if non-default
if [ ! -z "$ZBX_REQ_DATA_URL" ]; then
URL="$ZBX_REQ_DATA_URL"
else
URL="$NGINX_STATUS_DEFAULT_URL"
fi
# save the nginx stats in a variable for future parsing
NGINX_STATS=$($WGET_BIN -q $URL -O - 2> /dev/null)
# error during retrieve
if [ $? -ne 0 -o -z "$NGINX_STATS" ]; then
echo $ERROR_DATA
exit 1
fi
#
# Extract data from nginx stats
#
case $ZBX_REQ_DATA in
active_connections) echo "$NGINX_STATS" | head -1 | cut -f3 -d' ';;
accepted_connections) echo "$NGINX_STATS" | grep -Ev '[a-zA-Z]' | cut -f2 -d' ';;
handled_connections) echo "$NGINX_STATS" | grep -Ev '[a-zA-Z]' | cut -f3 -d' ';;
handled_requests) echo "$NGINX_STATS" | grep -Ev '[a-zA-Z]' | cut -f4 -d' ';;
reading) echo "$NGINX_STATS" | tail -1 | cut -f2 -d' ';;
writing) echo "$NGINX_STATS" | tail -1 | cut -f4 -d' ';;
waiting) echo "$NGINX_STATS" | tail -1 | cut -f6 -d' ';;
*) echo $ERROR_WRONG_PARAM; exit 1;;
esac
exit 0

1281
bin/ss_get_mysql_stats.php Normal file

File diff suppressed because it is too large Load Diff

11
php.ini Normal file
View File

@ -0,0 +1,11 @@
[PHP]
engine = On
expose_php = Off
max_execution_time = 300
max_input_time = 300
memory_limit = 128M
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT & ~E_WARNING
display_errors = Off
[Date]
date.timezone = "Etc/UTC"

View File

@ -1,8 +1,12 @@
zabbix ALL=(ALL) NOPASSWD: /sbin/iptables -L INPUT -n zabbix ALL=(ALL) NOPASSWD: /sbin/iptables -L INPUT -n
zabbix ALL=(ALL) NOPASSWD: /usr/sbin/nscd -g zabbix ALL=(ALL) NOPASSWD: /usr/sbin/nscd -g
zabbix ALL=(ALL) NOPASSWD: /usr/sbin/smartctl
zabbix ALL=(ALL) NOPASSWD: /usr/sbin/rabbitmqctl zabbix ALL=(ALL) NOPASSWD: /usr/sbin/rabbitmqctl
zabbix ALL=(ALL) NOPASSWD: /usr/bin/php /etc/zabbix/bin/rabbit.php zabbix ALL=(ALL) NOPASSWD: /usr/bin/php /etc/zabbix/bin/rabbit.php
apache ALL=(ALL) NOPASSWD: /usr/bin/scanimage
zabbix ALL=(ALL) NOPASSWD: /usr/sbin/exim -bp
zabbix ALL=(ALL) NOPASSWD: /opt/dell/srvadmin/bin/omreport zabbix ALL=(ALL) NOPASSWD: /opt/dell/srvadmin/bin/omreport
zabbix ALL=(ALL) NOPASSWD: /usr/bin/bcu zabbix ALL=(ALL) NOPASSWD: /usr/bin/bcu
zabbix ALL=(ALL) NOPASSWD: /sbin/powermt zabbix ALL=(ALL) NOPASSWD: /sbin/powermt
zabbix ALL=(ALL) NOPASSWD: /bin/find /var/spool/postfix/ -type f
Defaults:zabbix !requiretty Defaults:zabbix !requiretty

View File

@ -0,0 +1,82 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>2.0</version>
<date>2015-08-12T06:52:13Z</date>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>Template App Amavisd</template>
<name>Template App Amavisd</name>
<description/>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<applications/>
<items>
<item>
<name>Amavis service is running</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>proc.num[amavisd]</key>
<delay>90</delay>
<history>7</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/>
<valuemap>
<name>Service state</name>
</valuemap>
<logtimefmt/>
</item>
</items>
<discovery_rules/>
<macros/>
<templates/>
<screens/>
</template>
</templates>
<triggers>
<trigger>
<expression>{Template App Amavisd:proc.num[amavisd].last(0)}=0</expression>
<name>Service amavis is not running</name>
<url/>
<status>0</status>
<priority>3</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
</triggers>
</zabbix_export>

View File

@ -0,0 +1,251 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>2.0</version>
<date>2015-08-12T06:59:56Z</date>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>Template App Dovecot</template>
<name>Template App Dovecot</name>
<description/>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<applications>
<application>
<name>Dovecot</name>
</application>
</applications>
<items>
<item>
<name>Dovecot is enabled in autostart</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>chkconfig[dovecot]</key>
<delay>3600</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>3</data_type>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description/>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Dovecot</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>Dovecot version</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>dovecot.version</key>
<delay>3600</delay>
<history>30</history>
<trends>365</trends>
<status>0</status>
<value_type>1</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>Dovecot</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>IMAP server is running</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>net.tcp.service[imap]</key>
<delay>30</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>0</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>Dovecot</name>
</application>
</applications>
<valuemap>
<name>Service state</name>
</valuemap>
<logtimefmt/>
</item>
<item>
<name>POP3 server is running</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>net.tcp.service[pop]</key>
<delay>30</delay>
<history>30</history>
<trends>365</trends>
<status>1</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>0</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>Dovecot</name>
</application>
</applications>
<valuemap>
<name>Service state</name>
</valuemap>
<logtimefmt/>
</item>
</items>
<discovery_rules/>
<macros/>
<templates/>
<screens/>
</template>
</templates>
<triggers>
<trigger>
<expression>{Template App Dovecot:chkconfig[dovecot].last(0)}=0</expression>
<name>Dovecot is not enabled in autostart</name>
<url/>
<status>0</status>
<priority>2</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{Template App Dovecot:dovecot.version.diff(0)}&gt;0</expression>
<name>Dovecot version has changed</name>
<url/>
<status>0</status>
<priority>1</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{Template App Dovecot:net.tcp.service[imap].last(0)}=0</expression>
<name>IMAP server is down</name>
<url/>
<status>0</status>
<priority>4</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{Template App Dovecot:net.tcp.service[pop].last(0)}=0</expression>
<name>POP3 server is down</name>
<url/>
<status>0</status>
<priority>4</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
</triggers>
</zabbix_export>

View File

@ -0,0 +1,188 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>2.0</version>
<date>2015-08-12T07:00:26Z</date>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>Template App Etherpad</template>
<name>Template App Etherpad</name>
<description/>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<applications>
<application>
<name>Etherpad</name>
</application>
</applications>
<items>
<item>
<name>Etherpad is enabled in autostart</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>chkconfig[etherpad]</key>
<delay>3600</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>3</data_type>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description/>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Etherpad</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>Etherpad is running</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>proc.num[node]</key>
<delay>60</delay>
<history>7</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>Etherpad</name>
</application>
</applications>
<valuemap>
<name>Service state</name>
</valuemap>
<logtimefmt/>
</item>
<item>
<name>Etherpad service is listening</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>net.tcp.service[tcp,,10000]</key>
<delay>60</delay>
<history>7</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>Etherpad</name>
</application>
</applications>
<valuemap>
<name>Service state</name>
</valuemap>
<logtimefmt/>
</item>
</items>
<discovery_rules/>
<macros/>
<templates/>
<screens/>
</template>
</templates>
<triggers>
<trigger>
<expression>{Template App Etherpad:chkconfig[etherpad].last(0)}=0</expression>
<name>Etherpad is not enabled in autostart</name>
<url/>
<status>0</status>
<priority>2</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{Template App Etherpad:proc.num[node].last(0)}=0 or {Template App Etherpad:net.tcp.service[tcp,,10000].last(0)}=0</expression>
<name>Etherpad is not running</name>
<url/>
<status>0</status>
<priority>3</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
</triggers>
</zabbix_export>

View File

@ -0,0 +1,293 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>2.0</version>
<date>2015-08-12T07:00:43Z</date>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>Template App Exim</template>
<name>Template App Exim</name>
<description/>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<applications>
<application>
<name>Exim</name>
</application>
</applications>
<items>
<item>
<name>Exim is enabled in autostart</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>chkconfig[exim]</key>
<delay>1800</delay>
<history>7</history>
<trends>30</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>Exim</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>Exim version</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>exim.version</key>
<delay>3600</delay>
<history>30</history>
<trends>365</trends>
<status>0</status>
<value_type>1</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>Exim</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>Number of mails in queue</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>mailqueue-exim</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>Exim</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>SMTP service is running</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>net.tcp.service[smtp]</key>
<delay>90</delay>
<history>7</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>Exim</name>
</application>
</applications>
<valuemap>
<name>Service state</name>
</valuemap>
<logtimefmt/>
</item>
</items>
<discovery_rules/>
<macros/>
<templates/>
<screens/>
</template>
</templates>
<triggers>
<trigger>
<expression>{Template App Exim:chkconfig[exim].last(0)}=0</expression>
<name>Exim is not enabled in autostart</name>
<url/>
<status>0</status>
<priority>2</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{Template App Exim:exim.version.diff(0)}&gt;0</expression>
<name>Exim version has changed</name>
<url/>
<status>0</status>
<priority>1</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{Template App Exim:mailqueue-exim.min(3600)}&gt;500</expression>
<name>High mail queue ({ITEM.LASTVALUE} mails)</name>
<url/>
<status>0</status>
<priority>3</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{Template App Exim:mailqueue-exim.min(21600)}&gt;50</expression>
<name>High old mail queue ({ITEM.LASTVALUE} mails)</name>
<url/>
<status>0</status>
<priority>2</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{Template App Exim:net.tcp.service[smtp].last(0)}=0</expression>
<name>SMTP server is down</name>
<url/>
<status>0</status>
<priority>4</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
</triggers>
<graphs>
<graph>
<name>Mail queue</name>
<width>900</width>
<height>200</height>
<yaxismin>0.0000</yaxismin>
<yaxismax>100.0000</yaxismax>
<show_work_period>1</show_work_period>
<show_triggers>0</show_triggers>
<type>0</type>
<show_legend>0</show_legend>
<show_3d>0</show_3d>
<percent_left>0.0000</percent_left>
<percent_right>0.0000</percent_right>
<ymin_type_1>1</ymin_type_1>
<ymax_type_1>0</ymax_type_1>
<ymin_item_1>0</ymin_item_1>
<ymax_item_1>0</ymax_item_1>
<graph_items>
<graph_item>
<sortorder>0</sortorder>
<drawtype>5</drawtype>
<color>C80000</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Template App Exim</host>
<key>mailqueue-exim</key>
</item>
</graph_item>
</graph_items>
</graph>
</graphs>
</zabbix_export>

View File

@ -0,0 +1,402 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>2.0</version>
<date>2015-08-12T07:18:54Z</date>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>Template App MySQL Slave</template>
<name>Template App MySQL Slave</name>
<description/>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<applications>
<application>
<name>Slave Database</name>
</application>
</applications>
<items>
<item>
<name>IO Running</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>repIOrun</key>
<delay>30</delay>
<history>30</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts>localhost</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>0</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>Slave Database</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>Seconds Behind Master</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>repSBM</key>
<delay>30</delay>
<history>30</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts>localhost</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>0</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>Slave Database</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>SQL Delay</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>repSQLDelay</key>
<delay>30</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>A nonnegative integer indicating the number of seconds that the slave must lag the master.</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Slave Database</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>SQL Remaining Delay</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>repSQLRemDelay</key>
<delay>30</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>When Slave_SQL_Running_State is Waiting until MASTER_DELAY seconds after master executed event, this field contains an integer indicating the number of seconds left of the delay. At other times, this field is NULL (0 in zabbix case).</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Slave Database</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>SQL Running</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>repSQLrun</key>
<delay>30</delay>
<history>30</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts>localhost</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>0</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>Slave Database</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
</items>
<discovery_rules/>
<macros/>
<templates/>
<screens/>
</template>
</templates>
<triggers>
<trigger>
<expression>{Template App MySQL Slave:repIOrun.last(0)}=0</expression>
<name>[MySQL] IO Thread is not running</name>
<url/>
<status>0</status>
<priority>3</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{Template App MySQL Slave:repSBM.last(0)}&gt;1800</expression>
<name>[MySQL] Slave is out of sync ({ITEM.LASTVALUE} seconds of delay)</name>
<url/>
<status>0</status>
<priority>2</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{Template App MySQL Slave:repSQLrun.last(0)}=0</expression>
<name>[MySQL] SQL Thread is not running</name>
<url/>
<status>0</status>
<priority>3</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
</triggers>
<graphs>
<graph>
<name>[MySQL] Replication Thread 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>0</ymin_type_1>
<ymax_type_1>0</ymax_type_1>
<ymin_item_1>0</ymin_item_1>
<ymax_item_1>0</ymax_item_1>
<graph_items>
<graph_item>
<sortorder>0</sortorder>
<drawtype>0</drawtype>
<color>009900</color>
<yaxisside>0</yaxisside>
<calc_fnc>7</calc_fnc>
<type>0</type>
<item>
<host>Template App MySQL Slave</host>
<key>repSQLrun</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<drawtype>0</drawtype>
<color>DD0000</color>
<yaxisside>0</yaxisside>
<calc_fnc>7</calc_fnc>
<type>0</type>
<item>
<host>Template App MySQL Slave</host>
<key>repIOrun</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>[MySQL] Seconds Behind Master</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>0</ymin_type_1>
<ymax_type_1>0</ymax_type_1>
<ymin_item_1>0</ymin_item_1>
<ymax_item_1>0</ymax_item_1>
<graph_items>
<graph_item>
<sortorder>0</sortorder>
<drawtype>0</drawtype>
<color>009900</color>
<yaxisside>0</yaxisside>
<calc_fnc>7</calc_fnc>
<type>0</type>
<item>
<host>Template App MySQL Slave</host>
<key>repSBM</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>[MySQL] SQL Delay</name>
<width>900</width>
<height>200</height>
<yaxismin>0.0000</yaxismin>
<yaxismax>100.0000</yaxismax>
<show_work_period>1</show_work_period>
<show_triggers>1</show_triggers>
<type>0</type>
<show_legend>1</show_legend>
<show_3d>0</show_3d>
<percent_left>0.0000</percent_left>
<percent_right>0.0000</percent_right>
<ymin_type_1>1</ymin_type_1>
<ymax_type_1>0</ymax_type_1>
<ymin_item_1>0</ymin_item_1>
<ymax_item_1>0</ymax_item_1>
<graph_items>
<graph_item>
<sortorder>0</sortorder>
<drawtype>5</drawtype>
<color>0000BB</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Template App MySQL Slave</host>
<key>repSQLDelay</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<drawtype>5</drawtype>
<color>AA00AA</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Template App MySQL Slave</host>
<key>repSQLRemDelay</key>
</item>
</graph_item>
</graph_items>
</graph>
</graphs>
</zabbix_export>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,568 @@
<?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.&#13;
&#13;
It has been stopped / shutdown or has crashed. &#13;
Check on the server for more details:&#13;
- w / last&#13;
- dmesg logs&#13;
- /var/log/messages&#13;
- 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>

View File

@ -0,0 +1,194 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>2.0</version>
<date>2015-08-12T07:27:21Z</date>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>Template App OpenDKIM</template>
<name>Template App OpenDKIM</name>
<description/>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<applications>
<application>
<name>OpenDKIM</name>
</application>
</applications>
<items>
<item>
<name>OpenDKIM is enabled in autostart</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>chkconfig[opendkim]</key>
<delay>3600</delay>
<history>7</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>3</data_type>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description/>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>OpenDKIM</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>OpenDKIM service is running</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>proc.num[opendkim]</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>OpenDKIM</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>OpenDKIM version</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>opendkim.version</key>
<delay>3600</delay>
<history>30</history>
<trends>365</trends>
<status>0</status>
<value_type>1</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>OpenDKIM</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
</items>
<discovery_rules/>
<macros/>
<templates/>
<screens/>
</template>
</templates>
<triggers>
<trigger>
<expression>{Template App OpenDKIM:chkconfig[opendkim].last(0)}=0</expression>
<name>OpenDKIM is not enabled in autostart</name>
<url/>
<status>0</status>
<priority>2</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{Template App OpenDKIM:proc.num[opendkim].last(0)}=0</expression>
<name>OpenDKIM service is down</name>
<url/>
<status>0</status>
<priority>3</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{Template App OpenDKIM:opendkim.version.diff(0)}&gt;0</expression>
<name>OpenDKIM version has changed</name>
<url/>
<status>0</status>
<priority>1</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
</triggers>
</zabbix_export>

View File

@ -0,0 +1,358 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>2.0</version>
<date>2015-08-12T07:28:44Z</date>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>Template App Postfix</template>
<name>Template App Postfix</name>
<description/>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<applications>
<application>
<name>Postfix</name>
</application>
</applications>
<items>
<item>
<name>Number of mails in queue - active</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>mailqueue-postfix-queue[active]</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>Postfix</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>Number of mails in queue - deferred</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>mailqueue-postfix-queue[deferred]</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>Postfix</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>Postfix is enabled in autostart</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>chkconfig[postfix]</key>
<delay>1800</delay>
<history>7</history>
<trends>30</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>Postfix</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>Postfix version</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>postfix.version</key>
<delay>3600</delay>
<history>30</history>
<trends>365</trends>
<status>0</status>
<value_type>1</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>Postfix</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>SMTP service is running</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>net.tcp.service[smtp]</key>
<delay>90</delay>
<history>7</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>Postfix</name>
</application>
</applications>
<valuemap>
<name>Service state</name>
</valuemap>
<logtimefmt/>
</item>
</items>
<discovery_rules/>
<macros/>
<templates/>
<screens/>
</template>
</templates>
<triggers>
<trigger>
<expression>{Template App Postfix:mailqueue-postfix-queue[active].min(900)}&gt;10</expression>
<name>High active mail queue ({ITEM.LASTVALUE} mails)</name>
<url/>
<status>0</status>
<priority>3</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{Template App Postfix:mailqueue-postfix-queue[deferred].min(3600)}&gt;500</expression>
<name>High deferred mail queue ({ITEM.LASTVALUE} mails)</name>
<url/>
<status>0</status>
<priority>2</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{Template App Postfix:mailqueue-postfix-queue[deferred].min(129600)}&gt;50</expression>
<name>High old and deferred mail queue ({ITEM.LASTVALUE} mails)</name>
<url/>
<status>0</status>
<priority>2</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{Template App Postfix:chkconfig[postfix].last(0)}=0</expression>
<name>Postfix is not enabled in autostart</name>
<url/>
<status>0</status>
<priority>2</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{Template App Postfix:postfix.version.diff(0)}&gt;0</expression>
<name>Postfix version has changed</name>
<url/>
<status>0</status>
<priority>1</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{Template App Postfix:net.tcp.service[smtp].last(0)}=0</expression>
<name>SMTP server is down</name>
<url/>
<status>0</status>
<priority>4</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
</triggers>
<graphs>
<graph>
<name>Postfix - mail queue</name>
<width>900</width>
<height>200</height>
<yaxismin>0.0000</yaxismin>
<yaxismax>100.0000</yaxismax>
<show_work_period>1</show_work_period>
<show_triggers>0</show_triggers>
<type>1</type>
<show_legend>0</show_legend>
<show_3d>0</show_3d>
<percent_left>0.0000</percent_left>
<percent_right>0.0000</percent_right>
<ymin_type_1>1</ymin_type_1>
<ymax_type_1>0</ymax_type_1>
<ymin_item_1>0</ymin_item_1>
<ymax_item_1>0</ymax_item_1>
<graph_items>
<graph_item>
<sortorder>0</sortorder>
<drawtype>0</drawtype>
<color>00EE00</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Template App Postfix</host>
<key>mailqueue-postfix-queue[active]</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<drawtype>0</drawtype>
<color>0000C8</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Template App Postfix</host>
<key>mailqueue-postfix-queue[deferred]</key>
</item>
</graph_item>
</graph_items>
</graph>
</graphs>
</zabbix_export>

View File

@ -0,0 +1,198 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>2.0</version>
<date>2015-08-12T07:32:04Z</date>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>Template App Pure-FTPd</template>
<name>Template App Pure-FTPd</name>
<description/>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<applications>
<application>
<name>Pure-FTPd</name>
</application>
</applications>
<items>
<item>
<name>Pure-FTPd is enabled in autostart</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>chkconfig[pure-ftpd]</key>
<delay>3600</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>3</data_type>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description/>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Pure-FTPd</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>Pure-FTPd is running</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>proc.num[pure-ftpd]</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>Pure-FTPd</name>
</application>
</applications>
<valuemap>
<name>Service state</name>
</valuemap>
<logtimefmt/>
</item>
<item>
<name>Pure-FTPd server is listening</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>net.tcp.service[ftp]</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>Pure-FTPd</name>
</application>
</applications>
<valuemap>
<name>Service state</name>
</valuemap>
<logtimefmt/>
</item>
</items>
<discovery_rules/>
<macros/>
<templates/>
<screens/>
</template>
</templates>
<triggers>
<trigger>
<expression>{Template App Pure-FTPd:proc.num[pure-ftpd].last(0)}=0</expression>
<name>vsftpd is down</name>
<url/>
<status>0</status>
<priority>3</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{Template App Pure-FTPd:chkconfig[pure-ftpd].last(0)}=0</expression>
<name>vsftpd is not enabled in autostart</name>
<url/>
<status>0</status>
<priority>2</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{Template App Pure-FTPd:net.tcp.service[ftp].last(0)}=0</expression>
<name>vsftpd server is down</name>
<url/>
<status>0</status>
<priority>3</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
</triggers>
</zabbix_export>

View File

@ -0,0 +1,80 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>2.0</version>
<date>2015-08-12T07:34:02Z</date>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>Template App Spamassassin</template>
<name>Template App Spamassassin</name>
<description/>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<applications/>
<items>
<item>
<name>SpamAssasin service is running</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>proc.num[spamd child]</key>
<delay>90</delay>
<history>7</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/>
<valuemap/>
<logtimefmt/>
</item>
</items>
<discovery_rules/>
<macros/>
<templates/>
<screens/>
</template>
</templates>
<triggers>
<trigger>
<expression>{Template App Spamassassin:proc.num[spamd child].last(0)}&lt;2</expression>
<name>Service spamd is not running</name>
<url/>
<status>0</status>
<priority>3</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
</triggers>
</zabbix_export>

View File

@ -0,0 +1,914 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>2.0</version>
<date>2015-08-12T07:03:06Z</date>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>Template App lm_sensors</template>
<name>Template App lm_sensors</name>
<description/>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<applications/>
<items>
<item>
<name>Sensor - CPU FAN Speed</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>lm_sensors[&quot;CPU FAN Speed&quot;]</key>
<delay>300</delay>
<history>30</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units>RPM</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/>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>Sensor - CPU Temperature</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>lm_sensors[&quot;CPU Temperature&quot;]</key>
<delay>300</delay>
<history>30</history>
<trends>365</trends>
<status>0</status>
<value_type>0</value_type>
<allowed_hosts/>
<units>C</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/>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>Sensor - ISA Adapter Core 0</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>lm_sensors[&quot;Core 0&quot;]</key>
<delay>300</delay>
<history>30</history>
<trends>365</trends>
<status>0</status>
<value_type>0</value_type>
<allowed_hosts/>
<units>C</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/>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>Sensor - ISA Adapter Core 1</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>lm_sensors[&quot;Core 1&quot;]</key>
<delay>300</delay>
<history>30</history>
<trends>365</trends>
<status>0</status>
<value_type>0</value_type>
<allowed_hosts/>
<units>C</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/>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>Sensor - ISA Adapter Core 2</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>lm_sensors[&quot;Core 2&quot;]</key>
<delay>300</delay>
<history>30</history>
<trends>365</trends>
<status>0</status>
<value_type>0</value_type>
<allowed_hosts/>
<units>C</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/>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>Sensor - ISA Adapter Core 3</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>lm_sensors[&quot;Core 3&quot;]</key>
<delay>300</delay>
<history>30</history>
<trends>365</trends>
<status>0</status>
<value_type>0</value_type>
<allowed_hosts/>
<units>C</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/>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>Sensor - Motherboard Temperature</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>lm_sensors[&quot;MB Temperature&quot;]</key>
<delay>300</delay>
<history>30</history>
<trends>365</trends>
<status>0</status>
<value_type>0</value_type>
<allowed_hosts/>
<units>C</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/>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>Sensor - North Bridge Temperature</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>lm_sensors[&quot;NB Temperature&quot;]</key>
<delay>300</delay>
<history>30</history>
<trends>365</trends>
<status>0</status>
<value_type>0</value_type>
<allowed_hosts/>
<units>C</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/>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>Sensor - PCI adapter Temperature</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>lm_sensors[&quot;temp1&quot;]</key>
<delay>300</delay>
<history>30</history>
<trends>365</trends>
<status>0</status>
<value_type>0</value_type>
<allowed_hosts/>
<units>C</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/>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>Sensor - PWR_FAN FAN Speed</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>lm_sensors[&quot;PWR_FAN FAN Speed&quot;]</key>
<delay>300</delay>
<history>30</history>
<trends>365</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units>RPM</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/>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>Sensor - South Bridge Temperature</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>lm_sensors[&quot;SB Temperature&quot;]</key>
<delay>300</delay>
<history>30</history>
<trends>365</trends>
<status>0</status>
<value_type>0</value_type>
<allowed_hosts/>
<units>C</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/>
<valuemap/>
<logtimefmt/>
</item>
</items>
<discovery_rules/>
<macros/>
<templates/>
<screens/>
</template>
</templates>
<triggers>
<trigger>
<expression>{Template App lm_sensors:lm_sensors[&quot;CPU Temperature&quot;].last(#3)}&gt;60</expression>
<name>High CPU temperature on {HOSTNAME}</name>
<url/>
<status>0</status>
<priority>3</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{Template App lm_sensors:lm_sensors[&quot;Core 0&quot;].last(#3)}&gt;80</expression>
<name>High ISA Adapter Core 0 temperature on {HOSTNAME}</name>
<url/>
<status>0</status>
<priority>2</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{Template App lm_sensors:lm_sensors[&quot;Core 1&quot;].last(#3)}&gt;80</expression>
<name>High ISA Adapter Core 1 temperature on {HOSTNAME}</name>
<url/>
<status>0</status>
<priority>2</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{Template App lm_sensors:lm_sensors[&quot;Core 2&quot;].last(#3)}&gt;80</expression>
<name>High ISA Adapter Core 2 temperature on {HOSTNAME}</name>
<url/>
<status>0</status>
<priority>2</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{Template App lm_sensors:lm_sensors[&quot;Core 3&quot;].last(#3)}&gt;80</expression>
<name>High ISA Adapter Core 3 temperature on {HOSTNAME}</name>
<url/>
<status>0</status>
<priority>2</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{Template App lm_sensors:lm_sensors[&quot;MB Temperature&quot;].last(#3)}&gt;45</expression>
<name>High Motherboard temperature on {HOSTNAME}</name>
<url/>
<status>0</status>
<priority>3</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{Template App lm_sensors:lm_sensors[&quot;NB Temperature&quot;].last(0)}&gt;80</expression>
<name>High North Bridge temperature on {HOSTNAME}</name>
<url/>
<status>0</status>
<priority>3</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{Template App lm_sensors:lm_sensors[&quot;temp1&quot;].last(#3)}&gt;100</expression>
<name>High PCI Adapter temperature on {HOSTNAME}</name>
<url/>
<status>0</status>
<priority>3</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{Template App lm_sensors:lm_sensors[&quot;SB Temperature&quot;].last(#3)}&gt;65</expression>
<name>High South Bridge temperature on {HOSTNAME}</name>
<url/>
<status>0</status>
<priority>3</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{Template App lm_sensors:lm_sensors[&quot;CPU Temperature&quot;].last(#3)}&gt;65</expression>
<name>Very high CPU temperature on {HOSTNAME}</name>
<url/>
<status>0</status>
<priority>3</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{Template App lm_sensors:lm_sensors[&quot;Core 0&quot;].last(#3)}&gt;100</expression>
<name>Very high ISA Adapter Core 0 temperature on {HOSTNAME}</name>
<url/>
<status>0</status>
<priority>3</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{Template App lm_sensors:lm_sensors[&quot;Core 1&quot;].last(#3)}&gt;100</expression>
<name>Very high ISA Adapter Core 1 temperature on {HOSTNAME}</name>
<url/>
<status>0</status>
<priority>3</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{Template App lm_sensors:lm_sensors[&quot;Core 2&quot;].last(#3)}&gt;100</expression>
<name>Very high ISA Adapter Core 2 temperature on {HOSTNAME}</name>
<url/>
<status>0</status>
<priority>3</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{Template App lm_sensors:lm_sensors[&quot;Core 3&quot;].last(#3)}&gt;100</expression>
<name>Very high ISA Adapter Core 3 temperature on {HOSTNAME}</name>
<url/>
<status>0</status>
<priority>3</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{Template App lm_sensors:lm_sensors[&quot;MB Temperature&quot;].last(#3)}&gt;55</expression>
<name>Very high Motherboard temperature on {HOSTNAME}</name>
<url/>
<status>0</status>
<priority>3</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{Template App lm_sensors:lm_sensors[&quot;NB Temperature&quot;].last(#3)}&gt;80</expression>
<name>Very high North Bridge temperature on {HOSTNAME}</name>
<url/>
<status>0</status>
<priority>3</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{Template App lm_sensors:lm_sensors[&quot;temp1&quot;].last(#3)}&gt;120</expression>
<name>Very high PCI adapter temperature on {HOSTNAME}</name>
<url/>
<status>0</status>
<priority>3</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{Template App lm_sensors:lm_sensors[&quot;SB Temperature&quot;].last(#3)}&gt;80</expression>
<name>Very high South Bridge temperature on {HOSTNAME}</name>
<url/>
<status>0</status>
<priority>3</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
</triggers>
<graphs>
<graph>
<name>Sensor - core temperatures</name>
<width>900</width>
<height>200</height>
<yaxismin>0.0000</yaxismin>
<yaxismax>100.0000</yaxismax>
<show_work_period>1</show_work_period>
<show_triggers>1</show_triggers>
<type>0</type>
<show_legend>1</show_legend>
<show_3d>0</show_3d>
<percent_left>0.0000</percent_left>
<percent_right>0.0000</percent_right>
<ymin_type_1>1</ymin_type_1>
<ymax_type_1>0</ymax_type_1>
<ymin_item_1>0</ymin_item_1>
<ymax_item_1>0</ymax_item_1>
<graph_items>
<graph_item>
<sortorder>0</sortorder>
<drawtype>2</drawtype>
<color>C80000</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Template App lm_sensors</host>
<key>lm_sensors[&quot;Core 0&quot;]</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<drawtype>2</drawtype>
<color>00C800</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Template App lm_sensors</host>
<key>lm_sensors[&quot;Core 1&quot;]</key>
</item>
</graph_item>
<graph_item>
<sortorder>2</sortorder>
<drawtype>2</drawtype>
<color>0000C8</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Template App lm_sensors</host>
<key>lm_sensors[&quot;Core 2&quot;]</key>
</item>
</graph_item>
<graph_item>
<sortorder>3</sortorder>
<drawtype>2</drawtype>
<color>C800C8</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Template App lm_sensors</host>
<key>lm_sensors[&quot;Core 3&quot;]</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>Sensor - CPU temperature</name>
<width>900</width>
<height>200</height>
<yaxismin>0.0000</yaxismin>
<yaxismax>100.0000</yaxismax>
<show_work_period>1</show_work_period>
<show_triggers>1</show_triggers>
<type>0</type>
<show_legend>1</show_legend>
<show_3d>0</show_3d>
<percent_left>0.0000</percent_left>
<percent_right>0.0000</percent_right>
<ymin_type_1>1</ymin_type_1>
<ymax_type_1>1</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>C80000</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Template App lm_sensors</host>
<key>lm_sensors[&quot;CPU Temperature&quot;]</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>Sensor - Fan speed</name>
<width>900</width>
<height>200</height>
<yaxismin>0.0000</yaxismin>
<yaxismax>130.0000</yaxismax>
<show_work_period>1</show_work_period>
<show_triggers>1</show_triggers>
<type>0</type>
<show_legend>1</show_legend>
<show_3d>0</show_3d>
<percent_left>0.0000</percent_left>
<percent_right>0.0000</percent_right>
<ymin_type_1>1</ymin_type_1>
<ymax_type_1>0</ymax_type_1>
<ymin_item_1>0</ymin_item_1>
<ymax_item_1>0</ymax_item_1>
<graph_items>
<graph_item>
<sortorder>0</sortorder>
<drawtype>2</drawtype>
<color>00C800</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Template App lm_sensors</host>
<key>lm_sensors[&quot;CPU FAN Speed&quot;]</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<drawtype>2</drawtype>
<color>0000C8</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Template App lm_sensors</host>
<key>lm_sensors[&quot;PWR_FAN FAN Speed&quot;]</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>Sensor - Motherboard temperature</name>
<width>900</width>
<height>200</height>
<yaxismin>0.0000</yaxismin>
<yaxismax>100.0000</yaxismax>
<show_work_period>1</show_work_period>
<show_triggers>1</show_triggers>
<type>0</type>
<show_legend>1</show_legend>
<show_3d>0</show_3d>
<percent_left>0.0000</percent_left>
<percent_right>0.0000</percent_right>
<ymin_type_1>1</ymin_type_1>
<ymax_type_1>1</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>DD0000</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Template App lm_sensors</host>
<key>lm_sensors[&quot;MB Temperature&quot;]</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>Sensor - North Bridge temperature</name>
<width>900</width>
<height>200</height>
<yaxismin>0.0000</yaxismin>
<yaxismax>100.0000</yaxismax>
<show_work_period>1</show_work_period>
<show_triggers>1</show_triggers>
<type>0</type>
<show_legend>1</show_legend>
<show_3d>0</show_3d>
<percent_left>0.0000</percent_left>
<percent_right>0.0000</percent_right>
<ymin_type_1>1</ymin_type_1>
<ymax_type_1>1</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>DD0000</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Template App lm_sensors</host>
<key>lm_sensors[&quot;NB Temperature&quot;]</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>Sensor - PCI Adapter temperature</name>
<width>900</width>
<height>200</height>
<yaxismin>0.0000</yaxismin>
<yaxismax>130.0000</yaxismax>
<show_work_period>1</show_work_period>
<show_triggers>1</show_triggers>
<type>0</type>
<show_legend>1</show_legend>
<show_3d>0</show_3d>
<percent_left>0.0000</percent_left>
<percent_right>0.0000</percent_right>
<ymin_type_1>1</ymin_type_1>
<ymax_type_1>1</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>DD0000</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Template App lm_sensors</host>
<key>lm_sensors[&quot;temp1&quot;]</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>Sensor - South Bridge temperature</name>
<width>900</width>
<height>200</height>
<yaxismin>0.0000</yaxismin>
<yaxismax>100.0000</yaxismax>
<show_work_period>1</show_work_period>
<show_triggers>1</show_triggers>
<type>0</type>
<show_legend>1</show_legend>
<show_3d>0</show_3d>
<percent_left>0.0000</percent_left>
<percent_right>0.0000</percent_right>
<ymin_type_1>1</ymin_type_1>
<ymax_type_1>1</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>DD0000</color>
<yaxisside>0</yaxisside>
<calc_fnc>2</calc_fnc>
<type>0</type>
<item>
<host>Template App lm_sensors</host>
<key>lm_sensors[&quot;SB Temperature&quot;]</key>
</item>
</graph_item>
</graph_items>
</graph>
</graphs>
</zabbix_export>

View File

@ -0,0 +1,198 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>2.0</version>
<date>2015-08-12T07:34:37Z</date>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<templates>
<template>
<template>Template App vsftpd</template>
<name>Template App vsftpd</name>
<description/>
<groups>
<group>
<name>Templates</name>
</group>
</groups>
<applications>
<application>
<name>vsftpd</name>
</application>
</applications>
<items>
<item>
<name>vsftpd is enabled in autostart</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>chkconfig[vsftpd]</key>
<delay>3600</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>3</data_type>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<description/>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>vsftpd</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item>
<item>
<name>vsftpd is running</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>proc.num[vsftpd]</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>vsftpd</name>
</application>
</applications>
<valuemap>
<name>Service state</name>
</valuemap>
<logtimefmt/>
</item>
<item>
<name>vsftpd server is listening</name>
<type>0</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>net.tcp.service[ftp]</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>vsftpd</name>
</application>
</applications>
<valuemap>
<name>Service state</name>
</valuemap>
<logtimefmt/>
</item>
</items>
<discovery_rules/>
<macros/>
<templates/>
<screens/>
</template>
</templates>
<triggers>
<trigger>
<expression>{Template App vsftpd:proc.num[vsftpd].last(0)}=0</expression>
<name>vsftpd is down</name>
<url/>
<status>0</status>
<priority>3</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{Template App vsftpd:chkconfig[vsftpd].last(0)}=0</expression>
<name>vsftpd is not enabled in autostart</name>
<url/>
<status>0</status>
<priority>2</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
<trigger>
<expression>{Template App vsftpd:net.tcp.service[ftp].last(0)}=0</expression>
<name>vsftpd server is down</name>
<url/>
<status>0</status>
<priority>3</priority>
<description/>
<type>0</type>
<dependencies/>
</trigger>
</triggers>
</zabbix_export>

View File

@ -0,0 +1 @@
UserParameter=bind.version, named -v

View File

@ -0,0 +1 @@
UserParameter=dovecot.version, dovecot --version

View File

@ -0,0 +1,2 @@
UserParameter=exim.version, exim -bV | head -1 | cut -d " " -f 3
UserParameter=mailqueue-exim,sudo exim -bp | awk '{print $3}' | grep -c '^[0-9A-Z]'

View File

@ -1,8 +1,8 @@
UserParameter=nfs[*], df | grep -cw $1 UserParameter=nfs[*], df | grep -cw $1
UserParameter=mount[*], df | grep -c $1
UserParameter=mdstat,egrep -ce "F|_" /proc/mdstat
UserParameter=netstat[*], ss -nat | grep -c $1 UserParameter=netstat[*], ss -nat | grep -c $1
UserParameter=mysqlnetstat[*], ss -nat | grep 3306 | grep -c $1 UserParameter=chkconfig[*], chkconfig --list | grep "$1" | cut -d ":" -f 5 | grep -c on
UserParameter=mailqueue,mailq | grep -v 'Mail queue is empty' | grep -c '^[0-9A-Z]'
UserParameter=chkconfig[*], chkconfig --list | grep "$1" | cut -d ":" -f 4 | grep -c on
UserParameter=sockstat.sockets,cat /proc/net/sockstat|grep sockets|cut -d' ' -f 3 UserParameter=sockstat.sockets,cat /proc/net/sockstat|grep sockets|cut -d' ' -f 3
UserParameter=sockstat.tcp.inuse,cat /proc/net/sockstat|grep TCP|cut -d' ' -f 3 UserParameter=sockstat.tcp.inuse,cat /proc/net/sockstat|grep TCP|cut -d' ' -f 3
UserParameter=sockstat.tcp.orphan,cat /proc/net/sockstat|grep TCP|cut -d' ' -f 5 UserParameter=sockstat.tcp.orphan,cat /proc/net/sockstat|grep TCP|cut -d' ' -f 5

View File

@ -0,0 +1,3 @@
UserParameter=repSBM,echo "show slave status\G;" | HOME=/etc/zabbix mysql | grep 'Seconds_Behind_Master' | awk '{print $2}'
UserParameter=repIOrun,echo "show slave status\G;" | HOME=/etc/zabbix mysql | grep -c 'Slave_IO_Running: Yes'
UserParameter=repSQLrun,echo "show slave status\G;" | HOME=/etc/zabbix mysql | grep -c 'Slave_SQL_Running: Yes'

View File

@ -0,0 +1,181 @@
# Add ss_get_mysql_stats.php to /etc/zabbix/bin, make sure 'php -v' returns php version (i.e. php works)
#
# Run also SQL query:
#
# CREATE USER 'zabbix'@'localhost' IDENTIFIED BY 'ha7jqnlacwefrs';
# GRANT REPLICATION CLIENT, SELECT, PROCESS, SHOW DATABASES ON *.* TO 'zabbix'@'localhost' IDENTIFIED BY 'ha7jqnlacwefrs';
# FLUSH PRIVILEGES;
UserParameter=mysqlnetstat[*], ss -nat | grep 3306 | grep -c $1
UserParameter=mysql.version, HOME=/etc/zabbix mysqladmin version | grep "Server version" | awk '{ print $ 3 }'
UserParameter=mysql.ping,HOME=/etc/zabbix mysqladmin ping | grep alive | wc -l
UserParameter=mysql.threads,HOME=/etc/zabbix mysqladmin status | cut -f3 -d":" | cut -f1 -d"Q" | tr -d ' '
UserParameter=mysql.questions,HOME=/etc/zabbix mysqladmin status | cut -f4 -d":" | cut -f1 -d"S" | tr -d ' '
UserParameter=mysql.slowqueries,HOME=/etc/zabbix mysqladmin status | cut -f5 -d":" | cut -f1 -d"O" | tr -d ' '
UserParameter=mysql.qps,HOME=/etc/zabbix mysqladmin status | cut -f9 -d":" | tr -d ' '
UserParameter=mysql.connection,echo "show status like 'Max_used_connections'"| HOME=/etc/zabbix mysql -N | tail -1 | awk '{print $2}'
UserParameter=mysql.Key_read_requests,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items a0 | awk -F: '{ print $2 }'
UserParameter=mysql.Key_reads,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items a1 | awk -F: '{ print $2 }'
UserParameter=mysql.Key_write_requests,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items a2 | awk -F: '{ print $2 }'
UserParameter=mysql.Key_writes,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items a3 | awk -F: '{ print $2 }'
UserParameter=mysql.history_list,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items a4 | awk -F: '{ print $2 }'
UserParameter=mysql.innodb_transactions,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items a5 | awk -F: '{ print $2 }'
UserParameter=mysql.read_views,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items a6 | awk -F: '{ print $2 }'
UserParameter=mysql.current_transactions,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items a7 | awk -F: '{ print $2 }'
UserParameter=mysql.locked_transactions,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items a8 | awk -F: '{ print $2 }'
UserParameter=mysql.active_transactions,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items a9 | awk -F: '{ print $2 }'
UserParameter=mysql.setting.pool_size,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items aa | awk -F: '{ print $2 }'
UserParameter=mysql.free_pages,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ab | awk -F: '{ print $2 }'
UserParameter=mysql.database_pages,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ac | awk -F: '{ print $2 }'
UserParameter=mysql.modified_pages,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ad | awk -F: '{ print $2 }'
UserParameter=mysql.pages_read,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ae | awk -F: '{ print $2 }'
UserParameter=mysql.pages_created,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items af | awk -F: '{ print $2 }'
UserParameter=mysql.pages_written,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ag | awk -F: '{ print $2 }'
UserParameter=mysql.file_fsyncs,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ah | awk -F: '{ print $2 }'
UserParameter=mysql.file_reads,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ai | awk -F: '{ print $2 }'
UserParameter=mysql.file_writes,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items aj | awk -F: '{ print $2 }'
UserParameter=mysql.log_writes,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ak | awk -F: '{ print $2 }'
UserParameter=mysql.pending_aio_log_ios,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items al | awk -F: '{ print $2 }'
UserParameter=mysql.pending_aio_sync_ios,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items am | awk -F: '{ print $2 }'
UserParameter=mysql.pending_buf_pool_flushes,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items an | awk -F: '{ print $2 }'
UserParameter=mysql.pending_chkp_writes,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ao | awk -F: '{ print $2 }'
UserParameter=mysql.pending_ibuf_aio_reads,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ap | awk -F: '{ print $2 }'
UserParameter=mysql.pending_log_flushes,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items aq | awk -F: '{ print $2 }'
UserParameter=mysql.pending_log_writes,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ar | awk -F: '{ print $2 }'
UserParameter=mysql.pending_normal_aio_reads,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items as | awk -F: '{ print $2 }'
UserParameter=mysql.pending_normal_aio_writes,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items at | awk -F: '{ print $2 }'
UserParameter=mysql.ibuf_inserts,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items au | awk -F: '{ print $2 }'
UserParameter=mysql.ibuf_merged,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items av | awk -F: '{ print $2 }'
UserParameter=mysql.ibuf_merges,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items aw | awk -F: '{ print $2 }'
UserParameter=mysql.spin_waits,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ax | awk -F: '{ print $2 }'
UserParameter=mysql.spin_rounds,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ay | awk -F: '{ print $2 }'
UserParameter=mysql.os_waits,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items az | awk -F: '{ print $2 }'
UserParameter=mysql.rows_inserted,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items b0 | awk -F: '{ print $2 }'
UserParameter=mysql.rows_updated,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items b1 | awk -F: '{ print $2 }'
UserParameter=mysql.rows_deleted,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items b2 | awk -F: '{ print $2 }'
UserParameter=mysql.rows_read,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items b3 | awk -F: '{ print $2 }'
UserParameter=mysql.Table_locks_waited,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items b4 | awk -F: '{ print $2 }'
UserParameter=mysql.Table_locks_immediate,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items b5 | awk -F: '{ print $2 }'
UserParameter=mysql.Slow_queries,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items b6 | awk -F: '{ print $2 }'
UserParameter=mysql.Open_files,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items b7 | awk -F: '{ print $2 }'
UserParameter=mysql.Open_tables,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items b8 | awk -F: '{ print $2 }'
UserParameter=mysql.Opened_tables,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items b9 | awk -F: '{ print $2 }'
UserParameter=mysql.innodb_open_files,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ba | awk -F: '{ print $2 }'
UserParameter=mysql.setting.open_files_limit,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bb | awk -F: '{ print $2 }'
UserParameter=mysql.setting.table_cache,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bc | awk -F: '{ print $2 }'
UserParameter=mysql.Aborted_clients,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bd | awk -F: '{ print $2 }'
UserParameter=mysql.Aborted_connects,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items be | awk -F: '{ print $2 }'
UserParameter=mysql.Max_used_connections,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bf | awk -F: '{ print $2 }'
UserParameter=mysql.Slow_launch_threads,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bg | awk -F: '{ print $2 }'
UserParameter=mysql.Threads_cached,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bh | awk -F: '{ print $2 }'
UserParameter=mysql.Threads_connected,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bi | awk -F: '{ print $2 }'
UserParameter=mysql.Threads_created,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bj | awk -F: '{ print $2 }'
UserParameter=mysql.Threads_running,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bk | awk -F: '{ print $2 }'
UserParameter=mysql.setting.max_connections,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bl | awk -F: '{ print $2 }'
UserParameter=mysql.setting.thread_cache_size,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bm | awk -F: '{ print $2 }'
UserParameter=mysql.Connections,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bn | awk -F: '{ print $2 }'
UserParameter=mysql.slave_running,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bo | awk -F: '{ print $2 }'
UserParameter=mysql.slave_stopped,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bp | awk -F: '{ print $2 }'
UserParameter=mysql.Slave_retried_transactions,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bq | awk -F: '{ print $2 }'
UserParameter=mysql.slave_lag,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items br | awk -F: '{ print $2 }'
UserParameter=mysql.Slave_open_temp_tables,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bs | awk -F: '{ print $2 }'
UserParameter=mysql.Qcache_free_blocks,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bt | awk -F: '{ print $2 }'
UserParameter=mysql.Qcache_free_memory,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bu | awk -F: '{ print $2 }'
UserParameter=mysql.Qcache_hits,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bv | awk -F: '{ print $2 }'
UserParameter=mysql.Qcache_inserts,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bw | awk -F: '{ print $2 }'
UserParameter=mysql.Qcache_lowmem_prunes,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bx | awk -F: '{ print $2 }'
UserParameter=mysql.Qcache_not_cached,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items by | awk -F: '{ print $2 }'
UserParameter=mysql.Qcache_queries_in_cache,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items bz | awk -F: '{ print $2 }'
UserParameter=mysql.Qcache_total_blocks,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items c0 | awk -F: '{ print $2 }'
UserParameter=mysql.setting.query_cache_size,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items c1 | awk -F: '{ print $2 }'
UserParameter=mysql.Questions,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items c2 | awk -F: '{ print $2 }'
UserParameter=mysql.Com_update,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items c3 | awk -F: '{ print $2 }'
UserParameter=mysql.Com_insert,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items c4 | awk -F: '{ print $2 }'
UserParameter=mysql.Com_select,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items c5 | awk -F: '{ print $2 }'
UserParameter=mysql.Com_delete,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items c6 | awk -F: '{ print $2 }'
UserParameter=mysql.Com_replace,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items c7 | awk -F: '{ print $2 }'
UserParameter=mysql.Com_load,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items c8 | awk -F: '{ print $2 }'
UserParameter=mysql.Com_update_multi,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items c9 | awk -F: '{ print $2 }'
UserParameter=mysql.Com_insert_select,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ca | awk -F: '{ print $2 }'
UserParameter=mysql.Com_delete_multi,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items cb | awk -F: '{ print $2 }'
UserParameter=mysql.Com_replace_select,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items cc | awk -F: '{ print $2 }'
UserParameter=mysql.Select_full_join,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items cd | awk -F: '{ print $2 }'
UserParameter=mysql.Select_full_range_join,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ce | awk -F: '{ print $2 }'
UserParameter=mysql.Select_range,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items cf | awk -F: '{ print $2 }'
UserParameter=mysql.Select_range_check,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items cg | awk -F: '{ print $2 }'
UserParameter=mysql.Select_scan,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ch | awk -F: '{ print $2 }'
UserParameter=mysql.Sort_merge_passes,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ci | awk -F: '{ print $2 }'
UserParameter=mysql.Sort_range,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items cj | awk -F: '{ print $2 }'
UserParameter=mysql.Sort_rows,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ck | awk -F: '{ print $2 }'
UserParameter=mysql.Sort_scan,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items cl | awk -F: '{ print $2 }'
UserParameter=mysql.Created_tmp_tables,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items cm | awk -F: '{ print $2 }'
UserParameter=mysql.Created_tmp_disk_tables,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items cn | awk -F: '{ print $2 }'
UserParameter=mysql.Created_tmp_files,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items co | awk -F: '{ print $2 }'
UserParameter=mysql.Bytes_sent,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items cp | awk -F: '{ print $2 }'
UserParameter=mysql.Bytes_received,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items cq | awk -F: '{ print $2 }'
UserParameter=mysql.innodb_log_buffer_size,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items cr | awk -F: '{ print $2 }'
UserParameter=mysql.unflushed_log,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items cs | awk -F: '{ print $2 }'
UserParameter=mysql.log_bytes_flushed,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ct | awk -F: '{ print $2 }'
UserParameter=mysql.log_bytes_written,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items cu | awk -F: '{ print $2 }'
UserParameter=mysql.relay_log_space,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items cv | awk -F: '{ print $2 }'
UserParameter=mysql.setting.binlog_cache_size,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items cw | awk -F: '{ print $2 }'
UserParameter=mysql.Binlog_cache_disk_use,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items cx | awk -F: '{ print $2 }'
UserParameter=mysql.Binlog_cache_use,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items cy | awk -F: '{ print $2 }'
UserParameter=mysql.binary_log_space,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items cz | awk -F: '{ print $2 }'
UserParameter=mysql.innodb_locked_tables,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items d0 | awk -F: '{ print $2 }'
UserParameter=mysql.innodb_lock_structs,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items d1 | awk -F: '{ print $2 }'
UserParameter=mysql.State_closing_tables,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items d2 | awk -F: '{ print $2 }'
UserParameter=mysql.State_copying_to_tmp_table,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items d3 | awk -F: '{ print $2 }'
UserParameter=mysql.State_end,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items d4 | awk -F: '{ print $2 }'
UserParameter=mysql.State_freeing_items,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items d5 | awk -F: '{ print $2 }'
UserParameter=mysql.State_init,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items d6 | awk -F: '{ print $2 }'
UserParameter=mysql.State_locked,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items d7 | awk -F: '{ print $2 }'
UserParameter=mysql.State_login,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items d8 | awk -F: '{ print $2 }'
UserParameter=mysql.State_preparing,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items d9 | awk -F: '{ print $2 }'
UserParameter=mysql.State_reading_from_net,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items da | awk -F: '{ print $2 }'
UserParameter=mysql.State_sending_data,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items db | awk -F: '{ print $2 }'
UserParameter=mysql.State_sorting_result,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items dc | awk -F: '{ print $2 }'
UserParameter=mysql.State_statistics,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items dd | awk -F: '{ print $2 }'
UserParameter=mysql.State_updating,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items de | awk -F: '{ print $2 }'
UserParameter=mysql.State_writing_to_net,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items df | awk -F: '{ print $2 }'
UserParameter=mysql.State_none,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items dg | awk -F: '{ print $2 }'
UserParameter=mysql.State_other,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items dh | awk -F: '{ print $2 }'
UserParameter=mysql.Handler_commit,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items di | awk -F: '{ print $2 }'
UserParameter=mysql.Handler_delete,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items dj | awk -F: '{ print $2 }'
UserParameter=mysql.Handler_discover,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items dk | awk -F: '{ print $2 }'
UserParameter=mysql.Handler_prepare,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items dl | awk -F: '{ print $2 }'
UserParameter=mysql.Handler_read_first,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items dm | awk -F: '{ print $2 }'
UserParameter=mysql.Handler_read_key,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items dn | awk -F: '{ print $2 }'
UserParameter=mysql.Handler_read_next,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items do | awk -F: '{ print $2 }'
UserParameter=mysql.Handler_read_prev,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items dp | awk -F: '{ print $2 }'
UserParameter=mysql.Handler_read_rnd,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items dq | awk -F: '{ print $2 }'
UserParameter=mysql.Handler_read_rnd_next,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items dr | awk -F: '{ print $2 }'
UserParameter=mysql.Handler_rollback,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ds | awk -F: '{ print $2 }'
UserParameter=mysql.Handler_savepoint,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items dt | awk -F: '{ print $2 }'
UserParameter=mysql.Handler_savepoint_rollback,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items du | awk -F: '{ print $2 }'
UserParameter=mysql.Handler_update,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items dv | awk -F: '{ print $2 }'
UserParameter=mysql.Handler_write,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items dw | awk -F: '{ print $2 }'
UserParameter=mysql.innodb_tables_in_use,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items dx | awk -F: '{ print $2 }'
UserParameter=mysql.innodb_lock_wait_secs,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items dy | awk -F: '{ print $2 }'
UserParameter=mysql.hash_index_cells_total,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items dz | awk -F: '{ print $2 }'
UserParameter=mysql.hash_index_cells_used,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items e0 | awk -F: '{ print $2 }'
UserParameter=mysql.total_mem_alloc,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items e1 | awk -F: '{ print $2 }'
UserParameter=mysql.additional_pool_alloc,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items e2 | awk -F: '{ print $2 }'
UserParameter=mysql.uncheckpointed_bytes,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items e3 | awk -F: '{ print $2 }'
UserParameter=mysql.ibuf_used_cells,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items e4 | awk -F: '{ print $2 }'
UserParameter=mysql.ibuf_free_cells,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items e5 | awk -F: '{ print $2 }'
UserParameter=mysql.ibuf_cell_count,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items e6 | awk -F: '{ print $2 }'
UserParameter=mysql.adaptive_hash_memory,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items e7 | awk -F: '{ print $2 }'
UserParameter=mysql.page_hash_memory,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items e8 | awk -F: '{ print $2 }'
UserParameter=mysql.dictionary_cache_memory,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items e9 | awk -F: '{ print $2 }'
UserParameter=mysql.file_system_memory,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ea | awk -F: '{ print $2 }'
UserParameter=mysql.lock_system_memory,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items eb | awk -F: '{ print $2 }'
UserParameter=mysql.recovery_system_memory,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ec | awk -F: '{ print $2 }'
UserParameter=mysql.thread_hash_memory,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ed | awk -F: '{ print $2 }'
UserParameter=mysql.innodb_sem_waits,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ee | awk -F: '{ print $2 }'
UserParameter=mysql.innodb_sem_wait_time_ms,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ef | awk -F: '{ print $2 }'
UserParameter=mysql.Key_buf_bytes_unflushed,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items eg | awk -F: '{ print $2 }'
UserParameter=mysql.Key_buf_bytes_used,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items eh | awk -F: '{ print $2 }'
UserParameter=mysql.setting.key_buffer_size,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ei | awk -F: '{ print $2 }'
UserParameter=mysql.Innodb_row_lock_time,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ej | awk -F: '{ print $2 }'
UserParameter=mysql.Innodb_row_lock_waits,php -qc /etc/zabbix/php.ini /etc/zabbix/bin/ss_get_mysql_stats.php --host localhost --items ek | awk -F: '{ print $2 }'

View File

@ -0,0 +1 @@
UserParameter=nginx[*],/etc/zabbix/bin/nginx-check.sh "$1" "$2"

View File

@ -0,0 +1 @@
UserParameter=lm_sensors[*], sh /etc/zabbix/bin/lm_sensors.sh "$1"