Nagios and DHCP

Lars Stavholm stava at telcotec.se
Thu Feb 15 14:02:28 CET 2007


Sean Thomas wrote:
> Hi guys
> 
> Here is an example of my define host entries:
> 
> define host{
>           use                                generic-host   
>           host_name                      random.random.org
>           alias                               Random Server
>           address                          xxx.xxx.xxx.xxx
>           parents                           random
>           check_command             check-host-alive
>           max_check_attempts       20
>           notification_interval           60
>           notification_period            24x7
>           notification_options          d,u,r
>            }
> 
> How do configure the address line to work with a client who is given an address via DHCP? 

We use DNS together with DHCP for our clients (and actually some
of the servers as well). The idea is that the DHCP client reports
its hostname for update of our own DNS server. In the service address
field we use the host name, not the IP address. In DHCP/DNS lingo this
is called Dynamic DNS Update (DDNS).

Hope this helps
/Lars

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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