Всё что связанно с zabbix и мониторингом различных сервисов
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.

182 lines
7.8 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <zabbix_export>
  3. <version>4.0</version>
  4. <date>2020-10-09T07:22:33Z</date>
  5. <groups>
  6. <group>
  7. <name>Templates</name>
  8. </group>
  9. </groups>
  10. <templates>
  11. <template>
  12. <template>Template_DNS_Check</template>
  13. <name>Template_DNS_Check</name>
  14. <description/>
  15. <groups>
  16. <group>
  17. <name>Templates</name>
  18. </group>
  19. </groups>
  20. <applications>
  21. <application>
  22. <name>Domain DNS Records</name>
  23. </application>
  24. </applications>
  25. <items/>
  26. <discovery_rules>
  27. <discovery_rule>
  28. <name>Domain Discovery</name>
  29. <type>2</type>
  30. <snmp_community/>
  31. <snmp_oid/>
  32. <key>domain</key>
  33. <delay>0</delay>
  34. <status>0</status>
  35. <allowed_hosts/>
  36. <snmpv3_contextname/>
  37. <snmpv3_securityname/>
  38. <snmpv3_securitylevel>0</snmpv3_securitylevel>
  39. <snmpv3_authprotocol>0</snmpv3_authprotocol>
  40. <snmpv3_authpassphrase/>
  41. <snmpv3_privprotocol>0</snmpv3_privprotocol>
  42. <snmpv3_privpassphrase/>
  43. <params/>
  44. <ipmi_sensor/>
  45. <authtype>0</authtype>
  46. <username/>
  47. <password/>
  48. <publickey/>
  49. <privatekey/>
  50. <port/>
  51. <filter>
  52. <evaltype>0</evaltype>
  53. <formula/>
  54. <conditions/>
  55. </filter>
  56. <lifetime>30d</lifetime>
  57. <description/>
  58. <item_prototypes>
  59. <item_prototype>
  60. <name>&quot;{#DOMAINDNSRECORD}&quot; record for &quot;{#DOMAIN}&quot;</name>
  61. <type>2</type>
  62. <snmp_community/>
  63. <snmp_oid/>
  64. <key>domain.status[{#DOMAIN}, {#DOMAINDNSRECORD}]</key>
  65. <delay>0</delay>
  66. <history>90d</history>
  67. <trends>0</trends>
  68. <status>0</status>
  69. <value_type>4</value_type>
  70. <allowed_hosts/>
  71. <units/>
  72. <snmpv3_contextname/>
  73. <snmpv3_securityname/>
  74. <snmpv3_securitylevel>0</snmpv3_securitylevel>
  75. <snmpv3_authprotocol>0</snmpv3_authprotocol>
  76. <snmpv3_authpassphrase/>
  77. <snmpv3_privprotocol>0</snmpv3_privprotocol>
  78. <snmpv3_privpassphrase/>
  79. <params/>
  80. <ipmi_sensor/>
  81. <authtype>0</authtype>
  82. <username/>
  83. <password/>
  84. <publickey/>
  85. <privatekey/>
  86. <port/>
  87. <description/>
  88. <inventory_link>0</inventory_link>
  89. <applications>
  90. <application>
  91. <name>Domain DNS Records</name>
  92. </application>
  93. </applications>
  94. <valuemap/>
  95. <logtimefmt/>
  96. <preprocessing/>
  97. <jmx_endpoint/>
  98. <timeout>3s</timeout>
  99. <url/>
  100. <query_fields/>
  101. <posts/>
  102. <status_codes>200</status_codes>
  103. <follow_redirects>1</follow_redirects>
  104. <post_type>0</post_type>
  105. <http_proxy/>
  106. <headers/>
  107. <retrieve_mode>0</retrieve_mode>
  108. <request_method>0</request_method>
  109. <output_format>0</output_format>
  110. <allow_traps>0</allow_traps>
  111. <ssl_cert_file/>
  112. <ssl_key_file/>
  113. <ssl_key_password/>
  114. <verify_peer>0</verify_peer>
  115. <verify_host>0</verify_host>
  116. <application_prototypes/>
  117. <master_item/>
  118. </item_prototype>
  119. </item_prototypes>
  120. <trigger_prototypes>
  121. <trigger_prototype>
  122. <expression>{Template_DNS_Check:domain.status[{#DOMAIN}, {#DOMAINDNSRECORD}].nodata(20m)}=1</expression>
  123. <recovery_mode>0</recovery_mode>
  124. <recovery_expression/>
  125. <name>{HOSTNAME}. Нет данных о проверке DNS зон</name>
  126. <correlation_mode>0</correlation_mode>
  127. <correlation_tag/>
  128. <url/>
  129. <status>0</status>
  130. <priority>3</priority>
  131. <description/>
  132. <type>0</type>
  133. <manual_close>0</manual_close>
  134. <dependencies/>
  135. <tags/>
  136. </trigger_prototype>
  137. <trigger_prototype>
  138. <expression>{Template_DNS_Check:domain.status[{#DOMAIN}, {#DOMAINDNSRECORD}].diff()}=1</expression>
  139. <recovery_mode>2</recovery_mode>
  140. <recovery_expression/>
  141. <name>Изменение {#DOMAINDNSRECORD}-записи для &quot;{#DOMAIN}</name>
  142. <correlation_mode>0</correlation_mode>
  143. <correlation_tag/>
  144. <url/>
  145. <status>0</status>
  146. <priority>2</priority>
  147. <description/>
  148. <type>0</type>
  149. <manual_close>1</manual_close>
  150. <dependencies/>
  151. <tags/>
  152. </trigger_prototype>
  153. </trigger_prototypes>
  154. <graph_prototypes/>
  155. <host_prototypes/>
  156. <jmx_endpoint/>
  157. <timeout>3s</timeout>
  158. <url/>
  159. <query_fields/>
  160. <posts/>
  161. <status_codes>200</status_codes>
  162. <follow_redirects>1</follow_redirects>
  163. <post_type>0</post_type>
  164. <http_proxy/>
  165. <headers/>
  166. <retrieve_mode>0</retrieve_mode>
  167. <request_method>0</request_method>
  168. <allow_traps>0</allow_traps>
  169. <ssl_cert_file/>
  170. <ssl_key_file/>
  171. <ssl_key_password/>
  172. <verify_peer>0</verify_peer>
  173. <verify_host>0</verify_host>
  174. </discovery_rule>
  175. </discovery_rules>
  176. <httptests/>
  177. <macros/>
  178. <templates/>
  179. <screens/>
  180. </template>
  181. </templates>
  182. </zabbix_export>