WARNING: my_system() seteuid(0): Operation not permitted

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
f8dax
Posts: 1
Joined: Thu Jul 04, 2019 4:47 am

WARNING: my_system() seteuid(0): Operation not permitted

Post by f8dax »

Hi from France,

I use nagios core 432 with nrpe nrpe-3.2.1 and it seems that the nagios plugin through nrpe is not working correctly.

I look at the log on the cento 7 host and get the message below.

sudo tail -f /usr/local/nagios/var/nrpe.log

[1562234294] Running command: /usr/lib64/nagios/plugins/check_uptime -u days -w 70 -c 90
[1562234294] WARNING: my_system() seteuid(0): Operation not permitted
[1562234294] Warning: Could not set effective GID=992
[1562234294] Warning: Unable to change supplementary groups using initgroups()
[1562234294] Warning: Could not set UID=994

Do you know how to fix the problem or what to do (my_system() seteuid(0): Operation not permitted) ?

Thank you in advance.

Christophe
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: WARNING: my_system() seteuid(0): Operation not permitted

Post by scottwilkerson »

Can you run the following (or similar based on your nrpe.cfg path)

Code: Select all

grep nrpe_group /usr/local/nagios/etc/nrpe.cfg
Is the group consistent with the group set in your nrpe.service systemd file?

Also, how did you install nrpe? RPM or source install?
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked