bundles/postgresql: add monitoring

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

View file

@ -4,6 +4,15 @@ defaults = {
'/var/lib/postgresql', '/var/lib/postgresql',
}, },
}, },
'icinga2_api': {
'poostgresql': {
'services': {
'POSTGRESQL PROCESS': {
'command_on_monitored_host': '/usr/lib/nagios/plugins/check_procs -C postgres -c 1:',
},
},
},
},
} }
if node.has_bundle('zfs'): if node.has_bundle('zfs'):