3 T1s one router

Marc Powell mpowell at ena.com
Tue Nov 25 19:49:03 CET 2003


You can do this as long as your check_command understands how to interpret the addresses properly. The default check-host-alive does not.

http://www.nagios.org/faqs/viewfaq.php?faq_id=146

--
Marc

-----Original Message-----
From: Simpson, Doug [mailto:dsimpson at friedmancorp.com] 
Sent: Tuesday, November 25, 2003 12:34 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] 3 T1s one router

We have three T1s bundled into one router here at my site and terminating at one router at the telcom.  I want to monitor all 3 IPs on each router.
How do I setup a host to have multiple IPs?
Do I just add multiple IPs like I have done down below?
 
# 'T1 router' host definition
define host{
        use                     generic-host            ; Name of host template to use
                                                                                                                                                                            
        host_name               T1 router
        alias                   T1 Router
        address                 172.16.1.3, 172.16.1.2, 172.16.1.1
        parents                 BHS1
        check_command           check-host-alive
        max_check_attempts      10
        notification_interval   120
        notification_period     24x7
        notification_options    d,u,r
        }


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
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