«
Previous
|
Next
»
Revision 98d9bbd4
Added by Marc Dequènes over 6 years ago
- ID 98d9bbd4aeca37b4a726504ae6595e9d02ecc710
- Parent 96ba0c24
README.md | ||
---|---|---|
|
||
These are Zabbix Templates used by Duckcorp.
|
||
|
||
They are made to be used with the scripts and configuration in our Ansible role:
|
||
https://vcs-git-viewer.duckcorp.org/?p=duckcorp/ansible-role-zabbix;a=summary
|
||
|
agentd.conf | ||
---|---|---|
UserParameter=vfs.dev.discovery,list= ;for disk in $(ls /dev/[hsv]d[a-z] 2>/dev/null); do list=$list',{"{#DISK}":"'$disk'"}'; done; echo '{"data":['${list#,}']}'
|
||
UserParameter=vfs.dev.sector_size[*],cat /sys/block/$$(echo "$1" | tr -d "/.")/queue/hw_sector_size
|
||
|
||
UserParameter=random.poolsize,cat /proc/sys/kernel/random/poolsize
|
||
UserParameter=random.entropy_available,cat /proc/sys/kernel/random/entropy_avail
|
||
|
||
UserParameter=smart.phydev.ata.discovery,list= ; while read line; do disk=$(echo $line | cut -d: -f1); list=$list',{"{#DISK}":"'$disk'"}'; done </etc/zabbix/smart_phydev_ata; echo '{"data":['${list#,}']}'
|
||
UserParameter=smart.phydev.ata.attr[*],sudo /usr/local/sbin/stat_smart_ata "$1" "$2"
|
||
UserParameter=smart.phydev.sas.discovery,list= ; while read line; do disk=$(echo $line | cut -d: -f1); list=$list',{"{#DISK}":"'$disk'"}'; done </etc/zabbix/smart_phydev_sas; echo '{"data":['${list#,}']}'
|
||
UserParameter=smart.phydev.sas.attr[*],sudo /usr/local/sbin/stat_smart_sas "$1" "$2"
|
||
|
||
UserParameter=3ware.units.disco,sudo /usr/local/sbin/stat_3ware_units_disco
|
||
UserParameter=3ware.unit.status[*],sudo /usr/local/sbin/stat_3ware_unit_status "$1"
|
||
|
||
UserParameter=bind9.stats[*],/usr/local/sbin/stat_bind9 "$1"
|
||
|
||
UserParameter=postfix.queue_size[*],sudo stat_postfix_queue_size $1
|
||
|
||
UserParameter=apache.status[*],/usr/local/sbin/stat_apache "$1"
|
||
|
||
UserParameter=mysql.status[*],/usr/local/sbin/stat_mysql_status "$1"
|
||
UserParameter=mysql.variables[*],/usr/local/sbin/stat_mysql_variables "$1"
|
||
UserParameter=mysql.ping,mysqladmin --defaults-file=/etc/mysql/debian.cnf ping | grep alive | wc -l
|
||
|
||
UserParameter=openldap.stats[*],sudo /usr/local/sbin/stat_openldap "$1"
|
||
|
||
UserParameter=proftpd.users.num,NB=$(ftpwho | grep -E 'users?$' | sed -r 's/^.*([0-9]+) users?/\1/'); echo ${NB:-0}
|
||
|
||
UserParameter=ntpd.stat[*],/usr/local/sbin/stat_ntpd $1
|
||
|
scripts/stat_3ware_unit_status | ||
---|---|---|
#!/bin/sh
|
||
|
||
UNIT=${1:-noexistent}
|
||
|
||
STATE=$(tw_cli "${UNIT}" show | grep -E "^u[0-9]+ " | awk '{print $3}')
|
||
|
||
if [ "${STATE}" = "OK" ]; then
|
||
echo 1
|
||
else
|
||
echo 0
|
||
fi
|
scripts/stat_3ware_units_disco | ||
---|---|---|
#!/bin/sh
|
||
|
||
list=
|
||
for CONTROLLER in $(tw_cli show | grep -E "^c[0-9]+" | cut -f1 -d" "); do
|
||
for UNIT in $(tw_cli /${CONTROLLER} show | grep -E "^u[0-9]+" | cut -f1 -d" "); do
|
||
list=$list',{"{#UNIT}":"'/${CONTROLLER}/${UNIT}'"}'
|
||
done
|
||
done
|
||
|
||
echo '{"data":['${list#,}']}'
|
scripts/stat_apache | ||
---|---|---|
#!/bin/sh
|
||
|
||
PARAM=${1:-noexistent}
|
||
|
||
BASE_URL=https://$(hostname --fqdn)
|
||
|
||
CACHE_FILE=/tmp/zbx-apache
|
||
test -z `/usr/bin/find ${CACHE_FILE} -mmin -5 2>/dev/null` && \
|
||
wget --bind-address 127.0.0.1 \
|
||
--user-agent=\"ApacheStats\/0.4 wget\/1.8\" -q \
|
||
-t3 -T5 --no-check-certificate \
|
||
-O ${CACHE_FILE} \
|
||
${BASE_URL}/server-status?auto
|
||
|
||
cat ${CACHE_FILE} | perl -ne "print \$1 if m/^${PARAM}: (\d*\.?\d+)/"
|
||
|
scripts/stat_bind9 | ||
---|---|---|
#!/bin/sh
|
||
|
||
PARAM=${1:-noexistent}
|
||
|
||
case "${PARAM}" in
|
||
ipv4)
|
||
PATTERN="IPv4 requests received"
|
||
;;
|
||
ipv6)
|
||
PATTERN="IPv6 requests received"
|
||
;;
|
||
success)
|
||
PATTERN="queries resulted in successful answer"
|
||
;;
|
||
failure)
|
||
PATTERN=""
|
||
;;
|
||
nxdomain)
|
||
PATTERN="queries resulted in NXDOMAIN"
|
||
;;
|
||
nxrrset)
|
||
PATTERN="queries resulted in nxrrset"
|
||
;;
|
||
recursion)
|
||
PATTERN="queries caused recursion"
|
||
;;
|
||
referral)
|
||
PATTERN="queries resulted in non authoritative answer"
|
||
;;
|
||
*)
|
||
exit
|
||
esac
|
||
|
||
grep "${PATTERN}" /var/cache/bind/named.stats | head -n 1 | awk '{ print $1 }'
|
||
|
scripts/stat_mysql_slave_status | ||
---|---|---|
#!/bin/sh
|
||
|
||
PARAM=${1:-noexistent}
|
||
|
||
CACHE_FILE=/tmp/zbx-mysql_slave_status
|
||
test -z `/usr/bin/find ${CACHE_FILE} -mmin -5 2>/dev/null` && \
|
||
echo "SHOW SLAVE STATUS\\G" | mysql --defaults-file=/etc/mysql/debian.cnf \
|
||
--batch --skip-pager --skip-column-names >${CACHE_FILE}
|
||
cat ${CACHE_FILE} | perl -ne "print \$1 if m/\b${PARAM}: (.+)$/"
|
||
|
scripts/stat_mysql_status | ||
---|---|---|
#!/bin/sh
|
||
|
||
PARAM=${1:-noexistent}
|
||
|
||
CACHE_FILE=/tmp/zbx-mysql_status
|
||
test -z `/usr/bin/find ${CACHE_FILE} -mmin -5 2>/dev/null` && \
|
||
echo "SHOW GLOBAL STATUS" | mysql --defaults-file=/etc/mysql/debian.cnf \
|
||
--batch --skip-pager --skip-column-names >${CACHE_FILE}
|
||
cat ${CACHE_FILE} | perl -ne "print \$1 if m/^${PARAM}\t([\d.]+)/"
|
||
|
scripts/stat_mysql_variables | ||
---|---|---|
#!/bin/sh
|
||
|
||
PARAM=${1:-noexistent}
|
||
|
||
CACHE_FILE=/tmp/zbx-mysql_variables
|
||
test -z `/usr/bin/find ${CACHE_FILE} -mmin -5 2>/dev/null` && \
|
||
echo "SHOW VARIABLES" | mysql --defaults-file=/etc/mysql/debian.cnf \
|
||
--batch --skip-pager --skip-column-names >${CACHE_FILE}
|
||
cat ${CACHE_FILE} | perl -ne "print \$1 if m/^${PARAM}\t([\d.]+)/"
|
||
|
scripts/stat_ntpd | ||
---|---|---|
#!/bin/sh
|
||
|
||
# http://www.ntp.org/ntpfaq/NTP-s-sw-clocks-quality.htm
|
||
|
||
PARAM=${1:-noexistent}
|
||
|
||
ntpq -c rv | perl -ne "print \$1 if m/\b${PARAM}=([-]?\d+\.\d+)/"
|
||
|
scripts/stat_openldap | ||
---|---|---|
#!/usr/bin/perl
|
||
|
||
# example parameter: /operations/add/monitorOpCompleted
|
||
|
||
use warnings;
|
||
use strict;
|
||
use File::Basename;
|
||
use IO::File;
|
||
use Data::Dumper;
|
||
|
||
my $param = $ARGV[0];
|
||
unless ($param =~ m#^(/[a-zA-Z0-9 ]+)+$#)
|
||
{
|
||
exit 1;
|
||
}
|
||
|
||
my $location = 'cn=' . join(',cn=', reverse(split(qr(/), dirname($param)))) . "monitor";
|
||
my $attr = basename($param);
|
||
|
||
my $fh = IO::File->new;
|
||
# shell escapes are not possible, $param was check earlier using regex
|
||
$fh->open('ldapsearch -Q -Y EXTERNAL -H ldapi:/// -b "' . $location . '" -s base -LLL "' . $attr . '" 2>/dev/null |');
|
||
while (my $line = $fh->getline)
|
||
{
|
||
if ($line =~ m/^$attr: (.*)$/)
|
||
{
|
||
print "$1\n";
|
||
exit 0;
|
||
}
|
||
}
|
||
|
||
exit 2;
|
scripts/stat_pgsql_find_dbname | ||
---|---|---|
#!/bin/bash
|
||
|
||
# Get list of Database Name which you want to monitor.
|
||
# The default settings are excepted template databases(template0/template1).
|
||
#
|
||
# :Example
|
||
#
|
||
# If you want to monitor "foo" and "bar" databases, you set the GETDB as
|
||
# GETDB="select datname from pg_database where datname in ('foo','bar');"
|
||
|
||
GETDB="select datname from pg_database where datistemplate = 'f';"
|
||
|
||
for dbname in $(psql -q -A -d $4 -t -c "${GETDB}"); do
|
||
dblist="$dblist,"'{"{#DBNAME}":"'$dbname'"}'
|
||
done
|
||
echo '{"data":['${dblist#,}' ]}'
|
scripts/stat_pgsql_find_dbname_table | ||
---|---|---|
#!/bin/bash
|
||
|
||
# This low level discovery rules are disabled by deafult.
|
||
# For using this rules, you set the status to enable from
|
||
# [Configuration]->[Hosts]->[Discovery]->[DB and Table Name List]
|
||
# at Zabbix WEB.
|
||
|
||
# Get list of Database Name which you want to monitor.
|
||
# The default settings are excepted template databases(template0/template1).
|
||
#
|
||
# :Customize Example
|
||
#
|
||
# For "foo" and "bar" databases, set the GETDB as
|
||
# GETDB="select datname from pg_database where datname in ('foo','bar');"
|
||
|
||
GETDB="select datname from pg_database where datistemplate = 'f';"
|
||
|
||
# Get List of Table Name
|
||
# Using the default setting, Zabbix make a discovery "ALL" user tables.
|
||
# If you want to specify the tables, you can change the $GETTABLE query.
|
||
#
|
||
# :Customize Example
|
||
#
|
||
# For pgbench tables, set the GETTABLE as
|
||
#GETTABLE="select \
|
||
# row_to_json(t) \
|
||
# from (
|
||
# select current_database() as "{#DBNAME}\",schemaname as \"{#SCHEMANAME}\",tablename as \"{#TABLENAME}\" \
|
||
# from \
|
||
# pg_tables \
|
||
# where \
|
||
# schemaname not in ('pg_catalog','information_schema') \
|
||
# and \
|
||
# tablename in ('pgbench_accounts','pgbench_branches','pgbench_history','pgbench_tellers') \
|
||
# ) as t"
|
||
|
||
|
||
GETTABLE="select row_to_json(t) from (select current_database() as \"{#DBNAME}\",schemaname as \"{#SCHEMANAME}\",tablename as \"{#TABLENAME}\" from pg_tables where schemaname not in ('pg_catalog','information_schema')) as t"
|
||
|
||
for dbname in $(psql -q -A -d $4 -t -c "${GETDB}"); do
|
||
for tablename in $(psql -q -A -d $dbname -t -c "${GETTABLE}"); do
|
||
dblist="$dblist,"$tablename
|
||
done
|
||
done
|
||
echo '{"data":['${dblist#,}' ]}'
|
scripts/stat_postfix_queue_size | ||
---|---|---|
#!/bin/sh
|
||
|
||
QUEUE=$1
|
||
|
||
qshape "${QUEUE}" | grep TOTAL | awk '{print $2}'
|
||
|
scripts/stat_smart_ata | ||
---|---|---|
#!/bin/sh
|
||
|
||
DEV=${1:-noexistent}
|
||
ATTR=${2:-noexistent}
|
||
|
||
opts=$(grep "^$1:" /etc/zabbix/smart_phydev_ata | cut -d: -s -f 2)
|
||
|
||
CACHE_FILE=/tmp/zbx-smart_ata_${DEV}
|
||
test -z `/usr/bin/find ${CACHE_FILE} -mmin -5 2>/dev/null` && \
|
||
smartctl -A $opts >"${CACHE_FILE}"
|
||
|
||
cat "${CACHE_FILE}" | awk -vval="${ATTR}" '{ if ($2 == val) { print $10 } }'
|
||
|
scripts/stat_smart_sas | ||
---|---|---|
#!/bin/sh
|
||
|
||
DEV=${1:-noexistent}
|
||
ATTR=${2:-noexistent}
|
||
|
||
opts=$(grep "^$1:" /etc/zabbix/smart_phydev_sas | cut -d: -s -f 2)
|
||
|
||
CACHE_FILE=/tmp/zbx-smart_sas_${DEV}
|
||
test -z `/usr/bin/find ${CACHE_FILE} -mmin -5 2>/dev/null` && \
|
||
smartctl -A $opts >"${CACHE_FILE}"
|
||
|
||
cat "${CACHE_FILE}" | perl -ne "print \$1 if m/^${ATTR}:\s+([\d.]+)/"
|
||
|
templates/Template_App_Backup_Bacula-Dir.xml | ||
---|---|---|
<?xml version="1.0" encoding="UTF-8"?>
|
||
<zabbix_export>
|
||
<version>2.0</version>
|
||
<date>2015-02-12T23:37:39Z</date>
|
||
<groups>
|
||
<group>
|
||
<name>GNU/Linux servers</name>
|
||
</group>
|
||
<group>
|
||
<name>Servers</name>
|
||
</group>
|
||
<group>
|
||
<name>Templates</name>
|
||
</group>
|
||
</groups>
|
||
<templates>
|
||
<template>
|
||
<template>Template App Backup Bacula-Dir</template>
|
||
<name>Template App Backup Bacula-Dir</name>
|
||
<groups>
|
||
<group>
|
||
<name>GNU/Linux servers</name>
|
||
</group>
|
||
<group>
|
||
<name>Servers</name>
|
||
</group>
|
||
<group>
|
||
<name>Templates</name>
|
||
</group>
|
||
</groups>
|
||
<applications>
|
||
<application>
|
||
<name>Bacula</name>
|
||
</application>
|
||
</applications>
|
||
<items>
|
||
<item>
|
||
<name>Number of running processes bacula-dir</name>
|
||
<type>0</type>
|
||
<snmp_community/>
|
||
<multiplier>0</multiplier>
|
||
<snmp_oid/>
|
||
<key>proc.num[bacula-dir]</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>Bacula</name>
|
||
</application>
|
||
</applications>
|
||
<valuemap/>
|
||
<logtimefmt/>
|
||
</item>
|
||
</items>
|
||
<discovery_rules/>
|
||
<macros/>
|
||
<templates/>
|
||
<screens/>
|
||
</template>
|
||
</templates>
|
||
<triggers>
|
||
<trigger>
|
||
<expression>{Template App Backup Bacula-Dir:proc.num[bacula-dir].last(0)}<1</expression>
|
||
<name>Bacula-Dir is not running on {HOSTNAME}</name>
|
||
<url/>
|
||
<status>0</status>
|
||
<priority>4</priority>
|
||
<description/>
|
||
<type>0</type>
|
||
<dependencies/>
|
||
</trigger>
|
||
</triggers>
|
||
</zabbix_export>
|
templates/Template_App_Backup_Bacula-FD.xml | ||
---|---|---|
<?xml version="1.0" encoding="UTF-8"?>
|
||
<zabbix_export>
|
||
<version>2.0</version>
|
||
<date>2015-02-12T23:40:12Z</date>
|
||
<groups>
|
||
<group>
|
||
<name>GNU/Linux servers</name>
|
||
</group>
|
||
<group>
|
||
<name>Servers</name>
|
||
</group>
|
||
<group>
|
||
<name>Templates</name>
|
||
</group>
|
||
</groups>
|
||
<templates>
|
||
<template>
|
||
<template>Template App Backup Bacula-FD</template>
|
||
<name>Template App Backup Bacula-FD</name>
|
||
<groups>
|
||
<group>
|
||
<name>GNU/Linux servers</name>
|
||
</group>
|
||
<group>
|
||
<name>Servers</name>
|
||
</group>
|
||
<group>
|
||
<name>Templates</name>
|
||
</group>
|
||
</groups>
|
||
<applications>
|
||
<application>
|
||
<name>Bacula</name>
|
||
</application>
|
||
</applications>
|
||
<items>
|
||
<item>
|
||
<name>Number of running processes bacula-fd</name>
|
||
<type>0</type>
|
||
<snmp_community/>
|
||
<multiplier>0</multiplier>
|
||
<snmp_oid/>
|
||
<key>proc.num[bacula-fd]</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>Bacula</name>
|
||
</application>
|
||
</applications>
|
||
<valuemap/>
|
||
<logtimefmt/>
|
||
</item>
|
||
</items>
|
||
<discovery_rules/>
|
||
<macros/>
|
||
<templates/>
|
||
<screens/>
|
||
</template>
|
||
</templates>
|
||
<triggers>
|
||
<trigger>
|
||
<expression>{Template App Backup Bacula-FD:proc.num[bacula-fd].last(0)}<1</expression>
|
||
<name>Bacula-FD is not running on {HOSTNAME}</name>
|
||
<url/>
|
||
<status>0</status>
|
||
<priority>4</priority>
|
||
<description/>
|
||
<type>0</type>
|
||
<dependencies/>
|
||
</trigger>
|
||
</triggers>
|
||
</zabbix_export>
|
templates/Template_App_Backup_Bacula-SD.xml | ||
---|---|---|
<?xml version="1.0" encoding="UTF-8"?>
|
||
<zabbix_export>
|
||
<version>2.0</version>
|
||
<date>2015-02-12T23:40:44Z</date>
|
||
<groups>
|
||
<group>
|
||
<name>GNU/Linux servers</name>
|
||
</group>
|
||
<group>
|
||
<name>Servers</name>
|
||
</group>
|
||
<group>
|
||
<name>Templates</name>
|
||
</group>
|
||
</groups>
|
||
<templates>
|
||
<template>
|
||
<template>Template App Backup Bacula-SD</template>
|
||
<name>Template App Backup Bacula-SD</name>
|
||
<groups>
|
||
<group>
|
||
<name>GNU/Linux servers</name>
|
||
</group>
|
||
<group>
|
||
<name>Servers</name>
|
||
</group>
|
||
<group>
|
||
<name>Templates</name>
|
||
</group>
|
||
</groups>
|
||
<applications>
|
||
<application>
|
||
<name>Bacula</name>
|
||
</application>
|
||
</applications>
|
||
<items>
|
||
<item>
|
||
<name>Number of running processes bacula-sd</name>
|
||
<type>0</type>
|
||
<snmp_community/>
|
||
<multiplier>0</multiplier>
|
||
<snmp_oid/>
|
||
<key>proc.num[bacula-sd]</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>Bacula</name>
|
||
</application>
|
||
</applications>
|
||
<valuemap/>
|
||
<logtimefmt/>
|
||
</item>
|
||
</items>
|
||
<discovery_rules/>
|
||
<macros/>
|
||
<templates/>
|
||
<screens/>
|
||
</template>
|
||
</templates>
|
||
<triggers>
|
||
<trigger>
|
||
<expression>{Template App Backup Bacula-SD:proc.num[bacula-sd].last(0)}<1</expression>
|
||
<name>Bacula-SD is not running on {HOSTNAME}</name>
|
||
<url/>
|
||
<status>0</status>
|
||
<priority>4</priority>
|
||
<description/>
|
||
<type>0</type>
|
||
<dependencies/>
|
||
</trigger>
|
||
</triggers>
|
||
</zabbix_export>
|
templates/Template_App_DNS_Bind9.xml | ||
---|---|---|
<?xml version="1.0" encoding="UTF-8"?>
|
||
<zabbix_export>
|
||
<version>2.0</version>
|
||
<date>2015-02-12T23:45:35Z</date>
|
||
<groups>
|
||
<group>
|
||
<name>GNU/Linux servers</name>
|
||
</group>
|
||
<group>
|
||
<name>Servers</name>
|
||
</group>
|
||
<group>
|
||
<name>Templates</name>
|
||
</group>
|
||
</groups>
|
||
<templates>
|
||
<template>
|
||
<template>Template App DNS Bind9</template>
|
||
<name>Template App DNS Bind9</name>
|
||
<groups>
|
||
<group>
|
||
<name>GNU/Linux servers</name>
|
||
</group>
|
||
<group>
|
||
<name>Servers</name>
|
||
</group>
|
||
<group>
|
||
<name>Templates</name>
|
||
</group>
|
||
</groups>
|
||
<applications>
|
||
<application>
|
||
<name>Bind9</name>
|
||
</application>
|
||
</applications>
|
||
<items>
|
||
<item>
|
||
<name>Bind9 IPv4 requests</name>
|
||
<type>0</type>
|
||
<snmp_community/>
|
||
<multiplier>0</multiplier>
|
||
<snmp_oid/>
|
||
<key>bind9.stats[ipv4]</key>
|
||
<delay>300</delay>
|
||
<history>7</history>
|
||
<trends>365</trends>
|
||
<status>0</status>
|
||
<value_type>3</value_type>
|
||
<allowed_hosts>localhost</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>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>Bind9</name>
|
||
</application>
|
||
</applications>
|
||
<valuemap/>
|
||
<logtimefmt/>
|
||
</item>
|
||
<item>
|
||
<name>Bind9 IPv6 requests</name>
|
||
<type>0</type>
|
||
<snmp_community/>
|
||
<multiplier>0</multiplier>
|
||
<snmp_oid/>
|
||
<key>bind9.stats[ipv6]</key>
|
||
<delay>300</delay>
|
||
<history>7</history>
|
||
<trends>365</trends>
|
||
<status>0</status>
|
||
<value_type>3</value_type>
|
||
<allowed_hosts>localhost</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>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>Bind9</name>
|
||
</application>
|
||
</applications>
|
||
<valuemap/>
|
||
<logtimefmt/>
|
||
</item>
|
||
<item>
|
||
<name>Bind9 NXDOMAIN answers</name>
|
||
<type>0</type>
|
||
<snmp_community/>
|
||
<multiplier>0</multiplier>
|
||
<snmp_oid/>
|
||
<key>bind9.stats[nxdomain]</key>
|
||
<delay>300</delay>
|
||
<history>7</history>
|
||
<trends>365</trends>
|
||
<status>0</status>
|
||
<value_type>3</value_type>
|
||
<allowed_hosts>localhost</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>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>Bind9</name>
|
||
</application>
|
||
</applications>
|
||
<valuemap/>
|
||
<logtimefmt/>
|
||
</item>
|
||
<item>
|
||
<name>Bind9 NXRRSET answers</name>
|
||
<type>0</type>
|
||
<snmp_community/>
|
||
<multiplier>0</multiplier>
|
||
<snmp_oid/>
|
||
<key>bind9.stats[nxrrset]</key>
|
||
<delay>300</delay>
|
||
<history>7</history>
|
||
<trends>365</trends>
|
||
<status>0</status>
|
||
<value_type>3</value_type>
|
||
<allowed_hosts>localhost</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>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>Bind9</name>
|
||
</application>
|
||
</applications>
|
||
<valuemap/>
|
||
<logtimefmt/>
|
||
</item>
|
||
<item>
|
||
<name>Bind9 recursions</name>
|
||
<type>0</type>
|
||
<snmp_community/>
|
||
<multiplier>0</multiplier>
|
||
<snmp_oid/>
|
||
<key>bind9.stats[recursion]</key>
|
||
<delay>300</delay>
|
||
<history>7</history>
|
||
<trends>365</trends>
|
||
<status>0</status>
|
||
<value_type>3</value_type>
|
||
<allowed_hosts>localhost</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>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>Bind9</name>
|
||
</application>
|
||
</applications>
|
||
<valuemap/>
|
||
<logtimefmt/>
|
||
</item>
|
||
<item>
|
||
<name>Bind9 referrals</name>
|
||
<type>0</type>
|
||
<snmp_community/>
|
||
<multiplier>0</multiplier>
|
||
<snmp_oid/>
|
||
<key>bind9.stats[referral]</key>
|
||
<delay>300</delay>
|
||
<history>7</history>
|
||
<trends>365</trends>
|
||
<status>0</status>
|
||
<value_type>3</value_type>
|
||
<allowed_hosts>localhost</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>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>Bind9</name>
|
||
</application>
|
||
</applications>
|
||
<valuemap/>
|
||
<logtimefmt/>
|
||
</item>
|
||
<item>
|
||
<name>Bind9 successful answers</name>
|
||
<type>0</type>
|
||
<snmp_community/>
|
||
<multiplier>0</multiplier>
|
||
<snmp_oid/>
|
||
<key>bind9.stats[success]</key>
|
||
<delay>300</delay>
|
||
<history>7</history>
|
||
<trends>365</trends>
|
||
<status>0</status>
|
||
<value_type>3</value_type>
|
||
<allowed_hosts>localhost</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>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>Bind9</name>
|
||
</application>
|
||
</applications>
|
||
<valuemap/>
|
||
<logtimefmt/>
|
||
</item>
|
||
<item>
|
||
<name>Number of running processes named</name>
|
||
<type>0</type>
|
||
<snmp_community/>
|
||
<multiplier>0</multiplier>
|
||
<snmp_oid/>
|
||
<key>proc.num[named]</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>Bind9</name>
|
||
</application>
|
||
</applications>
|
||
<valuemap/>
|
||
<logtimefmt/>
|
||
</item>
|
||
</items>
|
||
<discovery_rules/>
|
||
<macros/>
|
||
<templates/>
|
||
<screens>
|
||
<screen>
|
||
<name>Bind</name>
|
||
<hsize>2</hsize>
|
||
<vsize>1</vsize>
|
||
<screen_items>
|
||
<screen_item>
|
||
<resourcetype>0</resourcetype>
|
||
<width>500</width>
|
||
<height>100</height>
|
||
<x>0</x>
|
||
<y>0</y>
|
||
<colspan>1</colspan>
|
||
<rowspan>1</rowspan>
|
||
<elements>0</elements>
|
||
<valign>0</valign>
|
||
<halign>0</halign>
|
||
<style>0</style>
|
||
<url/>
|
||
<dynamic>0</dynamic>
|
||
<sort_triggers>0</sort_triggers>
|
||
<resource>
|
||
<name>Bind9 requests protocol</name>
|
||
<host>Template App DNS Bind9</host>
|
||
</resource>
|
||
<application/>
|
||
</screen_item>
|
||
<screen_item>
|
||
<resourcetype>0</resourcetype>
|
||
<width>500</width>
|
||
<height>100</height>
|
||
<x>1</x>
|
||
<y>0</y>
|
||
<colspan>1</colspan>
|
||
<rowspan>1</rowspan>
|
||
<elements>0</elements>
|
||
<valign>0</valign>
|
||
<halign>0</halign>
|
||
<style>0</style>
|
||
<url/>
|
||
<dynamic>0</dynamic>
|
||
<sort_triggers>0</sort_triggers>
|
||
<resource>
|
||
<name>Bind9 replies</name>
|
||
<host>Template App DNS Bind9</host>
|
||
</resource>
|
||
<application/>
|
||
</screen_item>
|
||
</screen_items>
|
||
</screen>
|
||
</screens>
|
||
</template>
|
||
</templates>
|
||
<triggers>
|
||
<trigger>
|
||
<expression>{Template App DNS Bind9:proc.num[named].last(0)}<1</expression>
|
||
<name>Named is not running on {HOSTNAME}</name>
|
||
<url/>
|
||
<status>0</status>
|
||
<priority>4</priority>
|
||
<description/>
|
||
<type>0</type>
|
||
<dependencies/>
|
||
</trigger>
|
||
</triggers>
|
||
<graphs>
|
||
<graph>
|
||
<name>Bind9 replies</name>
|
||
<width>900</width>
|
||
<height>200</height>
|
||
<yaxismin>0.0000</yaxismin>
|
||
<yaxismax>100.0000</yaxismax>
|
||
<show_work_period>0</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>2</sortorder>
|
||
<drawtype>0</drawtype>
|
||
<color>EE0000</color>
|
||
<yaxisside>0</yaxisside>
|
||
<calc_fnc>2</calc_fnc>
|
||
<type>0</type>
|
||
<item>
|
||
<host>Template App DNS Bind9</host>
|
||
<key>bind9.stats[nxdomain]</key>
|
||
</item>
|
||
</graph_item>
|
||
<graph_item>
|
||
<sortorder>3</sortorder>
|
||
<drawtype>0</drawtype>
|
||
<color>0000DD</color>
|
||
<yaxisside>0</yaxisside>
|
||
<calc_fnc>2</calc_fnc>
|
||
<type>0</type>
|
||
<item>
|
||
<host>Template App DNS Bind9</host>
|
||
<key>bind9.stats[recursion]</key>
|
||
</item>
|
||
</graph_item>
|
||
<graph_item>
|
||
<sortorder>0</sortorder>
|
||
<drawtype>0</drawtype>
|
||
<color>009900</color>
|
||
<yaxisside>0</yaxisside>
|
||
<calc_fnc>2</calc_fnc>
|
||
<type>0</type>
|
||
<item>
|
||
<host>Template App DNS Bind9</host>
|
||
<key>bind9.stats[success]</key>
|
||
</item>
|
||
</graph_item>
|
||
<graph_item>
|
||
<sortorder>1</sortorder>
|
||
<drawtype>0</drawtype>
|
||
<color>BB00BB</color>
|
||
<yaxisside>0</yaxisside>
|
||
<calc_fnc>2</calc_fnc>
|
||
<type>0</type>
|
||
<item>
|
||
<host>Template App DNS Bind9</host>
|
||
<key>bind9.stats[nxrrset]</key>
|
||
</item>
|
||
</graph_item>
|
||
<graph_item>
|
||
<sortorder>4</sortorder>
|
||
<drawtype>0</drawtype>
|
||
<color>9999FF</color>
|
||
<yaxisside>0</yaxisside>
|
||
<calc_fnc>2</calc_fnc>
|
||
<type>0</type>
|
||
<item>
|
||
<host>Template App DNS Bind9</host>
|
||
<key>bind9.stats[referral]</key>
|
||
</item>
|
||
</graph_item>
|
||
</graph_items>
|
||
</graph>
|
||
<graph>
|
||
<name>Bind9 requests protocol</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>1</sortorder>
|
||
<drawtype>1</drawtype>
|
||
<color>0000EE</color>
|
||
<yaxisside>0</yaxisside>
|
||
<calc_fnc>2</calc_fnc>
|
||
<type>0</type>
|
||
<item>
|
||
<host>Template App DNS Bind9</host>
|
||
<key>bind9.stats[ipv4]</key>
|
||
</item>
|
||
</graph_item>
|
||
<graph_item>
|
||
<sortorder>0</sortorder>
|
||
<drawtype>1</drawtype>
|
||
<color>00DD00</color>
|
||
<yaxisside>0</yaxisside>
|
||
<calc_fnc>2</calc_fnc>
|
||
<type>0</type>
|
||
<item>
|
||
<host>Template App DNS Bind9</host>
|
||
<key>bind9.stats[ipv6]</key>
|
||
</item>
|
||
</graph_item>
|
||
</graph_items>
|
||
</graph>
|
||
</graphs>
|
||
</zabbix_export>
|
||
<zabbix_export><version>3.0</version><date>2018-06-27T13:53:22Z</date><groups><group><name>GNU/Linux servers</name></group><group><name>Servers</name></group><group><name>Templates</name></group></groups><templates><template><template>Template App DNS Bind9</template><name>Template App DNS Bind9</name><description/><groups><group><name>GNU/Linux servers</name></group><group><name>Servers</name></group><group><name>Templates</name></group></groups><applications><application><name>Bind9</name></application></applications><items><item><name>Bind9 IPv4 requests</name><type>0</type><snmp_community/><multiplier>0</multiplier><snmp_oid/><key>bind9.stats[ipv4]</key><delay>300</delay><history>7</history><trends>365</trends><status>0</status><value_type>3</value_type><allowed_hosts>localhost</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>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>Bind9</name></application></applications><valuemap/><logtimefmt/></item><item><name>Bind9 IPv6 requests</name><type>0</type><snmp_community/><multiplier>0</multiplier><snmp_oid/><key>bind9.stats[ipv6]</key><delay>300</delay><history>7</history><trends>365</trends><status>0</status><value_type>3</value_type><allowed_hosts>localhost</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>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>Bind9</name></application></applications><valuemap/><logtimefmt/></item><item><name>Bind9 NXDOMAIN answers</name><type>0</type><snmp_community/><multiplier>0</multiplier><snmp_oid/><key>bind9.stats[nxdomain]</key><delay>300</delay><history>7</history><trends>365</trends><status>0</status><value_type>3</value_type><allowed_hosts>localhost</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>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>Bind9</name></application></applications><valuemap/><logtimefmt/></item><item><name>Bind9 NXRRSET answers</name><type>0</type><snmp_community/><multiplier>0</multiplier><snmp_oid/><key>bind9.stats[nxrrset]</key><delay>300</delay><history>7</history><trends>365</trends><status>0</status><value_type>3</value_type><allowed_hosts>localhost</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>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>Bind9</name></application></applications><valuemap/><logtimefmt/></item><item><name>Bind9 recursions</name><type>0</type><snmp_community/><multiplier>0</multiplier><snmp_oid/><key>bind9.stats[recursion]</key><delay>300</delay><history>7</history><trends>365</trends><status>0</status><value_type>3</value_type><allowed_hosts>localhost</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>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>Bind9</name></application></applications><valuemap/><logtimefmt/></item><item><name>Bind9 referrals</name><type>0</type><snmp_community/><multiplier>0</multiplier><snmp_oid/><key>bind9.stats[referral]</key><delay>300</delay><history>7</history><trends>365</trends><status>0</status><value_type>3</value_type><allowed_hosts>localhost</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>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>Bind9</name></application></applications><valuemap/><logtimefmt/></item><item><name>Bind9 successful answers</name><type>0</type><snmp_community/><multiplier>0</multiplier><snmp_oid/><key>bind9.stats[success]</key><delay>300</delay><history>7</history><trends>365</trends><status>0</status><value_type>3</value_type><allowed_hosts>localhost</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>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>Bind9</name></application></applications><valuemap/><logtimefmt/></item><item><name>Number of running processes named</name><type>0</type><snmp_community/><multiplier>0</multiplier><snmp_oid/><key>proc.num[named]</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>Bind9</name></application></applications><valuemap/><logtimefmt/></item></items><discovery_rules/><macros/><templates/><screens><screen><name>Bind</name><hsize>2</hsize><vsize>1</vsize><screen_items><screen_item><resourcetype>0</resourcetype><width>500</width><height>100</height><x>0</x><y>0</y><colspan>1</colspan><rowspan>1</rowspan><elements>0</elements><valign>0</valign><halign>0</halign><style>0</style><url/><dynamic>0</dynamic><sort_triggers>0</sort_triggers><resource><name>Bind9 requests protocol</name><host>Template App DNS Bind9</host></resource><max_columns>3</max_columns><application/></screen_item><screen_item><resourcetype>0</resourcetype><width>500</width><height>100</height><x>1</x><y>0</y><colspan>1</colspan><rowspan>1</rowspan><elements>0</elements><valign>0</valign><halign>0</halign><style>0</style><url/><dynamic>0</dynamic><sort_triggers>0</sort_triggers><resource><name>Bind9 replies</name><host>Template App DNS Bind9</host></resource><max_columns>3</max_columns><application/></screen_item></screen_items></screen></screens></template></templates><triggers><trigger><expression>{Template App DNS Bind9:proc.num[named].last(0)}<1</expression><name>Named is not running on {HOST.NAME}</name><url/><status>0</status><priority>4</priority><description/><type>0</type><dependencies/></trigger><trigger><expression>{Template App DNS Bind9:proc.num[named].last(0)}<1</expression><name>Named is not running on {HOSTNAME}</name><url/><status>0</status><priority>4</priority><description/><type>0</type><dependencies/></trigger></triggers><graphs><graph><name>Bind9 replies</name><width>900</width><height>200</height><yaxismin>0.0000</yaxismin><yaxismax>100.0000</yaxismax><show_work_period>0</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>0</drawtype><color>009900</color><yaxisside>0</yaxisside><calc_fnc>2</calc_fnc><type>0</type><item><host>Template App DNS Bind9</host><key>bind9.stats[success]</key></item></graph_item><graph_item><sortorder>1</sortorder><drawtype>0</drawtype><color>BB00BB</color><yaxisside>0</yaxisside><calc_fnc>2</calc_fnc><type>0</type><item><host>Template App DNS Bind9</host><key>bind9.stats[nxrrset]</key></item></graph_item><graph_item><sortorder>2</sortorder><drawtype>0</drawtype><color>EE0000</color><yaxisside>0</yaxisside><calc_fnc>2</calc_fnc><type>0</type><item><host>Template App DNS Bind9</host><key>bind9.stats[nxdomain]</key></item></graph_item><graph_item><sortorder>3</sortorder><drawtype>0</drawtype><color>0000DD</color><yaxisside>0</yaxisside><calc_fnc>2</calc_fnc><type>0</type><item><host>Template App DNS Bind9</host><key>bind9.stats[recursion]</key></item></graph_item><graph_item><sortorder>4</sortorder><drawtype>0</drawtype><color>9999FF</color><yaxisside>0</yaxisside><calc_fnc>2</calc_fnc><type>0</type><item><host>Template App DNS Bind9</host><key>bind9.stats[referral]</key></item></graph_item></graph_items></graph><graph><name>Bind9 requests protocol</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>00DD00</color><yaxisside>0</yaxisside><calc_fnc>2</calc_fnc><type>0</type><item><host>Template App DNS Bind9</host><key>bind9.stats[ipv6]</key></item></graph_item><graph_item><sortorder>1</sortorder><drawtype>1</drawtype><color>0000EE</color><yaxisside>0</yaxisside><calc_fnc>2</calc_fnc><type>0</type><item><host>Template App DNS Bind9</host><key>bind9.stats[ipv4]</key></item></graph_item></graph_items></graph></graphs></zabbix_export>
|
templates/Template_App_Database_MySQL.xml | ||
---|---|---|
<?xml version="1.0" encoding="UTF-8"?>
|
||
<zabbix_export>
|
||
<version>2.0</version>
|
||
<date>2015-02-12T23:41:04Z</date>
|
||
<groups>
|
||
<group>
|
||
<name>GNU/Linux servers</name>
|
||
</group>
|
||
<group>
|
||
<name>Servers</name>
|
||
</group>
|
||
<group>
|
||
<name>Templates</name>
|
||
</group>
|
||
</groups>
|
||
<templates>
|
||
<template>
|
||
<template>Template App Database MySQL</template>
|
||
<name>Template App Database MySQL</name>
|
||
<groups>
|
||
<group>
|
||
<name>GNU/Linux servers</name>
|
||
</group>
|
||
<group>
|
||
<name>Servers</name>
|
||
</group>
|
||
<group>
|
||
<name>Templates</name>
|
||
</group>
|
||
</groups>
|
||
<applications>
|
||
<application>
|
||
<name>MySQL</name>
|
||
</application>
|
||
</applications>
|
||
<items>
|
||
<item>
|
||
<name>MySQL all queries</name>
|
||
<type>0</type>
|
||
<snmp_community/>
|
||
<multiplier>0</multiplier>
|
||
<snmp_oid/>
|
||
<key>mysql.status[Queries]</key>
|
||
<delay>300</delay>
|
||
<history>7</history>
|
||
<trends>365</trends>
|
||
<status>0</status>
|
||
<value_type>3</value_type>
|
||
<allowed_hosts>localhost</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>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>MySQL</name>
|
||
</application>
|
||
</applications>
|
||
<valuemap/>
|
||
<logtimefmt/>
|
||
</item>
|
||
<item>
|
||
<name>MySQL connections aborted</name>
|
||
<type>0</type>
|
||
<snmp_community/>
|
||
<multiplier>0</multiplier>
|
||
<snmp_oid/>
|
||
<key>mysql.status[Aborted_clients]</key>
|
||
<delay>300</delay>
|
||
<history>7</history>
|
||
<trends>365</trends>
|
||
<status>0</status>
|
||
<value_type>3</value_type>
|
||
<allowed_hosts>localhost</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>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>MySQL</name>
|
||
</application>
|
||
</applications>
|
||
<valuemap/>
|
||
<logtimefmt/>
|
||
</item>
|
||
<item>
|
||
<name>MySQL connections attempted</name>
|
||
<type>0</type>
|
||
<snmp_community/>
|
||
<multiplier>0</multiplier>
|
||
<snmp_oid/>
|
||
<key>mysql.status[Connections]</key>
|
||
<delay>300</delay>
|
||
<history>7</history>
|
||
<trends>365</trends>
|
||
<status>0</status>
|
||
<value_type>3</value_type>
|
||
<allowed_hosts>localhost</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>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>MySQL</name>
|
||
</application>
|
||
</applications>
|
||
<valuemap/>
|
||
<logtimefmt/>
|
||
</item>
|
||
<item>
|
||
<name>MySQL connections failed</name>
|
||
<type>0</type>
|
||
<snmp_community/>
|
||
<multiplier>0</multiplier>
|
||
<snmp_oid/>
|
||
<key>mysql.status[Aborted_connects]</key>
|
||
<delay>300</delay>
|
||
<history>7</history>
|
||
<trends>365</trends>
|
||
<status>0</status>
|
||
<value_type>3</value_type>
|
||
<allowed_hosts>localhost</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>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>MySQL</name>
|
||
</application>
|
||
</applications>
|
||
<valuemap/>
|
||
<logtimefmt/>
|
||
</item>
|
||
<item>
|
||
<name>MySQL DELETE statements</name>
|
||
<type>0</type>
|
||
<snmp_community/>
|
||
<multiplier>0</multiplier>
|
||
<snmp_oid/>
|
||
<key>mysql.status[Com_delete]</key>
|
||
<delay>300</delay>
|
||
<history>7</history>
|
||
<trends>365</trends>
|
||
<status>0</status>
|
||
<value_type>3</value_type>
|
||
<allowed_hosts>localhost</allowed_hosts>
|
||
<units/>
|
||
<delta>1</delta>
|
||
<snmpv3_contextname/>
|
||
<snmpv3_securityname/>
|
||
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
Also available in: Unified diff
sync after the monitoring rebuild