Hii,
How we can monitor any host whose IP is not static??
Please suggest
Dynamic IP host monitoring
Re: Dynamic IP host monitoring
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.
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/
https://www.mcapra.com/
- tacolover101
- Posts: 432
- Joined: Mon Apr 10, 2017 11:55 am
Re: Dynamic IP host monitoring
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
Thanks @mcapra and @tacolover101!
As far as NSClient goes, here's the doc: https://assets.nagios.com/downloads/nag ... Checks.pdf
https://assets.nagios.com/downloads/ncp ... arison.pdf may also be useful.
As far as NSClient goes, here's the doc: https://assets.nagios.com/downloads/nag ... Checks.pdf
https://assets.nagios.com/downloads/ncp ... arison.pdf may also be useful.
-
progressive.nagiosXI
- Posts: 277
- Joined: Mon Jul 31, 2017 5:54 am
Re: Dynamic IP host monitoring
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
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
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.
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.