From: Alex Dehnert Date: Mon, 9 Oct 2023 04:33:30 +0000 (+0000) Subject: Add monitoring of new hosts X-Git-Url: https://dehnerts.com/gitweb/?a=commitdiff_plain;h=79fb983e777399b9a3c3c009a4ed6220a4a12a19;p=sysconfig%2Fnagios3.git Add monitoring of new hosts Monitoring of augsburg is very basic, but chankillo is more reasonable (and heavily based off olinda) --- diff --git a/local.d/augsburg.cfg b/local.d/augsburg.cfg new file mode 100644 index 0000000..2b6f231 --- /dev/null +++ b/local.d/augsburg.cfg @@ -0,0 +1,5 @@ +define host{ + use adehnert-host ; Name of host template to use + host_name augsburg + address 18.18.208.21 +} diff --git a/local.d/chankillo.cfg b/local.d/chankillo.cfg new file mode 100644 index 0000000..95a8fa1 --- /dev/null +++ b/local.d/chankillo.cfg @@ -0,0 +1,55 @@ +define host{ + use adehnert-host ; Name of host template to use + host_name chankillo + address 18.18.208.22 +} + +# SMTP is redundant with SMTP-SSL, since they use the same port +#define service { +# name chankillo-smtp +# use adehnert-service +# service_description SMTP +# check_command check_smtp +# host_name chankillo +#} + +define service { + name chankillo-smtp-ssl + use adehnert-service + service_description SMTP + check_command check_smtp_ssl + host_name chankillo +} + +define service { + name chankillo-https + use adehnert-service + service_description HTTPS + check_command check_https_hostname + __check_cert_expiry_days 10 + host_name chankillo +} + +define service { + name chankillo-imaps + use adehnert-service + service_description IMAPS + check_command check_simap + host_name chankillo +} + +define service { + name chankillo-pops + use adehnert-service + service_description POP3S + check_command check_spop + host_name chankillo +} + +define service { + name chankillo-dns + use adehnert-service + service_description DNS + check_command check_dns + host_name chankillo +}