Configuring Multihomed Host
Carroll, Jim P [Contractor]
jcarro10 at sprintspectrum.com
Fri Oct 25 01:42:04 CEST 2002
I would think you'd want to set up a dependancy rule. Loosely speaking:
run test_A on interface_1
if success on interface_1
ignore interface_2
else
run test_A on interface_2
end
What you propose will possibly end up duplicating some tests. For example,
NRPE tests. A partition space check done from one interface will be no
different than the other interface (one would hope ;^). But with the
proposed solution (below), if one of the interfaces goes down, then you'll
get a Critical alert for the partition space check (connection timed out).
I'm not sure that's desireable.
OTOH, if you have a web server bound to one port on one interface, and to
another port on the other interface, then yes, you'll want to keep them both
under scrutiny.
Just my $0.02.
jc
> -----Original Message-----
> From: Greg Vickers [mailto:g.vickers at qut.edu.au]
> Sent: Thursday, October 24, 2002 5:55 PM
> To: Daniel Imazava; nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Configuring Multihomed Host
>
>
> Daniel,
> I have done just this and configured a host definition per NIC on the
> server. You can then test for the same service on each NIC
> (through each
> different subnet). Config follows:
>
> Host config:
>
> define host{
> host_name janeway-220
> alias Janeway subnet 220
> address xxx.xxx.220.xxx
> parents upstream_router
> use generic-template-host
> }
>
> define host{
> host_name janeway-23
> alias Janeway subnet 23
> address xxx.xxx.23.xxx
> parents upstream_router
> use generic-template-host
> }
>
>
> For the hostgroups for these hosts:
>
> define hostgroup{
> hostgroup_name Fred
> alias Fred as well
> contact_groups test-group
> members janeway-220, janeway-23
> }
>
> And the service:
>
> define service{
> hostgroup_name fred-servers
> service_description Test for presence of Fred
> check_command check_nt!The_Service_Formerly_Known_As_Fred
> use generic-template-service
> }
>
>
> Hope this helps,
> Greg
>
> At 04:26 25/10/2002, Daniel Imazava wrote:
>
> >Hello,
> >
> >To configuring multihomed hosts, Do I have to create a
> "host" for each
> >interface?
> >
> >Thanks
> >
> >
> >
> >
> >-------------------------------------------------------
> >This sf.net email is sponsored by: Influence the future
> >of Java(TM) technology. Join the Java Community
> >Process(SM) (JCP(SM)) program now.
> >http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en
> >_______________________________________________
> >Nagios-users mailing list
> >Nagios-users at lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/nagios-users
>
> =================================
> Greg Vickers
> Computer Systems Officer
> Student Support and Systems,
> Teaching and Learning Support Systems,
> Queensland University of Technology,
> Kelvin Grove Campus,
> Brisbane,
> Australia
>
> CRICOS No 00213J
>
> Ph: 07 3864 8276 Fax: 07 3864 5425
> Mob: 0416 001 674 SD: x6147
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: Influence the future
> of Java(TM) technology. Join the Java Community
> Process(SM) (JCP(SM)) program now.
> http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
>
-------------------------------------------------------
This sf.net email is sponsored by: Influence the future
of Java(TM) technology. Join the Java Community
Process(SM) (JCP(SM)) program now.
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en
More information about the Users
mailing list