[Nagiosplug-help] check_ping

Marc Belanger bru1n at comcast.net
Tue May 10 08:06:57 CEST 2005


Can you run the command from the shell?

Example:

nagios @ miata: pwd
/usr/local/nagios/libexec
nagios @ miata: ./check_ping -H miata -w .3,10% -c .5,20% -p 5
PING OK - Packet loss = 0%, RTA = 0.16 ms
nagios @ miata: ./check_ping -H tbird -w .3,10% -c .5,20% -p 5
PING WARNING - Packet loss = 0%, RTA = 0.38 ms

What are your command and service definitions? Do they follow the syntax that works form the command line, as the nagios user?

-Marc



> #>./check_ping -h
> check_ping (nagios-plugins 1.4) 1.42
> 
>   - Justin Kulikowski
> 	[ http://www.jpk236.com ]
> 
> Server Admin wrote:
> > admin at jpk236.com wrote:
> > 
> >>
> >> Specs:
> >>     FreeBSD 5.4-RELEASE
> >>     nagios-2.0.b3
> >>     nagios-plugins-1.4_1,1
> >>     nsca-2.4
> >>
> >> Problem:
> >>     The check_ping plugin is returning "(Return code of 139 is out of 
> >> bounds)" from one of my active checks.  When this happens it seems to 
> >> stall nagios.  By this I mean, most of my passive checks turn stale.
> >>     Most of the time the problem recovers itself in a few minutes, but 
> >> occasionally it takes much longer.
> >>     Any thoughts?
> >>
> >>
> >>  - Justin Kulikowski
> >>     [ http://www.jpk236.com ]
> >>
> > 
> > What version of ping? and what package (iputils-ping?)
> > 
> > 
> > AYJ
> > 
> > 
> > -------------------------------------------------------
> > This SF.Net email is sponsored by Oracle Space Sweepstakes
> > Want to be the first software developer in space?
> > Enter now for the Oracle Space Sweepstakes!
> > http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
> > _______________________________________________
> > Nagiosplug-help mailing list
> > Nagiosplug-help at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> > ::: Please include plugins version (-v) and OS when reporting any issue. 
> > ::: Messages without supporting info will risk being sent to /dev/null
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by Oracle Space Sweepstakes
> Want to be the first software developer in space?
> Enter now for the Oracle Space Sweepstakes!
> http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null




More information about the Help mailing list