Install plugin snmp

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
groucho
Posts: 8
Joined: Tue Dec 13, 2011 12:12 pm

Install plugin snmp

Post by groucho »

Hi, I want install snmp plugins.
I want to have in the /usr/local/nagios/libexec my check_snmp. I use ubuntu server. I tried to install nagios-snmp but it's wrong. Help me.
They are inexperienced in nagios.
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Install plugin snmp

Post by jsmurphy »

Have you tried downloading the http://nagiosplugins.org/ package and installing that? There are instructions on how to compile and install it in the tar :)
groucho
Posts: 8
Joined: Tue Dec 13, 2011 12:12 pm

Re: Install plugin snmp

Post by groucho »

Thanks but there is no check_snmp in nagios_plugins-1.4.11!Do I find that in later versions?
I'm sorry for my english :roll:
groucho
Posts: 8
Joined: Tue Dec 13, 2011 12:12 pm

Re: Install plugin snmp

Post by groucho »

I already installed nagios-plugins-1.4.11.tar.gz. There isn't snmp_pluing!
groucho
Posts: 8
Joined: Tue Dec 13, 2011 12:12 pm

Re: Install plugin snmp

Post by groucho »

In the plugins 1.4.11 REQUIREMENT says to install net-snmp.
I did the wget http://sourceforge.net/projects/net-snm ... t-snmp-5.7. 1.tar.gz
then:
tar xzf net-snmp-5.7.1
cd net-snmp-5.7.1
. / configure
make
make all
At this point I recompile the plugin 1.4.11
cd nagios-plugins-1.4.11
./ configure - with-nagios-user = nagios - with-nagios-group = nagios
make
make all
sudo /etc/init.d/nagios reload
check_snmp ... nothing is still in /usr/local/nagios/libexec
Please help me
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Install plugin snmp

Post by jsmurphy »

You did everything correctly... I think it may also require the net-snmp-devel package to compile the snmp plugin.
groucho
Posts: 8
Joined: Tue Dec 13, 2011 12:12 pm

Re: Install plugin snmp

Post by groucho »

Thank you.
I do not know why the check_snmp was in another folder.
I have found with locate, then I used mv and I took it in my folder,it seems to work
I have another problem.
The web interface of nagios me only localhost by default but if I refresh the page by including the components that I'm trying to monitor.
why?I do not know if I was unclear... :oops:
And also why do not I get emails to report this problem?
I thank you again
groucho
Posts: 8
Joined: Tue Dec 13, 2011 12:12 pm

Re: Install plugin snmp

Post by groucho »

Now my Apache ​​got crazy.
It gives this error. :cry:
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: Install plugin snmp

Post by jsmurphy »

You are going to need to need to share a little more information about what you have configured and exactly what errors/problems are appearing if you want useful help ;)
groucho
Posts: 8
Joined: Tue Dec 13, 2011 12:12 pm

Re: Install plugin snmp

Post by groucho »

When I type /etc/init.d/apache2 start I get the following message "/usr/sbin/apache2ctl :134:install:not found httpd (pid1408) already running". Thank you...:D
Locked