From 96e702c3a7d7e2a739068792b83b30dbaf73b18d Mon Sep 17 00:00:00 2001 From: Patrik Holmqvist Date: Thu, 17 Oct 2024 15:13:00 +0200 Subject: [PATCH] Try another method for sunet::nagios:nrpe --- global/overlay/etc/puppet/cosmos-rules.yaml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/global/overlay/etc/puppet/cosmos-rules.yaml b/global/overlay/etc/puppet/cosmos-rules.yaml index 9ae29eb..557e54f 100644 --- a/global/overlay/etc/puppet/cosmos-rules.yaml +++ b/global/overlay/etc/puppet/cosmos-rules.yaml @@ -1,7 +1,20 @@ # Note that the matching is done with re.match() .*\.sunet\.se$: net: - net::nrpe: + sunet::nagios::nrpe: + checks: + - nrpe_check_apt + - nrpe_check_dynamic_disk + - nrpe_check_entropy + - nrpe_check_load + - nrpe_check_memory + - nrpe_check_ntp_time + - nrpe_check_reboot + - nrpe_check_scriptherder + - nrpe_check_total_procs_lax + - nrpe_check_uptime + - nrpe_check_users + - nrpe_check_zombie_procs sunet::server: disable_all_local_users: true disable_ipv6_privacy: true