template_app_zabbix_server.yml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408
  1. ---
  2. g_template_app_zabbix_server:
  3. name: Template App Zabbix Server
  4. zitems:
  5. - key: housekeeper_creates
  6. applications:
  7. - Zabbix server
  8. description: A simple count of the number of partition creates output by the housekeeper script.
  9. units: ''
  10. value_type: int
  11. zabbix_type: '2'
  12. - key: housekeeper_drops
  13. applications:
  14. - Zabbix server
  15. description: A simple count of the number of partition drops output by the housekeeper script.
  16. units: ''
  17. value_type: int
  18. zabbix_type: '2'
  19. - key: housekeeper_errors
  20. applications:
  21. - Zabbix server
  22. description: A simple count of the number of errors output by the housekeeper script.
  23. units: ''
  24. value_type: int
  25. zabbix_type: '2'
  26. - key: housekeeper_total
  27. applications:
  28. - Zabbix server
  29. description: A simple count of the total number of lines output by the housekeeper
  30. script.
  31. units: ''
  32. value_type: int
  33. zabbix_type: '2'
  34. - key: zabbix[process,alerter,avg,busy]
  35. applications:
  36. - Zabbix server
  37. description: ''
  38. units: '%'
  39. value_type: float
  40. zabbix_type: '5'
  41. - key: zabbix[process,configuration syncer,avg,busy]
  42. applications:
  43. - Zabbix server
  44. description: ''
  45. units: '%'
  46. value_type: float
  47. zabbix_type: '5'
  48. - key: zabbix[process,db watchdog,avg,busy]
  49. applications:
  50. - Zabbix server
  51. description: ''
  52. units: '%'
  53. value_type: float
  54. zabbix_type: '5'
  55. - key: zabbix[process,discoverer,avg,busy]
  56. applications:
  57. - Zabbix server
  58. description: ''
  59. units: '%'
  60. value_type: float
  61. zabbix_type: '5'
  62. - key: zabbix[process,escalator,avg,busy]
  63. applications:
  64. - Zabbix server
  65. description: ''
  66. units: '%'
  67. value_type: float
  68. zabbix_type: '5'
  69. - key: zabbix[process,history syncer,avg,busy]
  70. applications:
  71. - Zabbix server
  72. description: ''
  73. units: '%'
  74. value_type: float
  75. zabbix_type: '5'
  76. - key: zabbix[process,housekeeper,avg,busy]
  77. applications:
  78. - Zabbix server
  79. description: ''
  80. units: '%'
  81. value_type: float
  82. zabbix_type: '5'
  83. - key: zabbix[process,http poller,avg,busy]
  84. applications:
  85. - Zabbix server
  86. description: ''
  87. units: '%'
  88. value_type: float
  89. zabbix_type: '5'
  90. - key: zabbix[process,icmp pinger,avg,busy]
  91. applications:
  92. - Zabbix server
  93. description: ''
  94. units: '%'
  95. value_type: float
  96. zabbix_type: '5'
  97. - key: zabbix[process,ipmi poller,avg,busy]
  98. applications:
  99. - Zabbix server
  100. description: ''
  101. units: '%'
  102. value_type: float
  103. zabbix_type: '5'
  104. - key: zabbix[process,java poller,avg,busy]
  105. applications:
  106. - Zabbix server
  107. description: ''
  108. units: '%'
  109. value_type: float
  110. zabbix_type: '5'
  111. - key: zabbix[process,node watcher,avg,busy]
  112. applications:
  113. - Zabbix server
  114. description: ''
  115. units: '%'
  116. value_type: float
  117. zabbix_type: '5'
  118. - key: zabbix[process,poller,avg,busy]
  119. applications:
  120. - Zabbix server
  121. description: ''
  122. units: '%'
  123. value_type: float
  124. zabbix_type: '5'
  125. - key: zabbix[process,proxy poller,avg,busy]
  126. applications:
  127. - Zabbix server
  128. description: ''
  129. units: '%'
  130. value_type: float
  131. zabbix_type: '5'
  132. - key: zabbix[process,self-monitoring,avg,busy]
  133. applications:
  134. - Zabbix server
  135. description: ''
  136. units: '%'
  137. value_type: float
  138. zabbix_type: '5'
  139. - key: zabbix[process,snmp trapper,avg,busy]
  140. applications:
  141. - Zabbix server
  142. description: ''
  143. units: '%'
  144. value_type: float
  145. zabbix_type: '5'
  146. - key: zabbix[process,timer,avg,busy]
  147. applications:
  148. - Zabbix server
  149. description: ''
  150. units: '%'
  151. value_type: float
  152. zabbix_type: '5'
  153. - key: zabbix[process,trapper,avg,busy]
  154. applications:
  155. - Zabbix server
  156. description: ''
  157. units: '%'
  158. value_type: float
  159. zabbix_type: '5'
  160. - key: zabbix[process,unreachable poller,avg,busy]
  161. applications:
  162. - Zabbix server
  163. description: ''
  164. units: '%'
  165. value_type: float
  166. zabbix_type: '5'
  167. - key: zabbix[queue,10m]
  168. applications:
  169. - Zabbix server
  170. description: ''
  171. units: ''
  172. value_type: int
  173. zabbix_type: '5'
  174. - key: zabbix[queue]
  175. applications:
  176. - Zabbix server
  177. description: ''
  178. units: ''
  179. value_type: int
  180. zabbix_type: '5'
  181. - key: zabbix[rcache,buffer,pfree]
  182. applications:
  183. - Zabbix server
  184. description: ''
  185. units: ''
  186. value_type: float
  187. zabbix_type: '5'
  188. - key: zabbix[wcache,history,pfree]
  189. applications:
  190. - Zabbix server
  191. description: ''
  192. units: ''
  193. value_type: float
  194. zabbix_type: '5'
  195. - key: zabbix[wcache,text,pfree]
  196. applications:
  197. - Zabbix server
  198. description: ''
  199. units: ''
  200. value_type: float
  201. zabbix_type: '5'
  202. - key: zabbix[wcache,trend,pfree]
  203. applications:
  204. - Zabbix server
  205. description: ''
  206. units: ''
  207. value_type: float
  208. zabbix_type: '5'
  209. - key: zabbix[wcache,values]
  210. applications:
  211. - Zabbix server
  212. description: ''
  213. units: ''
  214. value_type: float
  215. zabbix_type: '5'
  216. ztriggers:
  217. - description: "There has been unexpected output while running the housekeeping script\
  218. \ on the Zabbix. There are only three kinds of lines we expect to see in the output,\
  219. \ and we've gotten something enw.\r\n\r\nCheck the script's output in /var/lib/zabbix/state\
  220. \ for more details."
  221. expression: '{Template App Zabbix Server:housekeeper_errors.last(0)}+{Template App Zabbix Server:housekeeper_creates.last(0)}+{Template App Zabbix Server:housekeeper_drops.last(0)}<>{Template App Zabbix Server:housekeeper_total.last(0)}'
  222. name: Unexpected output in Zabbix DB Housekeeping
  223. priority: avg
  224. url: https://github.com/openshift/ops-sop/blob/master/Alerts/Zabbix_DB_Housekeeping.asciidoc
  225. - description: An error has occurred during running the housekeeping script on the Zabbix. Check the script's output in /var/lib/zabbix/state for more details.
  226. expression: '{Template App Zabbix Server:housekeeper_errors.last(0)}>0'
  227. name: Errors during Zabbix DB Housekeeping
  228. priority: high
  229. url: https://github.com/openshift/ops-sop/blob/master/Alerts/Zabbix_state_check.asciidoc
  230. - description: ''
  231. expression: '{Template App Zabbix Server:zabbix[process,alerter,avg,busy].min(600)}>75'
  232. name: Zabbix alerter processes more than 75% busy
  233. priority: avg
  234. url: https://github.com/openshift/ops-sop/blob/master/Alerts/Zabbix_state_check.asciidoc
  235. - description: ''
  236. expression: '{Template App Zabbix Server:zabbix[process,configuration syncer,avg,busy].min(600)}>75'
  237. name: Zabbix configuration syncer processes more than 75% busy
  238. priority: avg
  239. url: https://github.com/openshift/ops-sop/blob/master/Alerts/Zabbix_state_check.asciidoc
  240. - description: ''
  241. expression: '{Template App Zabbix Server:zabbix[process,db watchdog,avg,busy].min(600)}>75'
  242. name: Zabbix db watchdog processes more than 75% busy
  243. priority: avg
  244. url: https://github.com/openshift/ops-sop/blob/master/Alerts/Zabbix_state_check.asciidoc
  245. - description: ''
  246. expression: '{Template App Zabbix Server:zabbix[process,discoverer,avg,busy].min(600)}>75'
  247. name: Zabbix discoverer processes more than 75% busy
  248. priority: avg
  249. url: https://github.com/openshift/ops-sop/blob/master/Alerts/Zabbix_state_check.asciidoc
  250. - description: ''
  251. expression: '{Template App Zabbix Server:zabbix[process,escalator,avg,busy].min(600)}>75'
  252. name: Zabbix escalator processes more than 75% busy
  253. priority: avg
  254. url: https://github.com/openshift/ops-sop/blob/master/Alerts/Zabbix_state_check.asciidoc
  255. - description: ''
  256. expression: '{Template App Zabbix Server:zabbix[process,history syncer,avg,busy].min(600)}>75'
  257. name: Zabbix history syncer processes more than 75% busy
  258. priority: avg
  259. url: https://github.com/openshift/ops-sop/blob/master/Alerts/Zabbix_state_check.asciidoc
  260. - description: ''
  261. expression: '{Template App Zabbix Server:zabbix[process,housekeeper,avg,busy].min(1800)}>75'
  262. name: Zabbix housekeeper processes more than 75% busy
  263. priority: avg
  264. url: https://github.com/openshift/ops-sop/blob/master/Alerts/Zabbix_state_check.asciidoc
  265. - description: ''
  266. expression: '{Template App Zabbix Server:zabbix[process,http poller,avg,busy].min(600)}>75'
  267. name: Zabbix http poller processes more than 75% busy
  268. priority: avg
  269. url: https://github.com/openshift/ops-sop/blob/master/Alerts/Zabbix_state_check.asciidoc
  270. - description: ''
  271. expression: '{Template App Zabbix Server:zabbix[process,icmp pinger,avg,busy].min(600)}>75'
  272. name: Zabbix icmp pinger processes more than 75% busy
  273. priority: avg
  274. url: https://github.com/openshift/ops-sop/blob/master/Alerts/Zabbix_state_check.asciidoc
  275. - description: ''
  276. expression: '{Template App Zabbix Server:zabbix[process,ipmi poller,avg,busy].min(600)}>75'
  277. name: Zabbix ipmi poller processes more than 75% busy
  278. priority: avg
  279. url: https://github.com/openshift/ops-sop/blob/master/Alerts/Zabbix_state_check.asciidoc
  280. - description: ''
  281. expression: '{Template App Zabbix Server:zabbix[process,java poller,avg,busy].min(600)}>75'
  282. name: Zabbix java poller processes more than 75% busy
  283. priority: avg
  284. url: https://github.com/openshift/ops-sop/blob/master/Alerts/Zabbix_state_check.asciidoc
  285. - description: ''
  286. expression: '{Template App Zabbix Server:zabbix[process,node watcher,avg,busy].min(600)}>75'
  287. name: Zabbix node watcher processes more than 75% busy
  288. priority: avg
  289. url: https://github.com/openshift/ops-sop/blob/master/Alerts/Zabbix_state_check.asciidoc
  290. - description: ''
  291. expression: '{Template App Zabbix Server:zabbix[process,poller,avg,busy].min(600)}>75'
  292. name: Zabbix poller processes more than 75% busy
  293. priority: high
  294. url: https://github.com/openshift/ops-sop/blob/master/Alerts/Zabbix_state_check.asciidoc
  295. - description: ''
  296. expression: '{Template App Zabbix Server:zabbix[process,proxy poller,avg,busy].min(600)}>75'
  297. name: Zabbix proxy poller processes more than 75% busy
  298. priority: avg
  299. url: https://github.com/openshift/ops-sop/blob/master/Alerts/Zabbix_state_check.asciidoc
  300. - description: ''
  301. expression: '{Template App Zabbix Server:zabbix[process,self-monitoring,avg,busy].min(600)}>75'
  302. name: Zabbix self-monitoring processes more than 75% busy
  303. priority: avg
  304. url: https://github.com/openshift/ops-sop/blob/master/Alerts/Zabbix_state_check.asciidoc
  305. - description: ''
  306. expression: '{Template App Zabbix Server:zabbix[process,snmp trapper,avg,busy].min(600)}>75'
  307. name: Zabbix snmp trapper processes more than 75% busy
  308. priority: avg
  309. url: https://github.com/openshift/ops-sop/blob/master/Alerts/Zabbix_state_check.asciidoc
  310. - description: Timer processes usually are busy because they have to process time
  311. based trigger functions
  312. expression: '{Template App Zabbix Server:zabbix[process,timer,avg,busy].min(600)}>75'
  313. name: Zabbix timer processes more than 75% busy
  314. priority: avg
  315. url: https://github.com/openshift/ops-sop/blob/master/Alerts/Zabbix_state_check.asciidoc
  316. - description: ''
  317. expression: '{Template App Zabbix Server:zabbix[process,trapper,avg,busy].min(600)}>75'
  318. name: Zabbix trapper processes more than 75% busy
  319. priority: avg
  320. url: https://github.com/openshift/ops-sop/blob/master/Alerts/Zabbix_state_check.asciidoc
  321. - description: ''
  322. expression: '{Template App Zabbix Server:zabbix[process,unreachable poller,avg,busy].min(600)}>75'
  323. name: Zabbix unreachable poller processes more than 75% busy
  324. priority: avg
  325. url: https://github.com/openshift/ops-sop/blob/master/Alerts/Zabbix_state_check.asciidoc
  326. - description: "This alert generally indicates a performance problem or a problem\
  327. \ with the zabbix-server or proxy.\r\n\r\nThe first place to check for issues\
  328. \ is Administration > Queue. Be sure to check the general view and the per-proxy\
  329. \ view."
  330. expression: '{Template App Zabbix Server:zabbix[queue,10m].min(600)}>1000'
  331. name: More than 1000 items having missing data for more than 10 minutes
  332. priority: high
  333. url: https://github.com/openshift/ops-sop/blob/master/Alerts/data_lost_overview_plugin.asciidoc
  334. - description: Consider increasing CacheSize in the zabbix_server.conf configuration
  335. file
  336. expression: '{Template App Zabbix Server:zabbix[rcache,buffer,pfree].min(600)}<5'
  337. name: Less than 5% free in the configuration cache
  338. priority: info
  339. url: https://github.com/openshift/ops-sop/blob/master/Alerts/check_cache.asciidoc
  340. - description: ''
  341. expression: '{Template App Zabbix Server:zabbix[wcache,history,pfree].min(600)}<25'
  342. name: Less than 25% free in the history cache
  343. priority: avg
  344. url: https://github.com/openshift/ops-sop/blob/master/Alerts/check_cache.asciidoc
  345. - description: ''
  346. expression: '{Template App Zabbix Server:zabbix[wcache,text,pfree].min(600)}<25'
  347. name: Less than 25% free in the text history cache
  348. priority: avg
  349. url: https://github.com/openshift/ops-sop/blob/master/Alerts/check_cache.asciidoc
  350. - description: ''
  351. expression: '{Template App Zabbix Server:zabbix[wcache,trend,pfree].min(600)}<25'
  352. name: Less than 25% free in the trends cache
  353. priority: avg
  354. url: https://github.com/openshift/ops-sop/blob/master/Alerts/check_cache.asciidoc