Dynamic IP host monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
progressive.nagiosXI
Posts: 277
Joined: Mon Jul 31, 2017 5:54 am

Dynamic IP host monitoring

Post by progressive.nagiosXI »

Hii,

How we can monitor any host whose IP is not static??

Please suggest
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Dynamic IP host monitoring

Post by mcapra »

Two options that come to mind:

Have the host submit passive checks to Nagios XI. NCPA and NSClient++ both have native options for passive checks.

Leverage a DNS record for the host.
Former Nagios employee
https://www.mcapra.com/
User avatar
tacolover101
Posts: 432
Joined: Mon Apr 10, 2017 11:55 am

Re: Dynamic IP host monitoring

Post by tacolover101 »

to add on to what @mcapra mentioned, a dynamics DNS provider such as dyndns or no-ip should work for this.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Dynamic IP host monitoring

Post by dwhitfield »

progressive.nagiosXI
Posts: 277
Joined: Mon Jul 31, 2017 5:54 am

Re: Dynamic IP host monitoring

Post by progressive.nagiosXI »

With this we have some question,

1 - How do we monitor host up/down
2 - If agent stops giving data how do we get notified for the same ?
3 - if we are monitoring two host with agent and if the swap their IP with themselves How nagios going to identify that
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Dynamic IP host monitoring

Post by dwhitfield »

1. Using DNS is the easiest from the nagios side
2. If you use DNS, then just use a normal active check.
3. https://exchange.nagios.org//directory/ ... IP/details talks about external IPs, but I don't see why you couldn't use it for internal IPs.

Setting up DNS really depends on your environment, but is outside of the scoop of support anyway. If you are in a Windows environment, https://technet.microsoft.com/en-us/lib ... s.11).aspx may be of some use.
Locked