From 880136158329669e59bf7559ec78d5016b975dad Mon Sep 17 00:00:00 2001 From: Aurelien Jarno Date: Sun, 31 Mar 2019 22:15:28 +0200 Subject: [PATCH] Add a buster hostgroup For now assume that anything applying to stretch also applies to buster --- config/nagios-master.cfg | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index af2a92b..1f2c420 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -1158,6 +1158,8 @@ hostgroups: alias: Hosts running jessie stretch: alias: Hosts running stretch + buster: + alias: Hosts running buster kvmdomains: alias: Hosts that are KVM domains @@ -1776,13 +1778,13 @@ services: name: process - nrpe nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:25 -c 1: -u nagios -C nrpe -a '/usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -d'" hostgroups: computers - excludehostgroups: stretch + excludehostgroups: stretch buster max_check_attempts: -1 depends: network service - nrpe - name: process - nrpe nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:25 -c 1: -u nagios -C nrpe -a '/usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -f'" - hostgroups: stretch + hostgroups: stretch buster max_check_attempts: -1 depends: network service - nrpe ### @@ -1933,7 +1935,7 @@ services: - name: unwanted process - rpc.statd nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C rpc.statd" - hostgroups: stretch + hostgroups: stretch buster excludehosts: storace - name: unwanted process - inetd @@ -2455,7 +2457,7 @@ services: name: process - statd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u statd -C rpc.statd -a '/sbin/rpc.statd'" hostgroups: nfs-client, nfs-server - excludehostgroups: stretch + excludehostgroups: stretch buster - name: process - nfsd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:10 -c 1: -u root -C nfsd -a '[nfsd]'" -- 2.20.1