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
WARNING: my_system() seteuid(0): Operation not permitted
-
- 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
Can you run the following (or similar based on your nrpe.cfg path)
Is the group consistent with the group set in your nrpe.service systemd file?
Also, how did you install nrpe? RPM or source install?
Code: Select all
grep nrpe_group /usr/local/nagios/etc/nrpe.cfg
Also, how did you install nrpe? RPM or source install?