From bbda67544c7d01ed990b54c9b06bc83856cca62e Mon Sep 17 00:00:00 2001 From: Alex Dehnert Date: Sun, 26 Sep 2021 22:59:27 -0400 Subject: [PATCH] xidi: Add xidi (adehnert-pi4) monitoring --- local.d/adehnert-host.cfg | 3 ++- local.d/xidi.cfg | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 local.d/xidi.cfg diff --git a/local.d/adehnert-host.cfg b/local.d/adehnert-host.cfg index 00fed6f..47be1be 100644 --- a/local.d/adehnert-host.cfg +++ b/local.d/adehnert-host.cfg @@ -14,7 +14,7 @@ define hostgroup { define hostgroup { hostgroup_name adehnert-minions members bots,roost-api - members virunga,wieliczka + members virunga,wieliczka,xidi } define service { @@ -46,6 +46,7 @@ define service { define service { use adehnert-service hostgroup_name adehnert-hosts + host_name !xidi service_description PING check_command check_ping!500.0,30%!3000.0,80% } diff --git a/local.d/xidi.cfg b/local.d/xidi.cfg new file mode 100644 index 0000000..ff8fd72 --- /dev/null +++ b/local.d/xidi.cfg @@ -0,0 +1,7 @@ +define host{ + use adehnert-host ; Name of host template to use + host_name xidi + address duck-dacha.dehnerts.com + # Unpingable, so check using ssh instead + check_command check_ssh +} -- 2.34.1