You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

173 lines
6.9 KiB

2 years ago
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <zabbix_export>
  3. <version>2.0</version>
  4. <date>2015-03-18T10:51:33Z</date>
  5. <groups>
  6. <group>
  7. <name>Templates</name>
  8. </group>
  9. </groups>
  10. <templates>
  11. <template>
  12. <template>Inet-Template-Keepalived</template>
  13. <name>Inet-Template-Keepalived</name>
  14. <groups>
  15. <group>
  16. <name>Templates</name>
  17. </group>
  18. </groups>
  19. <applications>
  20. <application>
  21. <name>Keepalived</name>
  22. </application>
  23. </applications>
  24. <items>
  25. <item>
  26. <name>Keepalived: process count</name>
  27. <type>0</type>
  28. <snmp_community/>
  29. <multiplier>0</multiplier>
  30. <snmp_oid/>
  31. <key>proc.num[keepalived]</key>
  32. <delay>60</delay>
  33. <history>1</history>
  34. <trends>365</trends>
  35. <status>0</status>
  36. <value_type>3</value_type>
  37. <allowed_hosts/>
  38. <units/>
  39. <delta>0</delta>
  40. <snmpv3_contextname/>
  41. <snmpv3_securityname/>
  42. <snmpv3_securitylevel>0</snmpv3_securitylevel>
  43. <snmpv3_authprotocol>0</snmpv3_authprotocol>
  44. <snmpv3_authpassphrase/>
  45. <snmpv3_privprotocol>0</snmpv3_privprotocol>
  46. <snmpv3_privpassphrase/>
  47. <formula>1</formula>
  48. <delay_flex/>
  49. <params/>
  50. <ipmi_sensor/>
  51. <data_type>0</data_type>
  52. <authtype>0</authtype>
  53. <username/>
  54. <password/>
  55. <publickey/>
  56. <privatekey/>
  57. <port/>
  58. <description/>
  59. <inventory_link>0</inventory_link>
  60. <applications>
  61. <application>
  62. <name>Keepalived</name>
  63. </application>
  64. </applications>
  65. <valuemap/>
  66. </item>
  67. </items>
  68. <discovery_rules>
  69. <discovery_rule>
  70. <name>Keepalived: virtual address discovery</name>
  71. <type>0</type>
  72. <snmp_community/>
  73. <snmp_oid/>
  74. <key>keepalived.addr.discovery[/etc/keepalived/keepalived.conf]</key>
  75. <delay>3600</delay>
  76. <status>0</status>
  77. <allowed_hosts/>
  78. <snmpv3_contextname/>
  79. <snmpv3_securityname/>
  80. <snmpv3_securitylevel>0</snmpv3_securitylevel>
  81. <snmpv3_authprotocol>0</snmpv3_authprotocol>
  82. <snmpv3_authpassphrase/>
  83. <snmpv3_privprotocol>0</snmpv3_privprotocol>
  84. <snmpv3_privpassphrase/>
  85. <delay_flex/>
  86. <params/>
  87. <ipmi_sensor/>
  88. <authtype>0</authtype>
  89. <username/>
  90. <password/>
  91. <publickey/>
  92. <privatekey/>
  93. <port/>
  94. <filter>{#KADDR}:</filter>
  95. <lifetime>1</lifetime>
  96. <description/>
  97. <item_prototypes>
  98. <item_prototype>
  99. <name>Keepalived: virtual address $1 status</name>
  100. <type>0</type>
  101. <snmp_community/>
  102. <multiplier>0</multiplier>
  103. <snmp_oid/>
  104. <key>keepalived.addr.availability[{#KADDR}]</key>
  105. <delay>30</delay>
  106. <history>7</history>
  107. <trends>365</trends>
  108. <status>0</status>
  109. <value_type>3</value_type>
  110. <allowed_hosts/>
  111. <units/>
  112. <delta>0</delta>
  113. <snmpv3_contextname/>
  114. <snmpv3_securityname/>
  115. <snmpv3_securitylevel>0</snmpv3_securitylevel>
  116. <snmpv3_authprotocol>0</snmpv3_authprotocol>
  117. <snmpv3_authpassphrase/>
  118. <snmpv3_privprotocol>0</snmpv3_privprotocol>
  119. <snmpv3_privpassphrase/>
  120. <formula>1</formula>
  121. <delay_flex/>
  122. <params/>
  123. <ipmi_sensor/>
  124. <data_type>0</data_type>
  125. <authtype>0</authtype>
  126. <username/>
  127. <password/>
  128. <publickey/>
  129. <privatekey/>
  130. <port/>
  131. <description/>
  132. <inventory_link>0</inventory_link>
  133. <applications>
  134. <application>
  135. <name>Keepalived</name>
  136. </application>
  137. </applications>
  138. <valuemap/>
  139. </item_prototype>
  140. </item_prototypes>
  141. <trigger_prototypes>
  142. <trigger_prototype>
  143. <expression>{Inet-Template-Keepalived:keepalived.addr.availability[{#KADDR}].delta(600)}#0</expression>
  144. <name>Primary node changes</name>
  145. <url/>
  146. <status>0</status>
  147. <priority>4</priority>
  148. <description/>
  149. <type>0</type>
  150. </trigger_prototype>
  151. </trigger_prototypes>
  152. <graph_prototypes/>
  153. <host_prototypes/>
  154. </discovery_rule>
  155. </discovery_rules>
  156. <macros/>
  157. <templates/>
  158. <screens/>
  159. </template>
  160. </templates>
  161. <triggers>
  162. <trigger>
  163. <expression>{Inet-Template-Keepalived:proc.num[keepalived].last()}=0</expression>
  164. <name>Keepalived down (proc count=0)</name>
  165. <url/>
  166. <status>0</status>
  167. <priority>4</priority>
  168. <description/>
  169. <type>0</type>
  170. <dependencies/>
  171. </trigger>
  172. </triggers>
  173. </zabbix_export>

Powered by TurnKey Linux.