Всё что связанно с 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.

67 lines
2.9 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <zabbix_export>
  3. <version>5.0</version>
  4. <date>2021-04-05T12:40:38Z</date>
  5. <groups>
  6. <group>
  7. <name>Elastic cluster</name>
  8. </group>
  9. </groups>
  10. <templates>
  11. <template>
  12. <template>Template Elasticsearch Indices Monitoring</template>
  13. <name>Template Elasticsearch Indices Monitoring</name>
  14. <description>Template for monitoring the elasticsearch index.</description>
  15. <groups>
  16. <group>
  17. <name>Elastic cluster</name>
  18. </group>
  19. </groups>
  20. <applications>
  21. <application>
  22. <name>ES indices</name>
  23. </application>
  24. </applications>
  25. <discovery_rules>
  26. <discovery_rule>
  27. <name>Index discovery</name>
  28. <type>TRAP</type>
  29. <key>indices</key>
  30. <delay>0</delay>
  31. <item_prototypes>
  32. <item_prototype>
  33. <name>{#INDEX} records count</name>
  34. <type>TRAP</type>
  35. <key>indices.records_count[{#INDEX}]</key>
  36. <delay>0</delay>
  37. <application_prototypes>
  38. <application_prototype>
  39. <name>ES index &quot;{#INDEX}&quot;</name>
  40. </application_prototype>
  41. </application_prototypes>
  42. <trigger_prototypes>
  43. <trigger_prototype>
  44. <expression>{last()}=0</expression>
  45. <name>{HOSTNAME}. Отсутствуют записи в индексе {#INDEX}</name>
  46. <priority>WARNING</priority>
  47. <manual_close>YES</manual_close>
  48. </trigger_prototype>
  49. </trigger_prototypes>
  50. </item_prototype>
  51. <item_prototype>
  52. <name>{#INDEX} records count time range</name>
  53. <type>TRAP</type>
  54. <key>indices.records_count_time_range[{#INDEX}]</key>
  55. <delay>0</delay>
  56. <application_prototypes>
  57. <application_prototype>
  58. <name>ES index &quot;{#INDEX}&quot;</name>
  59. </application_prototype>
  60. </application_prototypes>
  61. </item_prototype>
  62. </item_prototypes>
  63. </discovery_rule>
  64. </discovery_rules>
  65. </template>
  66. </templates>
  67. </zabbix_export>