check_icmp: Failed to obtain ICMP socket: Operation not perm
check_icmp: Failed to obtain ICMP socket: Operation not perm
Can you guys please show me how to fix this?
Warning: This plugin must be either run as root or setuid root.
To run as root, you can use a tool like sudo.
To set the setuid permissions, use the command:
chmod u+s yourpluginfile
check_icmp: Failed to obtain ICMP socket: Operation not permitted
Warning: This plugin must be either run as root or setuid root.
To run as root, you can use a tool like sudo.
To set the setuid permissions, use the command:
chmod u+s yourpluginfile
check_icmp: Failed to obtain ICMP socket: Operation not permitted
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
Re: check_icmp: Failed to obtain ICMP socket: Operation not
I know that the solution is already listed in that error , but I dont know how to run the sudo command correctly and Dont want to screw this up
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
Re: check_icmp: Failed to obtain ICMP socket: Operation not
Code: Select all
login as: root
[email protected]'s password:
Last login: Thu Aug 2 11:15:55 2012 from 172.26.68.142
[root@lkennagioxib01 ~]# chmod 4750 check_icmp
chmod: cannot access `check_icmp': No such file or directory
[root@lkennagioxib01 ~]# cd /usr/local/nagios/libexec
[root@lkennagioxib01 libexec]# chmod 4750 check_icmp
[root@lkennagioxib01 libexec]# sudo chmod 4750 check_icmp
[root@lkennagioxib01 libexec]#
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
Re: check_icmp: Failed to obtain ICMP socket: Operation not
ok the error changed to
(Return code of 126 is out of bounds - plugin may be missing)
(Return code of 126 is out of bounds - plugin may be missing)
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: check_icmp: Failed to obtain ICMP socket: Operation not
Okay that's good, now re-enable execution permissions:
Code: Select all
chmod 555 check_icmpRe: check_icmp: Failed to obtain ICMP socket: Operation not
odd on the server that it is not working on the permissions are set like this:
but on my other two servers it's set like this:
Code: Select all
check_icmp 0 0 r-xr-xr-xCode: Select all
check_icmp 0 0 r-sr-xr-xProudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
Re: check_icmp: Failed to obtain ICMP socket: Operation not
In that case, I believe it can be duplicated by a
chmod 7555 check_icmp
chmod 7555 check_icmp
Nicholas Scott
Former Nagios employee
Former Nagios employee
Re: check_icmp: Failed to obtain ICMP socket: Operation not
that command changed them to :
r-sr-sr-t no go.
I REALLY appreciate the time you are investing into helping me.
r-sr-sr-t no go.
I REALLY appreciate the time you are investing into helping me.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
Re: check_icmp: Failed to obtain ICMP socket: Operation not
ITS WORKING! THANK YOU THANK YOU THANK YOU!
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion