check_dhcp issue
Marc Powell
marc at ena.com
Mon Jun 29 21:20:53 CEST 2009
On Jun 29, 2009, at 2:08 PM, Dei Bertine wrote:
> I actually tried check_command check_dhcp Without !/
> check_dh....! but still error.
> Having an ip address didnt make a difference.
> Also chmod (u+s) on the plugin but that didnt help either.
> Dont you think it had something to do with the fact that this
> particular server is a slave dhcp?
Maybe?
As Andreas indicated, there is some difference between your command
line test and how you've configured nagios to check. You didn't tell
us exactly how you tested from the command line so we're left to
simply speculate (not good for you).
Based on this error you reported- "CRITICAL: Received 1 DHCPOFFER(s),
0 of 1 requested servers responded, max lease time = 86400 sec.", I'd
guess that you are getting a DHCP response but it's not from the
server at $HOSTADDRESS$, which you've required the response to come
from (-s), whatever that is in the matching host{} definition.
Is the slave server that you're wanting to check on the same broadcast
network as your nagios server? Is it's IP the same IP as the 'address'
parameter in that check's host defintion?
--
Marc
------------------------------------------------------------------------------
_______________________________________________
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