[Nagiosplug-help] How do i check dhcpd running on remote host

Andreas Ericsson ae at op5.se
Thu Nov 17 00:37:01 CET 2005


Rajendra Adhikari wrote:
> Can any one suggest how do I check the dhcpd running on the remote host? 
> I have tried it with the check_dhcp standard plugins, but could not get 
> any responce.  Is it possible from standard check_dhcp, or do I need to 
> go for  check by ssh  or some other things. I would be grateful if you  
> kindly suggest me the way to do it or  provide some reference  about it.
> 

DHCP can only be checked for remote hosts (so far). The DHCP client 
sends broadcasts to communicate with the server (it has to, since the 
DHCP server will assign the IP), which means you can't check a DHCP 
server on a different subnet.

I've tried hacking up a patch for that. You can try using the check_dhcp 
found in the plugins-package at http://oss.op5.se/nagios

Read the --help output (or possibly the source-code). I don't remember 
what options you need to specify off-hand.

Oh, and let me know if it works. :)

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231




More information about the Help mailing list