This is weird. Nagios by itself doesn't open any sockets to listen on. What command are you running that generates this error? Furthermore, are you running that command as root?Jessuzz94 wrote:Error: Could not bind socket to interface eth0. Check your privileges
Why installed nagios plugins doesnt work?
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Why installed nagios plugins doesnt work?
Re: Why installed nagios plugins doesnt work?
just the check_dhcp, i run it as root and normal user
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Why installed nagios plugins doesnt work?
Lots of confusion:
has nothing to do with the originally stated problem:Jessuzz94 wrote:check_dhcp
Is it possible you're trying to install nagios and also plugins on your dhcp server? This is not the right approach. You shouldn't have to install anything on the remotely monitored dhcp server.Jessuzz94 wrote:When i put the command "systemctl status nagios.service it trhows me:
Code: Select all
Failed to start LSB: Starts and stops the Nagios monitoring server.
Re: Why installed nagios plugins doesnt work?
The issue is that i only want to test plugins in the linux server, its not a dhcp server, but if its not, it should be show CRITICAL or something in the check_dhcp plugin, the problem is that some plugins doesnt work, i only testing plugins if in one future i could use they.
Re: Why installed nagios plugins doesnt work?
So all you want to do is test the plugins and not setup Nagios for monitoring?
Can you show us which plugins you are running, how you ran them and the output from running the plugins?
Can you show us which plugins you are running, how you ran them and the output from running the plugins?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Why installed nagios plugins doesnt work?
i only change to the plugins diretory ( cd /usr/local/nagios/libexec ) and run the ./check_dhcp command to test and shows me the thing of privileges, i have seen some issue with two plugins, i do a "ls" in the ibexec directory and it shows me all the plugins but the check_dhcp and check_icmp are shading in red, most of plugins are writted in green, and few in blue, what means?
Re: Why installed nagios plugins doesnt work?
The colors are normal, that is what you should be seeing. Green for example is an executable file. Blue is a directory. The red may look alarming but it is normal, can you still run it?Jessuzz94 wrote:i only change to the plugins diretory ( cd /usr/local/nagios/libexec ) and run the ./check_dhcp command to test and shows me the thing of privileges, i have seen some issue with two plugins, i do a "ls" in the ibexec directory and it shows me all the plugins but the check_dhcp and check_icmp are shading in red, most of plugins are writted in green, and few in blue, what means?
Code: Select all
/usr/local/nagios/libexec/./check_icmp -hFormer Nagios Employee.
me.
me.
Re: Why installed nagios plugins doesnt work?
It work in nagios with ubuntu server, not work 100% it basically says that i need to put more arguments, but in my actual centOS its throws me the same thing, the privileges
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Why installed nagios plugins doesnt work?
hsmith wrote:Can you please include some output of the errors you are getting?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Why installed nagios plugins doesnt work?
Is the only out put that it trhows me, like i said up