Rép. : [Nagios-users] Monitor DHCP Server []

Serveur-Faucon Surveillance SrvFaucon at cslaval.qc.ca
Thu Apr 20 23:07:56 CEST 2006


ls -lh

-rwxr-xr-x    1 root     root         108K Mar  8 11:19 check_dhcp

Mine is root.root and work for the binding.

---------------------------------------------------
Alexandre Racine - Gardien Virtuel - Sécurité Informatique www.gardienvirtuel.com
Montréal, Québec, Canada

>>> Melkiades <melkiades at gmail.com> 2006-04-20 08:14:22 >>>
Hi there

NAGIOS FAQ F0074: "How do I monitor DHCP services on my network?"

[..]Note that the plugin *must* best installed suid root in order to
run, as it binds to a privileged port (UDP 67) in order to listen to
DHCPOFFER packets.

--------------------------------------------------------------------------------------------------------
#ls -lpsa
 -rwxr-xr-x  1 nagios nagios  56028 Mar 29 09:23 check_dhcp

#./check_dhcp my.dhcp.server
Error: Could not bind to DHCP socket (port 68)!  Check your privileges...

#chown root:nagios check_dhcp
#chmod 4710 check_dhcp

#ls -lpsa
 -rws--x---  1 root nagios 56028 Mar 29 09:23 check_dhcp

#./check_dhcp my.dhcp.server
Error: Could not bind to DHCP socket (port 68)!  Check your privileges...
--------------------------------------------------------------------------------------------------------

Any help?
Thanks!


-------------------------------------------------------
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



-------------------------------------------------------
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