CRITICAL: No DHCPOFFERs were received.
CRITICAL: No DHCPOFFERs were received.
I need help, i have configured Nagios and trying to monitor DHCP on my local host
i keep geting this error "CRITICAL: No DHCPOFFERs were received."
i have opened up dhcp ports still the same issue
my ip table
-A INPUT -i eth1 -p udp --sport 67:68 --dport 67:68 -j ACCEPT
ls -l
-rwsr-x---. 1 root nagios 170931 Apr 7 15:05 check_dhcp
what did i miss guys?
i keep geting this error "CRITICAL: No DHCPOFFERs were received."
i have opened up dhcp ports still the same issue
my ip table
-A INPUT -i eth1 -p udp --sport 67:68 --dport 67:68 -j ACCEPT
ls -l
-rwsr-x---. 1 root nagios 170931 Apr 7 15:05 check_dhcp
what did i miss guys?
Last edited by slansing on Tue Apr 15, 2014 10:29 am, edited 1 time in total.
Reason: You are not posting in the support section, moving this to general Core.
Reason: You are not posting in the support section, moving this to general Core.
Re: CRITICAL: No DHCPOFFERs were received.
Are you checking against localhost? If so, is localhost a dhcp server?Etutega wrote:I need help, i have configured Nagios and trying to monitor DHCP on my local host
Usually you check against the dhcp server. Can you post the full command of the check you are attempting?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: CRITICAL: No DHCPOFFERs were received.
Do you have another firewall besides iptables between the DHCP server and your nagios machine? UDP port 67 is used on the server site; UDP port 68 is used on the client site.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: CRITICAL: No DHCPOFFERs were received.
Yes the localhost is my dhcp serverabrist wrote:Are you checking against localhost? If so, is localhost a dhcp server?Etutega wrote:I need help, i have configured Nagios and trying to monitor DHCP on my local host
Usually you check against the dhcp server. Can you post the full command of the check you are attempting?
[root@Master libexec]# ./check_dhcp -v -i eth1
DHCP socket: 3
Hardware address: 00:0c:29:dc:f0:2f
DHCPDISCOVER to 255.255.255.255 port 67
DHCPDISCOVER XID: 610191071 (0x245EC6DF)
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 (nfound: 0)
Result=ERROR
Total responses seen on the wire: 0
Valid responses for this machine: 0
CRITICAL: No DHCPOFFERs were received.
[root@Master libexec]#
what i have noticed if i am monitoring another dhcp server it will pick that up...... does this mean i can not have nagios and dhcp on the same machine?
Re: CRITICAL: No DHCPOFFERs were received.
i do not have another firewall.. what is strange is i can monitor another dhcp server but i can't for the service in my localhost... does this mean i can't have nagios and dhcp on the same machine?lmiltchev wrote:Do you have another firewall besides iptables between the DHCP server and your nagios machine? UDP port 67 is used on the server site; UDP port 68 is used on the client site.
Re: CRITICAL: No DHCPOFFERs were received.
Are you sure that localhost is your dhcp server? Try testing it with dhcping:
When I test our dhcp server, I get:
but when I test it against localhost (it's not a dhcp server), I get "no answer"):
If you don't have dhcping installed, you can install it by running:
You can try some other tools for debugging, such as dhcpdump.
Code: Select all
dhcping -s <server ip> -c <client ip>
Code: Select all
[root@localhost ~]# dhcping -s 192.168.x.x -c 192.168.x.x
Got answer from: 192.168.x.x
Code: Select all
[root@localhost ~]# dhcping -s 127.0.0.1 -c 192.168.x.x
no answer
Code: Select all
yum install dhcping -y
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: CRITICAL: No DHCPOFFERs were received.
Also, are you certain that DHCP is even running?
Code: Select all
service dhcpd status
Former Nagios employee
Re: CRITICAL: No DHCPOFFERs were received.
Hola!! a mi me pasa lo mismo...alguna sugerencia???
Hi, I've the same problem...any ideas??
Hi, I've the same problem...any ideas??
Re: CRITICAL: No DHCPOFFERs were received.
Has hecho las cosas sugeridas en este tema?
Have you done the things suggested in this topic?
Have you done the things suggested in this topic?
Code: Select all
root@dhcp: service dhcpd status
Code: Select all
root@nagiosxi: yum install dhcping -y
root@nagiosxi: dhcping -s <server ip> -c <client ip>
Former Nagios employee
Re: CRITICAL: No DHCPOFFERs were received.
que bueno q hablan español.
si he hecho casi todo..
mi server dhcp esta running
tiene puesto el campo server-identifier con la ip
no tengo firewall levantados en la pc
y los clientes dhcp estan recibiendo ip de ese servidor...
no he podido instalar el paquete dhcping porque no esta disponible en el repositorio de mi empresa..pero hice las otras sugerencias (probe con otra mac fuera de la subred a la que pertenece el dhcp):
y la salida fue:
DHCP socket: 3
DHCPDISCOVER to 255.255.255.255 port 67
DHCPDISCOVER XID: 2142230604 (0x7FAFD84C)
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 (nfound: 0)
Result=ERROR
Total responses seen on the wire: 0
Valid responses for this machine: 0
CRITICAL: No DHCPOFFERs were received.
si he hecho casi todo..
mi server dhcp esta running
tiene puesto el campo server-identifier con la ip
no tengo firewall levantados en la pc
y los clientes dhcp estan recibiendo ip de ese servidor...
no he podido instalar el paquete dhcping porque no esta disponible en el repositorio de mi empresa..pero hice las otras sugerencias (probe con otra mac fuera de la subred a la que pertenece el dhcp):
Code: Select all
check_dhcp -m [some other mac] -r [IP for some other mac] -t 60 -i eth0 -v
DHCP socket: 3
DHCPDISCOVER to 255.255.255.255 port 67
DHCPDISCOVER XID: 2142230604 (0x7FAFD84C)
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 (nfound: 0)
Result=ERROR
Total responses seen on the wire: 0
Valid responses for this machine: 0
CRITICAL: No DHCPOFFERs were received.