Monitor Multiple IP addrs
Subhendu Ghosh
sghosh at sghosh.org
Wed Oct 30 20:58:14 CET 2002
A host can only have one address (typically the one closest to nagios).
Since each end of the link belongs to a different host - you should define
2 hosts and a service for each.
Also define the remote host as a child of the local host based on the
normal routing path.
If these are routers that support snmp, take a look at check_ifoperstatus
to monitor the interface.
-sg
On Wed, 30 Oct 2002, Erich Kuehn wrote:
> I want to monitor 2 ip addresses, each one side of a point to point serial
> link.
>
>
> I've tried this
>
> define host{
> use generic-host ; Name of host
> template to use
>
> host_name Test
> alias Test
> address x.x.x.255 x.x.x.233
> parents router1
> check_command check-host-alive
> max_check_attempts 20
> notification_interval 60
> notification_period 24x7
> notification_options d,u,r
>
> but It only seems to ping the first one, and then reports it as up, even if
> the other one is down.
>
> Any ideas?
>
> Erich
>
>
--
-------------------------------------------------------
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?sunm0004en
More information about the Users
mailing list