From 9d0e4e6e35a7b4668314849a03a20a859f2fd66b Mon Sep 17 00:00:00 2001 From: Aurelien Jarno Date: Sun, 24 Apr 2016 14:15:53 +0200 Subject: [PATCH] check for rngd processes on kvm guests kvm guests are now configured with a virtio-rng device, check that rngd is running. Signed-off-by: Aurelien Jarno --- config/nagios-master.cfg | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index f2e6558..f587d46 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -1973,6 +1973,11 @@ services: hostgroups: computers excludehostgroups: freebsd, alioth excludehosts: czerny, grnet-node01, storace, ubc-bl2 + ### + - + name: process - rngd + nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C rngd -a '/usr/sbin/rngd -r /dev/hwrng'" + hostgroups: kvmdomains # }}} # {{{ anti-services - -- 2.20.1