multiple IPs for a host?

Andreas Ericsson ae at op5.se
Tue Jan 18 10:56:42 CET 2005


Robert Bossecker wrote:
> Hi,
> 
> in the past i had to check multi homed hosts as well cause we had the 
> same problems :-) internal network works and
> some other important interfaces were not reachable, i wrote a script 
> which retrieves all address records
> for that name from the DNS and pings all  of them, unfortunately the 
> script is not longer available,

The replacement for check_icmp, which will be ready to roll in 3 or 4 
days has the ability to do this.

>
> but it worked like doing a gethostbyname and and doing a loop over the 
> complete address array
> doing pings, so one failed ping should raise a CRITICAL error.
> I will scan my disks if i will find some of those code.
> 
> Regards
> Robert
> 
> Andy Smith wrote:
> 
>> Hi,
>>
>> We have a production network and a management network, with all our
>> administrative traffic going over the management network and every
>> production server having at least two interfaces.
>>
>> We don't want to have nagios only monitor across one of the networks
>> though, because then we run the risk (however minor) of a network
>> problem isolating all our servers from the outside world while
>> nagios happily reaches them over the management network and does not
>> warn us.
>>
>> So, what I would like to do is have nagios ping the production IP
>> but do all the other service checks over the management IP.
>>
>> Is it possible to define a host as having two addresses and have
>> nagios ping one but do service checks on the other?  Or will every
>> host need to be split into two hosts so that one of them can have
>> the production address and be set as parent for all the others?
>>
>> Cheers,
>> Andy
>>  
>>
> 
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________
> 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
> 

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


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
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