Search found 5 matches

by gersangreal
Wed Nov 25, 2015 5:11 am
Forum: Open Source Nagios Projects
Topic: Return code of 127 for check of service 'PING'
Replies: 8
Views: 6504

Re: Return code of 127 for check of service 'PING'

Thank you, rkennedy! I solved my issue. I found out I had wrong permissions on directory /bin. I set permissions 755 and it fixed my nagios.
Thanks man!!!
by gersangreal
Wed Nov 25, 2015 2:30 am
Forum: Open Source Nagios Projects
Topic: Return code of 127 for check of service 'PING'
Replies: 8
Views: 6504

Re: Return code of 127 for check of service 'PING'

I believe this is a permissions issue. To verify, can you try running the following commands and post the result - su nagios /usr/lib64/nagios/plugins/check_ping -H 192.168.0.25 -w 100.0,80% -c 500.0,100% -p 2 I tried to do that you wrote, but I have some issue. When I'm trying to do su nagios I re...
by gersangreal
Tue Nov 24, 2015 11:15 am
Forum: Open Source Nagios Projects
Topic: Return code of 127 for check of service 'PING'
Replies: 8
Views: 6504

Re: Return code of 127 for check of service 'PING'

Can you also post the host definition for the host bigkiev? This my host definition: define host {<-> <------>use<---><------><------>office-linux-server <------>host_name bigkiev <------>address><------><------>198.168.0.25 <------>check_period<--><------>24x7 <------>check_interval<><------>5 <--...
by gersangreal
Tue Nov 24, 2015 10:46 am
Forum: Open Source Nagios Projects
Topic: Return code of 127 for check of service 'PING'
Replies: 8
Views: 6504

Re: Return code of 127 for check of service 'PING'

Can you post your service definition for one of these failing checks? I have just one service: define service { <------>use<---><------><------><------>linux-service <------>host_name<-----><------><------>bigkiev <------>service_description<---><------>PING <------>check_command<-><------><------>...
by gersangreal
Tue Nov 24, 2015 10:16 am
Forum: Open Source Nagios Projects
Topic: Return code of 127 for check of service 'PING'
Replies: 8
Views: 6504

Return code of 127 for check of service 'PING'

Hi everyone! I installed nagios on Centos 6.7 from repository and configured it. But it don't work. I receive warning messages: Warning: Return code of 127 for check of host 'gate' was out of bounds. Make sure the plugin you're trying to run actually exists. Warning: Return code of 127 for check of ...