From: Paul Wise Date: Mon, 15 Dec 2014 21:47:25 +0000 (+0800) Subject: On systemd hosts, check if the system is fully up and running X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=533687f2b8a2bf583140270d28fd5d4122803995;p=mirror%2Fdsa-nagios.git On systemd hosts, check if the system is fully up and running --- diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 6d77e5f..572565c 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -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'"