I've used a wrapper like this:

check_ping -H .... |sed -e 's# - Packet loss #|loss#;s#%##;s#ms##;s#,##'

it returns: PING OK|loss= 0 RTA = 1.20

jürgen

-------- Original-Nachricht --------
Datum: Wed, 24 Jan 2007 20:03:26 -0500
Von: Eric Newton <[EMAIL PROTECTED]>
An: General discussion of using zenoss system <[email protected]>
Betreff: Re: [zenoss-users] Graphing ping times

> Unfortunately, check_ping isn't written to return the RTA as a 
> collectible data point:
> 
>     $ $ZENHOME/ libexec/check_ping -H 192.168.10.1 -w 5,100% -c 10,100%
>     PING OK - Packet loss = 0%, RTA = 1.20 ms
> 
> If it responded back:
> 
>     PING OK|Lost=0 RTA=1.20
> 
> We could use that.  I'm surprised this isn't the case.  It would be 
> fairly trivial to write a wrapper around check_ping to produce this
> result.
> 
> In the next release of Zenoss, we will provide a platform for these 
> kinds of custom configurations and add-ons.
> 
> Until then, read up on the nagios plugin format.  It's not very complex.
> 
> -Eric
> _______________________________________________
> zenoss-users mailing list
> [email protected]
> http://lists.zenoss.org/mailman/listinfo/zenoss-users

-- 
------------------------------------
wenn du mit KÖNNEN nicht beeindrucken kannst, verwirre
mit SCHWACHSINN! 


Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to