slave.conf.j2 6.7 KB

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