From: Alex Dehnert Date: Wed, 27 Nov 2024 02:34:16 +0000 (+0000) Subject: chankillo: Check postgresql X-Git-Url: https://dehnerts.com/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fchankillo;p=sysconfig%2Fnagios3.git chankillo: Check postgresql --- diff --git a/local.d/chankillo.cfg b/local.d/chankillo.cfg index 4dcbbd0..4644c9b 100644 --- a/local.d/chankillo.cfg +++ b/local.d/chankillo.cfg @@ -62,3 +62,11 @@ define service { check_command check_dns host_name chankillo } + +define service { + name chankillo-postgresql + use adehnert-service + service_description POSTGRESQL + check_command check_pgsql!-ouser=monitor hostaddr=192.168.122.103 sslmode=verify-full sslrootcert=/etc/ssl/certs/ca-certificates.crt sslcert=/etc/ssl/vault/cert/nagios-postgres.crt sslkey=/etc/ssl/vault/cert/nagios-postgres.key + host_name chankillo +}