chankillo: Check postgresql chankillo
authorAlex Dehnert <alex@dehnerts.com>
Wed, 27 Nov 2024 02:34:16 +0000 (02:34 +0000)
committerAlex Dehnert <alex@dehnerts.com>
Wed, 27 Nov 2024 02:34:16 +0000 (02:34 +0000)
local.d/chankillo.cfg

index 4dcbbd01a2cad72ad02cd4db53556ca42e027bd2..4644c9b9ebd0b8a868d6078e3d9f3340cfef3175 100644 (file)
@@ -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
+}