Forgot to show the command: # /usr/local/nagios/libexec/check_ping -H repo.ngtech.co.il -w 100.0,20% -c 500.0,60% -p 10 CRITICAL - Network Unreachable (repo.ngtech.co.il)
# /usr/local/nagios/libexec/check_ping -H www1.ngtech.co.il -w 100.0,20% -c 500.0,60% -p 10 PING OK - Packet loss = 0%, RTA = 17.40 ms|rta=17.395000ms;100.000000;500.000000;0.000000 pl=0%;20;60;0 Which is odd in any way you can think off. Eliezer On 08/09/2013 04:46 PM, Eliezer Croitoru wrote: > I have compiled all nagios plugins many times but on the last time this > what happens: > nagios-plugins-1.4.16.tar.gz > I compile with no errors and then when nagios do a check it states: > CRITICAL - Network Unreachable (repo.ngtech.co.il) > while from command line linux ping everything works fine! > also I compiled my own script in ruby perl and python and all of them > are not stating anything about "Network Unreachable". > > Is this a regression from older and newer versions of nagios_plugins?? > Since they work at the same time I run my own script and it states the > everyting is OK which means 100% no packet loss I am a bit confused > about it. > How is it possible for the basic check_ping written in c to not work and > the scripting languages scripts to work fine? > it's not permissions since it states "Network Unreachable". > it's must be another issue either in nagios or the code somewhere. > > Can anyone test it please and make sure that my assumptions are right? > > Eliezer > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > _______________________________________________ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null