Error with check_dhcp
Matthieu Parisot
mat at avedya.com
Mon Feb 24 17:57:54 CET 2003
Probably that you tried under the "root" user; to be sure of that just
do "su - nagios"
and try again to see if it stills fails. If the problem is here, try to
add SUID bit to check_dhcp binary, chown it to root, and it
should work... The solution is a bit piggy because an exploit in
check_dhcp could lead to local root compromise;
The problem must be that DHCP needs a privileged port, what the nagios
user is not supposed to need.
Mat
Steve Dussaux wrote:
>I have successfully compiled check_dhcp and try in cmd line.
>I've got an answer from the plugin.
>But since i try to use in through Nagios i have this error msg in Nagios Web interface :
>
>Error: Could not bind to DHCP socket (port 68)! Check your privileges...
>
>
>I don't understand why this plugin works in cmd line and doesn't through Nagios core program...
>Any idea ?
>
>Thanks,
>Steve
>
>___________________________________________________________
>Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
>Yahoo! Mail : http://fr.mail.yahoo.com
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>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
>
>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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