slave.conf.j2 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366
  1. {% if ansible_prolog -%}
  2. {% from 'templates/ansible/prolog.j2' import prolog with context %}
  3. {{ prolog() }}
  4. {% endif -%}
  5. #
  6. # Mon config file
  7. #
  8. #
  9. # Global options
  10. #
  11. alertdir = /usr/lib/mon/alert.d
  12. mondir = /usr/lib/mon/mon.d
  13. logdir = /var/log/mon
  14. historicfile = /var/log/mon/history.log
  15. maxprocs = 20
  16. histlength = 100
  17. randstart = 60s
  18. dtlogging = yes
  19. dtlogfile = dtlog
  20. #
  21. # Define groups of hosts to monitor
  22. #
  23. ########
  24. # PING #
  25. ########
  26. hostgroup pingd
  27. #
  28. # openics network
  29. #
  30. asuka.asyd.net gendo.asyd.net hosting.asyd.net
  31. dev.openics.org test.openics.org
  32. thor.openics.org
  33. kwak.netleaks.nl
  34. #
  35. # abul network
  36. #
  37. hiero.abul.org
  38. instabul.abul.org
  39. madness.abul.org
  40. mehyt.abul.org
  41. osiris.abul.org
  42. pra.abul.org
  43. rabalot.abul.org
  44. aquiforge.abul.org
  45. skara.abul.org
  46. #kbsd.abul.org
  47. #
  48. # rmll network
  49. #
  50. rmll0.rmll.info
  51. rmll1.rmll.info
  52. rmll2.rmll.info
  53. rmll3.rmll.info
  54. rmll4.rmll.info
  55. #
  56. # Rotex network
  57. #
  58. singa.rotary1690.org
  59. #
  60. # SOo network
  61. #
  62. listes.sud-ouest.org
  63. #######
  64. # SSH #
  65. #######
  66. hostgroup sshd
  67. #
  68. # openics network
  69. #
  70. #asuka.asyd.net
  71. gendo.asyd.net hosting.asyd.net
  72. dev.openics.org test.openics.org
  73. thor.openics.org
  74. kwak.netleaks.nl
  75. #
  76. # abul network
  77. #
  78. hiero.abul.org
  79. instabul.abul.org
  80. madness.abul.org
  81. mehyt.abul.org
  82. osiris.abul.org
  83. pra.abul.org
  84. rabalot.abul.org
  85. aquiforge.abul.org
  86. skara.abul.org
  87. #kbsd.abul.org
  88. #
  89. # rmll network
  90. #
  91. rmll0.rmll.info
  92. rmll1.rmll.info
  93. rmll2.rmll.info
  94. rmll3.rmll.info
  95. rmll4.rmll.info
  96. #
  97. # Rotex network
  98. #
  99. singa.rotary1690.org
  100. #########
  101. # HTTPS #
  102. #########
  103. hostgroup httpsd
  104. #
  105. # openics network
  106. #
  107. openics.org
  108. homogeno.us
  109. #
  110. # rmll network
  111. #
  112. reservation.rmll.info
  113. admin.rmll.info
  114. pad.rmll.info
  115. #
  116. # Rotary/Rotex network
  117. #
  118. www.rotex1690.org
  119. reservations.rotary1690.org
  120. ########
  121. # HTTP #
  122. ########
  123. hostgroup httpd
  124. #
  125. # openics network
  126. #
  127. kolter.blog.openics.org
  128. gallery.openics.org
  129. git.openics.org
  130. ge.openics.org
  131. geraldine.openics.org
  132. marks.openics.org
  133. #
  134. # abul network
  135. #
  136. abul.org
  137. ftp.abul.org
  138. ftp.abuledu.org
  139. aquiforge.abul.org
  140. gilantoli.com
  141. #
  142. # rmll network
  143. #
  144. rmll.info
  145. call.rmll.info
  146. listes.rmll.info
  147. #
  148. # SOo network
  149. #
  150. listes.sud-ouest.org
  151. #
  152. # Rotary/Rotex network
  153. #
  154. www.rotex1690.org
  155. listes.rotary1690.org
  156. listes.rotex1690.org
  157. ########
  158. # SMTP #
  159. ########
  160. hostgroup smtpd
  161. #
  162. # openics network
  163. #
  164. gendo.asyd.net
  165. kwak.netleaks.nl
  166. #
  167. # abul network
  168. #
  169. hiero.abul.org
  170. osiris.abul.org
  171. #
  172. # rmll network
  173. #
  174. rmll1.rmll.info
  175. rmll3.rmll.info
  176. #
  177. # SOo network
  178. #
  179. listes.sud-ouest.org
  180. #
  181. # Rotary/Rotex network
  182. #
  183. singa.rotary1690.org
  184. #########
  185. # IMAPS #
  186. #########
  187. hostgroup imapsd
  188. #
  189. # openics network
  190. #
  191. gendo.asyd.net
  192. #######
  193. # DNS #
  194. #######
  195. hostgroup dnsd_openics
  196. #
  197. # openics network
  198. #
  199. 88.191.237.102
  200. 188.241.113.39
  201. hostgroup dnsd_abul
  202. #
  203. # abul network
  204. #
  205. 195.214.228.104
  206. 147.210.68.129
  207. hostgroup dnsd_rmll
  208. #
  209. # rmll network
  210. #
  211. 80.67.169.65
  212. #173.230.154.187
  213. #
  214. # Define watches
  215. #
  216. watch pingd
  217. service ping
  218. description Responses to ping
  219. interval 5m
  220. monitor fping.monitor
  221. period
  222. numalerts 50
  223. alertevery 10m
  224. alert mail.alert root
  225. alert irc.alert -j -c openics -S chat.freenode.net -U OpenicsBot -n openicsbot -d
  226. upalert mail.alert root
  227. watch httpsd
  228. service https
  229. description HTTP service
  230. interval 5m
  231. monitor https.monitor
  232. period
  233. numalerts 50
  234. alertevery 10m
  235. alert mail.alert root
  236. alert irc.alert -j -c openics -S chat.freenode.net -U OpenicsBot -n openicsbot -d
  237. upalert mail.alert root
  238. watch httpd
  239. service http
  240. description HTTP service
  241. interval 5m
  242. monitor http.monitor
  243. period
  244. numalerts 50
  245. alertevery 10m
  246. alert mail.alert root
  247. alert irc.alert -j -c openics -S chat.freenode.net -U OpenicsBot -n openicsbot -d
  248. upalert mail.alert root
  249. watch smtpd
  250. service smtp
  251. description SMTP service
  252. interval 5m
  253. monitor smtp.monitor -t 60
  254. period
  255. numalerts 50
  256. alertevery 10m
  257. alert mail.alert root
  258. alert irc.alert -j -c openics -S chat.freenode.net -U OpenicsBot -n openicsbot -d
  259. upalert mail.alert root
  260. watch imapsd
  261. service imaps
  262. description IMAP service
  263. interval 5m
  264. monitor tcp.monitor -t 60 -p 143
  265. period
  266. numalerts 50
  267. alertevery 10m
  268. alert mail.alert root
  269. alert irc.alert -j -c openics -S chat.freenode.net -U OpenicsBot -n openicsbot -d
  270. upalert mail.alert root
  271. watch sshd
  272. service ssh
  273. description SSH service
  274. interval 5m
  275. monitor tcp.monitor -t 60 -p 2222
  276. period
  277. numalerts 50
  278. alertevery 10m
  279. alert mail.alert root
  280. alert irc.alert -j -c openics -S chat.freenode.net -U OpenicsBot -n openicsbot -d
  281. upalert mail.alert root
  282. watch dnsd_openics
  283. service dns
  284. description DNS service - openics
  285. interval 5m
  286. monitor dns.monitor -zone openics.org -zone bouthenot.name -zone homogeno.us -master 88.191.237.102
  287. period
  288. numalerts 50
  289. alertevery 10m
  290. alert mail.alert root
  291. alert irc.alert -j -c openics -S chat.freenode.net -U OpenicsBot -n openicsbot -d
  292. upalert mail.alert root
  293. watch dnsd_abul
  294. service dns
  295. description DNS service - abul
  296. interval 5m
  297. monitor dns.monitor -zone abul.org -zone libresoftwaremeeting.org -zone rencontresmondiales.org -master 195.214.228.104
  298. period
  299. numalerts 50
  300. alertevery 10m
  301. alert mail.alert root
  302. alert irc.alert -j -c openics -S chat.freenode.net -U OpenicsBot -n openicsbot -d
  303. upalert mail.alert root
  304. watch dnsd_rmll
  305. service dns
  306. description DNS service
  307. interval 5m
  308. monitor dns.monitor -zone rmll.info -master 80.67.169.65
  309. period
  310. numalerts 50
  311. alertevery 10m
  312. alert mail.alert root
  313. alert irc.alert -j -c openics -S chat.freenode.net -U OpenicsBot -n openicsbot -d
  314. upalert mail.alert root
  315. # service pop3
  316. # description POP3 service
  317. # interval 10m
  318. # monitor pop3.monitor
  319. # period
  320. # numalerts 10
  321. # alert mail.alert root
  322. # upalert mail.alert root
  323. # service imap
  324. # description IMAP service
  325. # interval 10m
  326. # monitor imap.monitor -t 60
  327. # period
  328. # numalerts 10
  329. # alert mail.alert root
  330. # upalert mail.alert root
  331. # service telnet
  332. # description TELNET service
  333. # interval 10m
  334. # monitor telnet.monitor
  335. # period wd {Mon-Fri} hr {7am-10pm}
  336. # alertevery 1h
  337. # alertafter 2 30m
  338. # alert mail.alert root