Configuring Multihomed Host

Greg Vickers g.vickers at qut.edu.au
Fri Oct 25 00:55:03 CEST 2002


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




More information about the Users mailing list