Monitor DHCP Server []

Melkiades melkiades at gmail.com
Fri Apr 21 08:31:46 CEST 2006


Hi!
--------------------------------------------------------------------------
--------------------------------------------------------------------------
> [D. Wüthrich]
> I use 'sudo' with the 'NOPASSWD' option for the dhcp-check - not the best
> solution but it works ...

# sudo /usr/local/nagios/libexec/check_dhcp my.dhcp.server
Error: Could not bind to DHCP socket (port 68)!  Check your privileges...
--------------------------------------------------------------------------
--------------------------------------------------------------------------
> [C. Bensend]
> You're not on a disk partition mounted nosuid, are you?

Only one "/" partition
# df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda2              3678728   2688596    990132  74% /
tmpfs                   127316         0    127316   0% /dev/shm
--------------------------------------------------------------------------
--------------------------------------------------------------------------
> [SrvFaucon]
> ls -lh
> -rwxr-xr-x    1 root     root         108K Mar  8 11:19 check_dhcp
> Mine is root.root and work for the binding.

# chown root:root /usr/local/nagios/libexec/check_dhcp
#/usr/local/nagios/libexec/check_dhcp -s 10.1.2.97 -v
DHCP socket: 3
Error: Could not bind to DHCP socket (port 68)!  Check your privileges...
--------------------------------------------------------------------------
--------------------------------------------------------------------------

More info:
NAGIOS: SuSE Linux 10 OSS (kernel 2.6.13-15.8-smp) && Nagios v2.1
DHCP: Win2003 + MS DHCP Server

I does not work :-(
Thanks for your help.


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
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