Added DomainCheck template
This commit is contained in:
parent
de6c066ceb
commit
ab354c33f8
1 changed files with 129 additions and 0 deletions
129
templates/Template_DomainCheck.xml
Normal file
129
templates/Template_DomainCheck.xml
Normal file
|
@ -0,0 +1,129 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<zabbix_export>
|
||||||
|
<version>2.0</version>
|
||||||
|
<date>2013-06-28T17:36:52Z</date>
|
||||||
|
<groups>
|
||||||
|
<group>
|
||||||
|
<name>Templates</name>
|
||||||
|
</group>
|
||||||
|
</groups>
|
||||||
|
<templates>
|
||||||
|
<template>
|
||||||
|
<template>Template_DomainCheck</template>
|
||||||
|
<name>Template DomainCheck</name>
|
||||||
|
<groups>
|
||||||
|
<group>
|
||||||
|
<name>Templates</name>
|
||||||
|
</group>
|
||||||
|
</groups>
|
||||||
|
<applications>
|
||||||
|
<application>
|
||||||
|
<name>Domain Name</name>
|
||||||
|
</application>
|
||||||
|
</applications>
|
||||||
|
<items/>
|
||||||
|
<discovery_rules>
|
||||||
|
<discovery_rule>
|
||||||
|
<name>Domain Name Discovery</name>
|
||||||
|
<type>7</type>
|
||||||
|
<snmp_community/>
|
||||||
|
<snmp_oid/>
|
||||||
|
<key>domain.check.discovery</key>
|
||||||
|
<delay>86400</delay>
|
||||||
|
<status>0</status>
|
||||||
|
<allowed_hosts/>
|
||||||
|
<snmpv3_securityname/>
|
||||||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||||||
|
<snmpv3_authpassphrase/>
|
||||||
|
<snmpv3_privpassphrase/>
|
||||||
|
<delay_flex/>
|
||||||
|
<params/>
|
||||||
|
<ipmi_sensor/>
|
||||||
|
<authtype>0</authtype>
|
||||||
|
<username/>
|
||||||
|
<password/>
|
||||||
|
<publickey/>
|
||||||
|
<privatekey/>
|
||||||
|
<port/>
|
||||||
|
<filter>{#DOMAIN}:</filter>
|
||||||
|
<lifetime>30</lifetime>
|
||||||
|
<description>Discovery of domain names to check and monitor for expiration.</description>
|
||||||
|
<item_prototypes>
|
||||||
|
<item_prototype>
|
||||||
|
<name>Days for domain {$DOMAIN} to expire</name>
|
||||||
|
<type>2</type>
|
||||||
|
<snmp_community/>
|
||||||
|
<multiplier>0</multiplier>
|
||||||
|
<snmp_oid/>
|
||||||
|
<key>domain.daysleft[{$DOMAIN}]</key>
|
||||||
|
<delay>0</delay>
|
||||||
|
<history>120</history>
|
||||||
|
<trends>365</trends>
|
||||||
|
<status>0</status>
|
||||||
|
<value_type>3</value_type>
|
||||||
|
<allowed_hosts/>
|
||||||
|
<units/>
|
||||||
|
<delta>0</delta>
|
||||||
|
<snmpv3_securityname/>
|
||||||
|
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||||||
|
<snmpv3_authpassphrase/>
|
||||||
|
<snmpv3_privpassphrase/>
|
||||||
|
<formula>1</formula>
|
||||||
|
<delay_flex/>
|
||||||
|
<params/>
|
||||||
|
<ipmi_sensor/>
|
||||||
|
<data_type>0</data_type>
|
||||||
|
<authtype>0</authtype>
|
||||||
|
<username/>
|
||||||
|
<password/>
|
||||||
|
<publickey/>
|
||||||
|
<privatekey/>
|
||||||
|
<port/>
|
||||||
|
<description/>
|
||||||
|
<inventory_link>0</inventory_link>
|
||||||
|
<applications>
|
||||||
|
<application>
|
||||||
|
<name>Domain Name</name>
|
||||||
|
</application>
|
||||||
|
</applications>
|
||||||
|
<valuemap/>
|
||||||
|
</item_prototype>
|
||||||
|
</item_prototypes>
|
||||||
|
<trigger_prototypes>
|
||||||
|
<trigger_prototype>
|
||||||
|
<expression>{Template_DomainCheck:domain.daysleft[{$DOMAIN}].last(0)}<{$EXPIRECRIT}</expression>
|
||||||
|
<name>Domain {#DOMAIN} will expire in {ITEM.VALUE1} days</name>
|
||||||
|
<url/>
|
||||||
|
<status>0</status>
|
||||||
|
<priority>5</priority>
|
||||||
|
<description/>
|
||||||
|
<type>1</type>
|
||||||
|
</trigger_prototype>
|
||||||
|
<trigger_prototype>
|
||||||
|
<expression>{Template_DomainCheck:domain.daysleft[{$DOMAIN}].last(0)}<{$EXPIREWARN}</expression>
|
||||||
|
<name>Domain {#DOMAIN} will expire in {ITEM.VALUE1} days</name>
|
||||||
|
<url/>
|
||||||
|
<status>0</status>
|
||||||
|
<priority>2</priority>
|
||||||
|
<description/>
|
||||||
|
<type>0</type>
|
||||||
|
</trigger_prototype>
|
||||||
|
</trigger_prototypes>
|
||||||
|
<graph_prototypes/>
|
||||||
|
</discovery_rule>
|
||||||
|
</discovery_rules>
|
||||||
|
<macros>
|
||||||
|
<macro>
|
||||||
|
<macro>{$EXPIRECRIT}</macro>
|
||||||
|
<value>30</value>
|
||||||
|
</macro>
|
||||||
|
<macro>
|
||||||
|
<macro>{$EXPIREWARN}</macro>
|
||||||
|
<value>90</value>
|
||||||
|
</macro>
|
||||||
|
</macros>
|
||||||
|
<templates/>
|
||||||
|
<screens/>
|
||||||
|
</template>
|
||||||
|
</templates>
|
||||||
|
</zabbix_export>
|
Loading…
Reference in a new issue