Monitoring hosts and DHCP

C. Bensend benny at bennyvision.com
Mon Nov 19 16:45:23 CET 2007


> I'm monitoring about 30 machines using Nagios with SNMP checks.  I also
> have
> a DHCP server casting each machine on the network their IP address on
> start-up.  Some machines stay on the majority of the time, others for only
> 4-8 hours a day.  The machines generally maintain their same IP address
> over
> time as DHCP is designed to try and give a machine back it's same IP, so
> long as it's available.  However, there have been times when a machine has
> changed its IP addresses as a result of using DHCP on this LAN.

http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#host

Pay particular attention to the address section...  You can use
the hostname in place of the IP address, at the cost of doing a
DNS lookup when the host is checked.

Benny


-- 
"If it's true that our species is alone in the universe, then I'd
have to say that the universe aimed rather low and settled for
very little."                    -- George Carlin



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list