Multiple interfaces

Robert Nelson rnelson at windchannel.com
Fri Aug 6 12:32:08 CEST 2004


>  From there, we could move on to adding the capability to 
> check_tcp and 
> check_http. But the complexity of handling it on a case-by-case basis 
> may not be worthwhile for all the plugins. So at some point, 
> we may need 
> to extend netutils.c to make general way of handling multiple 
> interfaces 
> -- but I have not thought at all about what such changes 
> might look like.

Karl, how about a plugin that might be called in the following manner?

check_multiple!check_tcp!<normaloptions>

Where check_multiple parses the address list and calls check_tcp once
for each address?

The problem then becomes, do you want the output to say "Reponse of .51
seconds; Response of .52 seconds; Response of .48 seconds" or "OK for 3
addresses"? What's a warning or crit state? Etc...Given those questions,
it might be better off to define it on a per-plugin basis, not sure.

Rob Nelson
Network Engineer
Windchannel Communications
919-538-6326 


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
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