nagios needs to be able to run systemctl as root otherwise dbus is needed
[mirror/dsa-nagios.git] / config / nagios-master.cfg
index 572565c..dc320fd 100644 (file)
@@ -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
   ###
   -