check_ping modify output

The Noob thenoob06 at gmail.com
Wed Nov 5 19:50:27 CET 2008


Thanks all for your help.
I will try to develop a new script to modify the output for PING OK, PING
critical etc..
But I don't to forget the Exit code (0 for ping ok, 1 ping warning , 2 for
ping critical)
Best Regards
The Noob

2008/11/5 Sean McAfee <smcafee at collaborativefusion.com>

> Aaron Segura wrote:
> >
> > 1) Get the source
> >
> > 2) Modify
> >
> > 3) Compile
> >
> > 4) ….
> >
> > 5) Profit!
> >
> Or write a script that wraps around check_ping, evaluates the native
> return, then returns whatever you want.
>
> --
> Sean McAfee
> System Engineer
>
> Collaborative Fusion, Inc.
>  smcafee at collaborativefusion.com
>  412-422-3463 x 4025
>
> 5849 Forbes Avenue
> Pittsburgh, PA 15217
>
> ****************************************************************
> IMPORTANT: This message contains confidential information
> and is intended only for the individual named. If the reader of
> this message is not an intended recipient (or the individual
> responsible for the delivery of this message to an intended
> recipient), please be advised that any re-use, dissemination,
> distribution or copying of this message is prohibited. Please
> notify the sender immediately by e-mail if you have received
> this e-mail by mistake and delete this e-mail from your system.
> E-mail transmission cannot be guaranteed to be secure or
> error-free as information could be intercepted, corrupted, lost,
> destroyed, arrive late or incomplete, or contain viruses. The
> sender therefore does not accept liability for any errors or
> omissions in the contents of this message, which arise as a
> result of e-mail transmission.
> ****************************************************************
>
>
>
>
> IMPORTANT: This message contains confidential information and is intended
> only for the individual named. If the reader of this message is not an
> intended recipient (or the individual responsible for the delivery of this
> message to an intended recipient), please be advised that any re-use,
> dissemination, distribution or copying of this message is prohibited. Please
> notify the sender immediately by e-mail if you have received this e-mail by
> mistake and delete this e-mail from your system.
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20081105/7f6b81d3/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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


More information about the Users mailing list