[Nagiosplug-devel] [request] adjustment to check_icmp

Andreas Ericsson ae at op5.se
Sat Aug 6 07:06:07 CEST 2005


joop wrote:
> First thanks for this good contribution, it is very usefull.
> 

Glad you find it useful.

> However, I would like the ability to do a check of several hosts,
> and just return critical when all the hosts are down.
> 
> So like check_host but this one is sending one package and
> when the first host is not replying it stops and return critical.
> 
> So what I need it the opposite, send one package to several hosts.
> And as soon as one replies stop and return ok.
> Only when the first one is not replying it should check the next etc.
> 
> Is it possible to make this?
> 

Yes it is. How would you like the output to be formatted? Would 
something along the lines of

OK - <hostname> responds to ICMP. rta: 0.1ms, pl: 20%

work?

If you have some idea as to what to call the mode (check_cluster already 
being taken), I'm all ears.

> Thank you in advance
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________________
> Nagios Plugin Development Mailing List Nagiosplug-devel at lists.sourceforge.net
> Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> ::: Please include plugins version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer




More information about the Devel mailing list