From 43a452c7aa9a46142d9304a182339d460bb18ff9 Mon Sep 17 00:00:00 2001 From: Paul Wise Date: Tue, 16 Dec 2014 06:47:47 +0800 Subject: [PATCH] nagios needs to be able to run systemctl as root otherwise dbus is needed --- config/nagios-master.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/nagios-master.cfg b/config/nagios-master.cfg index 572565c..dc320fd 100644 --- a/config/nagios-master.cfg +++ b/config/nagios-master.cfg @@ -2627,7 +2627,7 @@ services: # {{{ misc - name: system - all services running - nrpe: "/bin/systemctl is-system-running" + nrpe: "/usr/bin/sudo /bin/systemctl is-system-running" hostgroups: jessie ### - -- 2.20.1