multiple IP

Matt Pounsett matt.pounsett at cira.ca
Tue Jan 13 17:03:48 CET 2004


On Tue, 13 Jan 2004, Alessio Ciregia wrote:

> In the FAQ i have read that I can assign more than one IP to an host.
> So, I have a multi homed gateway so I want to monitor the two NIC's IP 
> address.
> 
> Well, if in the host definition of this machine I put the two addresses 
> (ie 192.168.1.1,192.168.2.1) I receive an error that the host is not 
> respondig.

The thing that the docs imply, but don't really seem to go into much detail
about, is the fact that your plugins must support whatever you stick in the
host address field.  If this is a list of addresses, then the plugins used for
that host must support receiving a list of addresses.  I'm not aware of any,
but it's possible some of the plugins distributed in the Plugins v1.3.1
distribution support this; the check_ping plugin, which it sounds like you are
using, does not.

The plugin would have to make intelligent decisions about which IP to check
(or some, or possibly all of them) and when to report error conditions based
on how many of them are unreachable, if any.

-- 
Matt Pounsett                 CIRA - Canadian Internet Registration Authority
Technical Support Programmer                    350 Sparks Street, Suite 1110
matt.pounsett at cira.ca                                 Ottawa, Ontario, Canada
613.237.5335 ext. 231                                      http://www.cira.ca



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
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