Search found 5 matches

by glacius258
Sun Jul 04, 2021 8:57 am
Forum: Open Source Nagios Projects
Topic: failed. errno is 1: Operation not permitted
Replies: 5
Views: 2542

Re: failed. errno is 1: Operation not permitted

--UPDATE-- Made changes to Commands.cfg and visudo Add a line at the end of VISUDO --VISUDO-- ## Allow nagios user to run needed commands nagios ALL= NOPASSWD:/usr/local/nagios/libexec/* Just added sudo in front of the commands --COMMANDS-- define command { command_name check_local_disk command_line...
by glacius258
Sun Jul 04, 2021 8:10 am
Forum: Open Source Nagios Projects
Topic: failed. errno is 1: Operation not permitted
Replies: 5
Views: 2542

Re: failed. errno is 1: Operation not permitted

--UPDATE-- Continued on my same thought and modified the Commands.cfg and visudo Added "sudo -u nagios -g nagios sudo" in front of all the commands --COMMANDS.CFG-- define command { command_name check-host-alive command_line sudo -u nagios -g nagios sudo $USER1$/check_ping sudo -H $HOSTADD...
by glacius258
Sat Jul 03, 2021 8:34 am
Forum: Open Source Nagios Projects
Topic: failed. errno is 1: Operation not permitted
Replies: 5
Views: 2542

Re: failed. errno is 1: Operation not permitted

--UPDATE-- Stumbled across this: [alincoln@nagios ~]$ sudo -u nagios -g nagios sudo /usr/local/nagios/libexec/check_ping -H 127.0.0.1 -w 10,2% -c 20,5% PING OK - Packet loss = 0%, RTA = 0.09 ms|rta=0.094000ms;10.000000;20.000000;0.000000 pl=0%;2;5;0 So I thought if I add the same Sudo command to the...
by glacius258
Thu Jul 01, 2021 8:15 pm
Forum: Open Source Nagios Projects
Topic: failed. errno is 1: Operation not permitted
Replies: 5
Views: 2542

Re: failed. errno is 1: Operation not permitted

Thank you for working with me on this, however, is a no go! drwxr-xr-x. 2 nagios nagios 4096 Jun 30 14:36 libexec -rwxr-xr-x 1 nagios nagios 229032 Jun 30 14:36 check_ping -rwxr-xr-x 1 nagios nagios 162552 Jun 30 14:36 check_cluster -rwxr-xr-x 1 nagios nagios 218680 Jun 30 14:36 check_dhcp -rwxr-xr-...
by glacius258
Wed Jun 30, 2021 9:07 pm
Forum: Open Source Nagios Projects
Topic: failed. errno is 1: Operation not permitted
Replies: 5
Views: 2542

failed. errno is 1: Operation not permitted

Fresh Install Red Hat Enterprise Linux release 8.4 (Ootpa) Nagios Core 4.4.6 Plugins 2.3.3 NIST 800-171 CUI security profile Followed: https://support.nagios.com/kb/article/nagios-core-installing-nagios-core-from-source-96.html#RHEL All works well (with some tweaks because of security profile), exce...