multiple IP

Karl DeBisschop karl at debisschop.net
Wed Jan 14 03:48:10 CET 2004


On Tue, 2004-01-13 at 11:03, Matt Pounsett wrote:
> 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.

1.4 series (in alpha right now) does.

> 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.

Succeeds if any listed interface is up.

--
Karl



-------------------------------------------------------
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