-
Hello,
I have written a bash plugin which checks the status of the systemd services.
When I run on the local linux server as root, it works fine, when with nrpe user it also works.
But if I run it from the monitoring server itself via check_nrpe it gives me back that everything is OK.
Local run output via root: Critical: Failed/Stopped services: dbus-org.freedesktop.timedate1.service=inactive
Local run output via nrpe: Critical: Failed/Stopped services: dbus-org.freedesktop.timedate1.service=inactive
Run from monitoring server: /omd/sites/prodsite/lib/monitoring-plugins/check_nrpe -H host -t 120 -u -p 5666 -c check_systemd_procs
OK: All necessary services are running properly.
Do oyou have any idea what can be wrong?
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment
-
i moved this to discussions doesn't seem to be an OMD issue.
Beta Was this translation helpful? Give feedback.