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

View File

@ -4,6 +4,15 @@ defaults = {
'/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'):