Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- Used in this article: http://obrivki.blogspot.com/2012/07/zabbix-2-low-level-discovery-windows.html -->
- <?xml version="1.0" encoding="UTF-8"?>
- <zabbix_export>
- <version>2.0</version>
- <date>2012-07-24T20:45:14Z</date>
- <groups>
- <group>
- <name>Custom Templates</name>
- </group>
- </groups>
- <templates>
- <template>
- <template>Template LLD - Windows Services</template>
- <name>Template LLD - Windows Services</name>
- <groups>
- <group>
- <name>Custom Templates</name>
- </group>
- </groups>
- <applications>
- <application>
- <name>win_service</name>
- </application>
- </applications>
- <items/>
- <discovery_rules>
- <discovery_rule>
- <name>Windows Service LLD</name>
- <type>0</type>
- <snmp_community/>
- <snmp_oid/>
- <key>windows.service</key>
- <delay>3600</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>{#SCDISCOVERYFILTER}:@Services discovery - exclusions</filter>
- <lifetime>30</lifetime>
- <description/>
- <item_prototypes>
- <item_prototype>
- <name>Service: {#SCCAPTION} ({#SCNAME})</name>
- <type>0</type>
- <snmp_community/>
- <multiplier>0</multiplier>
- <snmp_oid/>
- <key>service_state[{#SCNAME}]</key>
- <delay>60</delay>
- <history>90</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>win_service</name>
- </application>
- </applications>
- <valuemap>
- <name>Windows service state</name>
- </valuemap>
- </item_prototype>
- </item_prototypes>
- <trigger_prototypes>
- <trigger_prototype>
- <expression>{Template LLD - Windows Services:service_state[{#SCNAME}].last(0)}=1 | {Template LLD - Windows Services:service_state[{#SCNAME}].last(0)}=6</expression>
- <name>Service is DOWN: "[{#SCNAME}] {#SCCAPTION}"</name>
- <url/>
- <status>0</status>
- <priority>4</priority>
- <description/>
- <type>0</type>
- </trigger_prototype>
- </trigger_prototypes>
- <graph_prototypes/>
- </discovery_rule>
- </discovery_rules>
- <macros/>
- <templates/>
- <screens/>
- </template>
- </templates>
- </zabbix_export>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement