check_dhcp
Marc Powell
marc at ena.com
Wed Apr 18 00:01:44 CEST 2007
> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of abid dar
> Sent: Tuesday, April 17, 2007 4:37 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] check_dhcp
>
> Having a weird situation..
>
> /usr/local/nagios/libexec/check_dhcp
> DHCP ok: Received 1 DHCPOFFER(s), max lease time = 0 sec.
>
> /usr/local/nagios/libexec/check_dhcp -s xx.xxx.xxx.xxx (our dhcp
server)
> DHCP problem: Received 3 DHCPOFFER(s), 0 of 1 requested servers
responded,
> max lease time = 284400 sec.
>
> why is it getting a DHCP okay when I do flat check_dhcp but when I
specify
> I dont get a valid response.
No suggestions here without the output from below...
> Also, the verbose option does not give any more information.. but
thats
> not really important..
It should. Testing with check_dhcp from plugins-1.4.3 (no dhcp server on
this network) --
./check_dhcp -v
DHCP socket: 3
Hardware address: 00123ffef903
DHCPDISCOVER to 255.255.255.255 port 67
DHCPDISCOVER XID: 589273772 (0x231F9AAC)
DHCDISCOVER ciaddr: 0.0.0.0
DHCDISCOVER yiaddr: 0.0.0.0
DHCDISCOVER siaddr: 0.0.0.0
DHCDISCOVER giaddr: 0.0.0.0
send_dhcp_packet result: 548
No (more) data received
Result=ERROR
Total responses seen on the wire: 0
Valid responses for this machine: 0
DHCP problem: No DHCPOFFERs were received.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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