Hello,
Before your answer , I decided to do a perl script which can do what I want
for my job.
But I like your idea and I try to modify the actual source code of
check_ping
I am a total Noob in C/C++ but I try to do this (based on check_ping
nagios-plugins-1.4.13).
It is sure Developers Masters in
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Little OT but:
Aaron Segura schrieb:
> 1) Get the source
>
> 2) Modify
>
> 3) Compile
>
> 4) ….
>
> 5) Profit!
>
>
6) Share it back with the community ;)
If it's nice enough send a unified patch file to the nagios
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 <[EMAIL PROTECTED]>
> Aaron Segura wrote:
> >
>
Nagios-users] check_ping modify output
1) Get the source
2) Modify
3) Compile
4)
.
5) Profit!
_
From: The Noob [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2008 8:53 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] check_ping
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.
[EMAIL PROTECTED]
412-422-34
1) Get the source
2) Modify
3) Compile
4)
5) Profit!
From: The Noob [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2008 8:53 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] check_ping modify
Hello all,
I would like to customize the output of a check_ping command.
In fact I do not want PING KO or PING CRITICAL but another message.
Is it possible to do it ?
Thanks for your help
Best Regards
The Noob
-
This SF.Net