I’m currently running nagios 2.5 on freebsd 6.0. I’m trying to get check_dhcp to check my windows 2000 dhcp server, and evertime I try to run the check manually, I get the following:

#/usr/local/libexec/nagios/check_dhcp -v
DHCP socket: 3
Error: if_nametoindex error - Device not configured.

Any ideas?


FreeBSD doesn’t use the generic eth0/eth1 etc. names for it’s network cards. Run ‘ifconfig’ and see what your network cards are called, then use the ‘-i em0’ (or whatever it is for you) along with the check_dhcp command.

Steve :slight_smile: