bundles/rspamd: add monitoring
bundlewrap/pipeline/head This commit looks good Details

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
1 changed files with 18 additions and 0 deletions

View File

@ -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',