bundles/postgresql: add monitoring
This commit is contained in:
parent
2f7f35c85a
commit
2fdeeca9c3
1 changed files with 9 additions and 0 deletions
|
@ -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'):
|
||||||
|
|
Loading…
Reference in a new issue