From: Alex Dehnert Date: Tue, 5 Mar 2024 07:23:46 +0000 (+0000) Subject: Add generic checks for Salt minions X-Git-Url: https://dehnerts.com/gitweb/?a=commitdiff_plain;h=cd1183bb2225c7e9e54b3fa8064f09e77f1c9c16;p=sysconfig%2Fnagios3.git Add generic checks for Salt minions --- diff --git a/local.d/adehnert-host.cfg b/local.d/adehnert-host.cfg index b691fba..75c0286 100644 --- a/local.d/adehnert-host.cfg +++ b/local.d/adehnert-host.cfg @@ -74,6 +74,42 @@ define service { check_command check_byssh_service!salt-minion } +define service { + use adehnert-service + hostgroup_name adehnert-minions + service_description DISK + check_command check_byssh_generic!check_disk + contact_groups adehnert-priv +} + +define service { + use adehnert-service + hostgroup_name adehnert-minions + service_description USERS + check_command check_byssh_generic!check_users +} + +define service { + use adehnert-service + hostgroup_name adehnert-minions + service_description LOAD + check_command check_byssh_generic!check_load +} + +define service { + use adehnert-service + hostgroup_name adehnert-minions + service_description ZOMBIE-PROCS + check_command check_byssh_generic!check_zombie_procs +} + +define service { + use adehnert-service + hostgroup_name adehnert-minions + service_description TOTAL-PROCS + check_command check_byssh_generic!check_total_procs +} + define service { use adehnert-rare-service hostgroup_name adehnert-minions