299 lines
11 KiB
XML
299 lines
11 KiB
XML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<zabbix_export>
|
||
|
<version>3.0</version>
|
||
|
<date>2018-12-13T09:37:16Z</date>
|
||
|
<groups>
|
||
|
<group>
|
||
|
<name>Templates Windows</name>
|
||
|
</group>
|
||
|
</groups>
|
||
|
<templates>
|
||
|
<template>
|
||
|
<template>OS Windows Service xxx</template>
|
||
|
<name>OS Windows Service xxx</name>
|
||
|
<description/>
|
||
|
<groups>
|
||
|
<group>
|
||
|
<name>Templates Windows</name>
|
||
|
</group>
|
||
|
</groups>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>Service Status</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<items>
|
||
|
<item>
|
||
|
<name>Service State: Netlogon</name>
|
||
|
<type>7</type>
|
||
|
<snmp_community/>
|
||
|
<multiplier>0</multiplier>
|
||
|
<snmp_oid/>
|
||
|
<key>service_state[Netlogon]</key>
|
||
|
<delay>120</delay>
|
||
|
<history>31</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/>
|
||
|
<inventory_link>0</inventory_link>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>Service Status</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<valuemap>
|
||
|
<name>Windows service state</name>
|
||
|
</valuemap>
|
||
|
<logtimefmt/>
|
||
|
</item>
|
||
|
<item>
|
||
|
<name>Service State: Remote Procedure Call (RPC)</name>
|
||
|
<type>7</type>
|
||
|
<snmp_community/>
|
||
|
<multiplier>0</multiplier>
|
||
|
<snmp_oid/>
|
||
|
<key>service_state[RpcSs]</key>
|
||
|
<delay>120</delay>
|
||
|
<history>31</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/>
|
||
|
<inventory_link>0</inventory_link>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>Service Status</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<valuemap>
|
||
|
<name>Windows service state</name>
|
||
|
</valuemap>
|
||
|
<logtimefmt/>
|
||
|
</item>
|
||
|
<item>
|
||
|
<name>Service State: Windows Time</name>
|
||
|
<type>7</type>
|
||
|
<snmp_community/>
|
||
|
<multiplier>0</multiplier>
|
||
|
<snmp_oid/>
|
||
|
<key>service_state[W32Time]</key>
|
||
|
<delay>120</delay>
|
||
|
<history>31</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/>
|
||
|
<inventory_link>0</inventory_link>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>Service Status</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<valuemap>
|
||
|
<name>Windows service state</name>
|
||
|
</valuemap>
|
||
|
<logtimefmt/>
|
||
|
</item>
|
||
|
<item>
|
||
|
<name>Service State:</name>
|
||
|
<type>0</type>
|
||
|
<snmp_community/>
|
||
|
<multiplier>0</multiplier>
|
||
|
<snmp_oid/>
|
||
|
<key>service_state[]</key>
|
||
|
<delay>120</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/>
|
||
|
<inventory_link>0</inventory_link>
|
||
|
<applications>
|
||
|
<application>
|
||
|
<name>Service Status</name>
|
||
|
</application>
|
||
|
</applications>
|
||
|
<valuemap>
|
||
|
<name>Windows service state</name>
|
||
|
</valuemap>
|
||
|
<logtimefmt/>
|
||
|
</item>
|
||
|
</items>
|
||
|
<discovery_rules/>
|
||
|
<macros/>
|
||
|
<templates/>
|
||
|
<screens/>
|
||
|
</template>
|
||
|
</templates>
|
||
|
<triggers>
|
||
|
<trigger>
|
||
|
<expression>{OS Windows Service xxx:service_state[].last()}=6</expression>
|
||
|
<name>Dienst xxx gestoppt on {HOST.NAME}</name>
|
||
|
<url/>
|
||
|
<status>1</status>
|
||
|
<priority>2</priority>
|
||
|
<description>xxx - Dienststatus gestoppt !</description>
|
||
|
<type>0</type>
|
||
|
<dependencies/>
|
||
|
</trigger>
|
||
|
<trigger>
|
||
|
<expression>{OS Windows Service xxx:service_state[].last()}=7</expression>
|
||
|
<name>Dienst xxx Status unbekannt on {HOST.NAME}</name>
|
||
|
<url/>
|
||
|
<status>1</status>
|
||
|
<priority>2</priority>
|
||
|
<description>xxx - Dienststatus unbekannt !</description>
|
||
|
<type>0</type>
|
||
|
<dependencies/>
|
||
|
</trigger>
|
||
|
<trigger>
|
||
|
<expression>{OS Windows Service xxx:service_state[Netlogon].avg(300)}>0</expression>
|
||
|
<name>{HOSTNAME} Service "Netlogon" Down</name>
|
||
|
<url/>
|
||
|
<status>1</status>
|
||
|
<priority>3</priority>
|
||
|
<description/>
|
||
|
<type>0</type>
|
||
|
<dependencies/>
|
||
|
</trigger>
|
||
|
<trigger>
|
||
|
<expression>{OS Windows Service xxx:service_state[RpcSs].avg(300)}>0</expression>
|
||
|
<name>{HOSTNAME} Service "Remote Procedure Call (RPC)" Down</name>
|
||
|
<url/>
|
||
|
<status>1</status>
|
||
|
<priority>3</priority>
|
||
|
<description/>
|
||
|
<type>0</type>
|
||
|
<dependencies/>
|
||
|
</trigger>
|
||
|
</triggers>
|
||
|
<value_maps>
|
||
|
<value_map>
|
||
|
<name>Windows service state</name>
|
||
|
<mappings>
|
||
|
<mapping>
|
||
|
<value>0</value>
|
||
|
<newvalue>Running</newvalue>
|
||
|
</mapping>
|
||
|
<mapping>
|
||
|
<value>1</value>
|
||
|
<newvalue>Paused</newvalue>
|
||
|
</mapping>
|
||
|
<mapping>
|
||
|
<value>2</value>
|
||
|
<newvalue>Start pending</newvalue>
|
||
|
</mapping>
|
||
|
<mapping>
|
||
|
<value>3</value>
|
||
|
<newvalue>Pause pending</newvalue>
|
||
|
</mapping>
|
||
|
<mapping>
|
||
|
<value>4</value>
|
||
|
<newvalue>Continue pending</newvalue>
|
||
|
</mapping>
|
||
|
<mapping>
|
||
|
<value>5</value>
|
||
|
<newvalue>Stop pending</newvalue>
|
||
|
</mapping>
|
||
|
<mapping>
|
||
|
<value>6</value>
|
||
|
<newvalue>Stopped</newvalue>
|
||
|
</mapping>
|
||
|
<mapping>
|
||
|
<value>7</value>
|
||
|
<newvalue>Unknown</newvalue>
|
||
|
</mapping>
|
||
|
<mapping>
|
||
|
<value>255</value>
|
||
|
<newvalue>No such service</newvalue>
|
||
|
</mapping>
|
||
|
</mappings>
|
||
|
</value_map>
|
||
|
</value_maps>
|
||
|
</zabbix_export>
|