Advertisement
qiwichupa

Template Low Level Discovery - Windows Services.xml

Jul 24th, 2012
462
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.83 KB | None | 0 0
  1. <!-- Used in this article: http://obrivki.blogspot.com/2012/07/zabbix-2-low-level-discovery-windows.html -->
  2. <?xml version="1.0" encoding="UTF-8"?>
  3. <zabbix_export>
  4.     <version>2.0</version>
  5.     <date>2012-07-24T20:45:14Z</date>
  6.     <groups>
  7.         <group>
  8.             <name>Custom Templates</name>
  9.         </group>
  10.     </groups>
  11.     <templates>
  12.         <template>
  13.             <template>Template LLD - Windows Services</template>
  14.             <name>Template LLD - Windows Services</name>
  15.             <groups>
  16.                 <group>
  17.                     <name>Custom Templates</name>
  18.                 </group>
  19.             </groups>
  20.             <applications>
  21.                 <application>
  22.                     <name>win_service</name>
  23.                 </application>
  24.             </applications>
  25.             <items/>
  26.             <discovery_rules>
  27.                 <discovery_rule>
  28.                     <name>Windows Service LLD</name>
  29.                     <type>0</type>
  30.                     <snmp_community/>
  31.                     <snmp_oid/>
  32.                     <key>windows.service</key>
  33.                     <delay>3600</delay>
  34.                     <status>0</status>
  35.                     <allowed_hosts/>
  36.                     <snmpv3_securityname/>
  37.                     <snmpv3_securitylevel>0</snmpv3_securitylevel>
  38.                     <snmpv3_authpassphrase/>
  39.                     <snmpv3_privpassphrase/>
  40.                     <delay_flex/>
  41.                     <params/>
  42.                     <ipmi_sensor/>
  43.                     <authtype>0</authtype>
  44.                     <username/>
  45.                     <password/>
  46.                     <publickey/>
  47.                     <privatekey/>
  48.                     <port/>
  49.                     <filter>{#SCDISCOVERYFILTER}:@Services discovery - exclusions</filter>
  50.                     <lifetime>30</lifetime>
  51.                     <description/>
  52.                     <item_prototypes>
  53.                         <item_prototype>
  54.                             <name>Service: {#SCCAPTION} ({#SCNAME})</name>
  55.                             <type>0</type>
  56.                             <snmp_community/>
  57.                             <multiplier>0</multiplier>
  58.                             <snmp_oid/>
  59.                             <key>service_state[{#SCNAME}]</key>
  60.                             <delay>60</delay>
  61.                             <history>90</history>
  62.                             <trends>365</trends>
  63.                             <status>0</status>
  64.                             <value_type>3</value_type>
  65.                             <allowed_hosts/>
  66.                             <units/>
  67.                             <delta>0</delta>
  68.                             <snmpv3_securityname/>
  69.                             <snmpv3_securitylevel>0</snmpv3_securitylevel>
  70.                             <snmpv3_authpassphrase/>
  71.                             <snmpv3_privpassphrase/>
  72.                             <formula>1</formula>
  73.                             <delay_flex/>
  74.                             <params/>
  75.                             <ipmi_sensor/>
  76.                             <data_type>0</data_type>
  77.                             <authtype>0</authtype>
  78.                             <username/>
  79.                             <password/>
  80.                             <publickey/>
  81.                             <privatekey/>
  82.                             <port/>
  83.                             <description/>
  84.                             <inventory_link>0</inventory_link>
  85.                             <applications>
  86.                                 <application>
  87.                                     <name>win_service</name>
  88.                                 </application>
  89.                             </applications>
  90.                             <valuemap>
  91.                                 <name>Windows service state</name>
  92.                             </valuemap>
  93.                         </item_prototype>
  94.                     </item_prototypes>
  95.                     <trigger_prototypes>
  96.                         <trigger_prototype>
  97.                             <expression>{Template LLD - Windows Services:service_state[{#SCNAME}].last(0)}=1 | {Template LLD - Windows Services:service_state[{#SCNAME}].last(0)}=6</expression>
  98.                             <name>Service is DOWN: &quot;[{#SCNAME}] {#SCCAPTION}&quot;</name>
  99.                             <url/>
  100.                             <status>0</status>
  101.                             <priority>4</priority>
  102.                             <description/>
  103.                             <type>0</type>
  104.                         </trigger_prototype>
  105.                     </trigger_prototypes>
  106.                     <graph_prototypes/>
  107.                 </discovery_rule>
  108.             </discovery_rules>
  109.             <macros/>
  110.             <templates/>
  111.             <screens/>
  112.         </template>
  113.     </templates>
  114. </zabbix_export>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement