check for rngd processes on kvm guests
authorAurelien Jarno <aurelien@aurel32.net>
Sun, 24 Apr 2016 12:15:53 +0000 (14:15 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Sun, 24 Apr 2016 12:15:53 +0000 (14:15 +0200)
kvm guests are now configured with a virtio-rng device, check that rngd
is running.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
config/nagios-master.cfg

index f2e6558..f587d46 100644 (file)
@@ -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
   -