Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

systemctl command can not run via check_nrpe #226

Unanswered
Tentoaloe asked this question in Q&A
Discussion options

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?

You must be logged in to vote

Replies: 1 comment

Comment options

i moved this to discussions doesn't seem to be an OMD issue.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #225 on September 02, 2025 13:28.

AltStyle によって変換されたページ (->オリジナル) /