bundles/rspamd: add monitoring
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2020-11-21 18:55:45 +01:00
parent e6acda1f52
commit a4ca98e79e
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -16,6 +16,24 @@ defaults = {
'rspamd': {}, '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': { 'backups': {
'paths': { 'paths': {
'/var/lib/rspamd', '/var/lib/rspamd',