diff --git a/bundles/postgresql/metadata.py b/bundles/postgresql/metadata.py index 3c76999..df70fab 100644 --- a/bundles/postgresql/metadata.py +++ b/bundles/postgresql/metadata.py @@ -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'):