Monitor DHCP Server []
Melkiades
melkiades at gmail.com
Fri Apr 21 10:23:55 CEST 2006
> [Rene]
> I don't know if that matters, but I have compiled nagios an the plugings
> (still 1.4.2) by myself. I'm not using the rpm's comming with SuSE.
Hi, me too. I've installed from Nagio's tgz.
# pwd
/opt/nagios/nagios-plugins-1.4.2/plugins
# ls -lsa | grep dhcp
56 -rwxr-xr-x 1 root root 56028 Mar 14 14:57 check_dhcp
36 -rw-r--r-- 1 root root 34869 Jan 25 2005 check_dhcp.c
32 -rw-r--r-- 1 root root 31540 Mar 14 14:57 check_dhcp.o
# rm check_dhcp
# make check_dhcp
gcc -g -O2 -L. -o check_dhcp check_dhcp.o netutils.o utils.o ../lib/libnagiosplug.a ../lib/libcoreutils.a -lnsl -lresolv -I/usr/include
# ls -ls|grep dhcp
56 -rwxr-xr-x 1 root root 56028 Apr 21 10:21 check_dhcp
36 -rw-r--r-- 1 root root 34869 Jan 25 2005 check_dhcp.c
32 -rw-r--r-- 1 root root 31540 Mar 14 14:57 check_dhcp.o
# sudo /opt/nagios/nagios-plugins-1.4.2/plugins/check_dhcp -s my.dhcp.server -v
DHCP socket: 3
Error: Could not bind to DHCP socket (port 68)! Check your privileges...
-------------------------------------------------------
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