On systemd hosts, check if the system is fully up and running
authorPaul Wise <pabs@debian.org>
Mon, 15 Dec 2014 21:47:25 +0000 (05:47 +0800)
committerPaul Wise <pabs@debian.org>
Mon, 15 Dec 2014 21:47:25 +0000 (05:47 +0800)
config/nagios-master.cfg

index 6d77e5f..572565c 100644 (file)
@@ -2625,6 +2625,11 @@ services:
     hostgroups: openstack-controller
   # }}}
   # {{{ misc
+  -
+    name: system - all services running
+    nrpe: "/bin/systemctl is-system-running"
+    hostgroups: jessie
+  ###
   -
     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'"