bundles/rspamd: add monitoring
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
e6acda1f52
commit
a4ca98e79e
1 changed files with 18 additions and 0 deletions
|
@ -16,6 +16,24 @@ defaults = {
|
|||
'rspamd': {},
|
||||
},
|
||||
},
|
||||
'icinga2_api': {
|
||||
'rspamd': {
|
||||
'services': {
|
||||
'RSPAMD PROCESS': {
|
||||
'command_on_monitored_host': '/usr/lib/nagios/plugins/check_procs -C rspamd -c 1:',
|
||||
},
|
||||
'RSPAMD PROXY PORT': {
|
||||
'command_on_monitored_host': '/usr/lib/nagios/plugins/check_tcp -H localhost -p 11332',
|
||||
},
|
||||
'RSPAMD WORKER PORT': {
|
||||
'command_on_monitored_host': '/usr/lib/nagios/plugins/check_tcp -H localhost -p 11333',
|
||||
},
|
||||
'RSPAMD WEB INTERFACE': {
|
||||
'command_on_monitored_host': '/usr/local/share/icinga/plugins/check_http_url_for_string http://localhost:11334/ "Login to Rspamd"',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
'backups': {
|
||||
'paths': {
|
||||
'/var/lib/rspamd',
|
||||
|
|
Loading…
Reference in a new issue