I am looking for a Nagios XI solution for monitoring hosts that are not assigned static IP Addresses. I have not yet used passive monitoring however if this is a candidate I'd be interested in how it would work.
Thanks in advance
Monitor Hosts With Dynamic IP Addresses
Re: Monitor Hosts With Dynamic IP Addresses
Passive monitoring would certainly be a solution, unless you want to manage the DNS for the DHCP machines
Passive monitoring is essentially when a host checks itself and sends the results back to Nagios, as opposed to Nagios initiating the check. There are a variety of methods for doing so, and you can take a look at them here:
http://assets.nagios.com/downloads/nagi ... ios-XI.pdf
Passive monitoring is essentially when a host checks itself and sends the results back to Nagios, as opposed to Nagios initiating the check. There are a variety of methods for doing so, and you can take a look at them here:
http://assets.nagios.com/downloads/nagi ... ios-XI.pdf
Former Nagios employee
-
AMacintosh
- Posts: 59
- Joined: Mon Nov 07, 2011 12:26 pm
Re: Monitor Hosts With Dynamic IP Addresses
Thanks for the quick reply. How are host checks handled with passive checks? In other words how do we check that the host is up?
Re: Monitor Hosts With Dynamic IP Addresses
If you are receiving passive results from the host, you can be pretty sure that the host is up :)
Otherwise there is an option called Freshness Checking where if you do not receive a passive result from a host for X minutes, you initiate an active check on the host. That might be harder to do for a DHCP-based device, so in those cases if you don't get a result within the freshness interval you can treat the host as DOWN.
Otherwise there is an option called Freshness Checking where if you do not receive a passive result from a host for X minutes, you initiate an active check on the host. That might be harder to do for a DHCP-based device, so in those cases if you don't get a result within the freshness interval you can treat the host as DOWN.
Former Nagios employee
Re: Monitor Hosts With Dynamic IP Addresses
tmcdonald wrote:If you are receiving passive results from the host, you can be pretty sure that the host is up
Otherwise there is an option called Freshness Checking where if you do not receive a passive result from a host for X minutes, you initiate an active check on the host. That might be harder to do for a DHCP-based device, so in those cases if you don't get a result within the freshness interval you can treat the host as DOWN.
Exactly, you set the freshness check to the interval you want and then just use the "check_dummy" command as the active check for the host and have it set to critical with some sort of message like "CRITICAL: Have not received any data in X minutes"
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
-
AMacintosh
- Posts: 59
- Joined: Mon Nov 07, 2011 12:26 pm
Re: Monitor Hosts With Dynamic IP Addresses
Thanks for the great feedback all. Currently I have a standalone Nagios XI monitoring server in place. I will have to look at configuring the system to allow Passive Checks.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Monitor Hosts With Dynamic IP Addresses
Great! Do you have any further questions on this topic before we lock the thread? Of course, feel free to open a new one with questions on passive checks, or anything else that comes to mind!
-
AMacintosh
- Posts: 59
- Joined: Mon Nov 07, 2011 12:26 pm
Re: Monitor Hosts With Dynamic IP Addresses
We can lock this thread.
Thanks!
Thanks!