From 125dcf62cb1e8210244d204a21e857793fe1544c Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 13 May 2015 12:21:31 +0200 Subject: [PATCH] jessie freebsd fixes --- config/nagios-master.cfg | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 847d0c9..f5defe9 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -533,7 +533,7 @@ servers: falla: address: 128.31.0.65 parents: ganeti-csail - hostgroups: computers, freebsd, hassrvfs, porterbox, jessie + hostgroups: computers, freebsd, hassrvfs, porterbox, jessie, jessie-freebsd fischer: address: 128.31.0.35 parents: ganeti-csail @@ -1194,6 +1194,8 @@ hostgroups: alias: Hosts running wheezy jessie: alias: Hosts running jessie + jessie-freebsd: + alias: kFreebsd hosts running jessie kvmdomains: alias: Hosts that are KVM domains @@ -1566,11 +1568,16 @@ services: hostgroups: computers excludehosts: zelenka, zandonai excludehostgroups: jessie + - + name: process - getty + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C agetty -a /sbin/getty" + hostgroups: jessie-freebsd - name: process - getty nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:8 -c 1: -u root -C agetty -a /sbin/agetty" - hostgroups: computers hostgroups: jessie + excludehostgroups: freebsd + - name: processes - zombies nrpe: "/usr/lib/nagios/plugins/check_procs 5 10 -s Z" @@ -1719,7 +1726,6 @@ services: nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslog-ng -a '/sbin/syslog-ng -p /var/run/syslog-ng.pid'" hostgroups: computers excludehostgroups: freebsd, jessie - - name: process - syslog-ng nrpe: "/usr/lib/nagios/plugins/check_procs -w 2:2 -c 2: -u root -C syslog-ng -a '/sbin/syslog-ng -p /var/run/syslog-ng.pid'" @@ -1728,6 +1734,7 @@ services: name: process - syslog-ng nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C syslog-ng -a '/sbin/syslog-ng -F'" hostgroups: jessie + excludehostgroups: freebsd - name: remote logging on lotti @@ -1876,6 +1883,7 @@ services: name: process - udevd nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -p 1 -C systemd-udevd -a '/lib/systemd/systemd-udevd'" hostgroups: jessie + excludehostgroups: freebsd - name: unexpected process - udev nrpe: "/usr/lib/nagios/plugins/check_procs -w 0:0 -C udevd" -- 2.20.1