Created
December 26, 2016 07:38
-
-
Save tkuchiki/ea5903d69fbf271ec8a550a3451d4b7b to your computer and use it in GitHub Desktop.
zabbix Template_crond for (RHEL, Ubuntu)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<zabbix_export> | |
<version>2.0</version> | |
<date>2016-12-26T07:34:40Z</date> | |
<groups> | |
</groups> | |
<templates> | |
<template> | |
<template>Template_crond</template> | |
<name>Template_crond</name> | |
<groups> | |
</groups> | |
<applications> | |
<application> | |
<name>crond</name> | |
</application> | |
</applications> | |
<items> | |
<item> | |
<name>running crond</name> | |
<type>0</type> | |
<snmp_community/> | |
<multiplier>0</multiplier> | |
<snmp_oid/> | |
<key>proc.num[,root,,(/usr/sbin/cron|^crond?)]</key> | |
<delay>60</delay> | |
<history>7</history> | |
<trends>30</trends> | |
<status>0</status> | |
<value_type>3</value_type> | |
<allowed_hosts/> | |
<units/> | |
<delta>0</delta> | |
<snmpv3_securityname/> | |
<snmpv3_securitylevel>0</snmpv3_securitylevel> | |
<snmpv3_authpassphrase/> | |
<snmpv3_privpassphrase/> | |
<formula>1</formula> | |
<delay_flex>50/1-7,00:00-24:00</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>crond</name> | |
</application> | |
</applications> | |
<valuemap/> | |
</item> | |
</items> | |
<discovery_rules/> | |
<macros/> | |
<templates/> | |
<screens/> | |
</template> | |
</templates> | |
<triggers> | |
<trigger> | |
<expression>{Template_crond:proc.num[,root,,(/usr/sbin/cron|^crond?)].last(0)}=0</expression> | |
<name>crond not running</name> | |
<url/> | |
<status>0</status> | |
<priority>2</priority> | |
<description/> | |
<type>0</type> | |
<dependencies/> | |
</trigger> | |
</triggers> | |
</zabbix_export> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment