Configs/Templates/Templates DEBUG/debug zabbix-TaskSchedulerM.../znil_Template_Windows_Task_...

309 lines
15 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>2.0</version>
<date>2015-04-23T09:27:07Z</date>
<groups>
<group>
<name>Templates</name>
</group>
<group>
<name>Templates DATAGROUP</name>
</group>
</groups>
<templates>
<template>
<template>znil Template Windows Task Scheduler</template>
<name>znil Template Windows Task Scheduler</name>
<description>Discover and monitor all Task from &quot;Task Scheduler Library&quot; without subfolders.&#13;
&#13;
2015 by Bernhard Linz&#13;
http://znil.net/index.php?title=Zabbix:TaskSchedulerMonitoring</description>
<groups>
<group>
<name>Templates</name>
</group>
<group>
<name>Templates DATAGROUP</name>
</group>
</groups>
<applications>
<application>
<name>Task Scheduler</name>
</application>
</applications>
<items/>
<discovery_rules>
<discovery_rule>
<name>Discovery Task Scheduler</name>
<type>7</type>
<snmp_community/>
<snmp_oid/>
<key>znil.TaskSchedulerMonitoring[discovertasks]</key>
<delay>3600</delay>
<status>0</status>
<allowed_hosts/>
<snmpv3_contextname/>
<snmpv3_securityname/>
<snmpv3_securitylevel>0</snmpv3_securitylevel>
<snmpv3_authprotocol>0</snmpv3_authprotocol>
<snmpv3_authpassphrase/>
<snmpv3_privprotocol>0</snmpv3_privprotocol>
<snmpv3_privpassphrase/>
<delay_flex/>
<params/>
<ipmi_sensor/>
<authtype>0</authtype>
<username/>
<password/>
<publickey/>
<privatekey/>
<port/>
<filter>
<evaltype>0</evaltype>
<formula/>
<conditions/>
</filter>
<lifetime>0</lifetime>
<description>Discover all Task at &quot;Task Scheduler Libraray&quot; without any Subfolders.&#13;
All Task from &quot;TaskSchedulerMonitoring-ignore.txt&quot; will be ignored</description>
<item_prototypes>
<item_prototype>
<name>Task: {#TSMTASKNAME}: Last Result</name>
<type>2</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>znil.TaskSchedulerMonitoring[LastResult,{#TSMTASKNAME}]</key>
<delay>0</delay>
<history>7</history>
<trends>90</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>Last Result of Task, numeric value&#13;
in most cases 0 = succesfull</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Task Scheduler</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item_prototype>
<item_prototype>
<name>Task: {#TSMTASKNAME}: Last Run Time</name>
<type>2</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>znil.TaskSchedulerMonitoring[LastRunTime,{#TSMTASKNAME}]</key>
<delay>0</delay>
<history>7</history>
<trends>90</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units>unixtime</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>Last Run Time of Task as an unixtimestamp</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Task Scheduler</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item_prototype>
<item_prototype>
<name>Task: {#TSMTASKNAME}: Next Run Time</name>
<type>2</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>znil.TaskSchedulerMonitoring[NextRunTime,{#TSMTASKNAME}]</key>
<delay>0</delay>
<history>7</history>
<trends>90</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units>unixtime</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>Next Run Time of Task as an unixtimestamp</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Task Scheduler</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item_prototype>
<item_prototype>
<name>Task: {#TSMTASKNAME}: Query Helper</name>
<type>7</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>znil.TaskSchedulerMonitoring[query,{#TSMTASKNAME}]</key>
<delay>3600</delay>
<history>7</history>
<trends>90</trends>
<status>0</status>
<value_type>3</value_type>
<allowed_hosts/>
<units>s</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>Query Helper - start the Query, Values will be send with Zabbix_Sender.exe&#13;
Reported Value is the Runtime in Seconds</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Task Scheduler</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item_prototype>
<item_prototype>
<name>Task: {#TSMTASKNAME}: Run As User</name>
<type>2</type>
<snmp_community/>
<multiplier>0</multiplier>
<snmp_oid/>
<key>znil.TaskSchedulerMonitoring[RunAsUser,{#TSMTASKNAME}]</key>
<delay>0</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>Name of User under which the task run</description>
<inventory_link>0</inventory_link>
<applications>
<application>
<name>Task Scheduler</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
</item_prototype>
</item_prototypes>
<trigger_prototypes>
<trigger_prototype>
<expression>{znil Template Windows Task Scheduler:znil.TaskSchedulerMonitoring[LastResult,{#TSMTASKNAME}].last()}&lt;&gt;0 and {znil Template Windows Task Scheduler:znil.TaskSchedulerMonitoring[LastResult,{#TSMTASKNAME}].last()}&lt;&gt;267009 and {znil Template Windows Task Scheduler:znil.TaskSchedulerMonitoring[LastResult,{#TSMTASKNAME}].last()}&lt;&gt;1</expression>
<name>Last run of {#TSMTASKNAME} failed!</name>
<url/>
<status>0</status>
<priority>4</priority>
<description/>
<type>0</type>
</trigger_prototype>
</trigger_prototypes>
<graph_prototypes/>
<host_prototypes/>
</discovery_rule>
</discovery_rules>
<macros/>
<templates/>
<screens/>
</template>
</templates>
</zabbix_export>