Page 1 of 1
Dynamic IP host monitoring
Posted: Sat Aug 26, 2017 3:48 am
by progressive.nagiosXI
Hii,
How we can monitor any host whose IP is not static??
Please suggest
Re: Dynamic IP host monitoring
Posted: Sun Aug 27, 2017 9:02 am
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.
Re: Dynamic IP host monitoring
Posted: Mon Aug 28, 2017 8:14 am
by tacolover101
to add on to what @mcapra mentioned, a dynamics DNS provider such as dyndns or no-ip should work for this.
Re: Dynamic IP host monitoring
Posted: Mon Aug 28, 2017 9:14 am
by dwhitfield
Re: Dynamic IP host monitoring
Posted: Wed Aug 30, 2017 12:26 am
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
Re: Dynamic IP host monitoring
Posted: Wed Aug 30, 2017 10:15 am
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.