Hi
I use 'sudo' with the 'NOPASSWD' option for the dhcp-check - not the best
solution but it works ...
Daniel
Melkiades wrote:
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=k&kid0709&bid&3057&dat1642
_______________________________________________
Nagios-users mailing list
[email protected]
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&kid=120709&bid=263057&dat=121642
_______________________________________________
Nagios-users mailing list
[email protected]
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