Add monitoring of new hosts
authorAlex Dehnert <alex@dehnerts.com>
Mon, 9 Oct 2023 04:33:30 +0000 (04:33 +0000)
committerAlex Dehnert <alex@dehnerts.com>
Mon, 9 Oct 2023 04:33:50 +0000 (04:33 +0000)
Monitoring of augsburg is very basic, but chankillo is more reasonable (and
heavily based off olinda)

local.d/augsburg.cfg [new file with mode: 0644]
local.d/chankillo.cfg [new file with mode: 0644]

diff --git a/local.d/augsburg.cfg b/local.d/augsburg.cfg
new file mode 100644 (file)
index 0000000..2b6f231
--- /dev/null
@@ -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 (file)
index 0000000..95a8fa1
--- /dev/null
@@ -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
+}