[Nagiosplug-help] check_ping - Error: Could not interpret output from ping command

Anjan Dave adave at vantage.com
Thu Apr 22 08:36:10 CEST 2004


This works for me:

libexec/./check_ping -H <target IP> -w 100.0,20% -c 500.0,60%
PING OK - Packet loss = 0%, RTA = 21.68 ms

Thanks,
Anjan


-----Original Message-----
From: J. L. Espinosa [mailto:mondaka at hotmail.com] 
Sent: Thursday, April 22, 2004 10:58 AM
To: nagiosplug-help at lists.sourceforge.net
Subject: [Nagiosplug-help] check_ping - Error: Could not interpret output from ping command

Hi,

I recently installed nagios 1.2 with RedHat 7.3 but I have a problem with 
the check_ping plugin when its running from comand line and the service 
checked in nagios dont look ok (unknown)...

[prompt]# ./check_ping -H 172.16.1.139 -w 300.0,20% -c 500.0,30% -p 1
/bin/ping -n -U -c 1 172.16.1.139
Error: Could not interpret output from ping command

but when i execute ping from command line there is not problem

[prompt]# /bin/ping -n -U -c 1 172.16.1.139
PING 172.16.1.139 (172.16.1.139) from 172.16.1.13 : 56(84) bytes of data.
64 bytes from 172.16.1.139: icmp_seq=1 ttl=255 time=1.51 ms

--- 172.16.1.139 ping statistics ---
1 packets transmitted, 1 received, 0% loss, time 0ms
rtt min/avg/max/mdev = 1.517/1.517/1.517/0.000 ms


I could see in a past post no one respond a similar question ...
http://sourceforge.net/mailarchive/message.php?msg_id=2066936

this is the version of check_ping
[prompt]# ./check_ping -V
check_ping (nagios-plugins 1.4.0alpha1) 1.25
The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute
copies of the plugins under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

Any help would be apreciated

Leonardo Espinosa
ISP Enginner
Promigas Telecomunicaciones

_________________________________________________________________
MSN Amor: busca tu ½ naranja http://latam.msn.com/amor/



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&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