Page 1 of 2

Install plugin snmp

Posted: Tue Dec 13, 2011 12:20 pm
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.

Re: Install plugin snmp

Posted: Tue Dec 13, 2011 4:06 pm
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 :)

Re: Install plugin snmp

Posted: Wed Dec 14, 2011 3:05 am
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:

Re: Install plugin snmp

Posted: Wed Dec 14, 2011 4:07 am
by groucho
I already installed nagios-plugins-1.4.11.tar.gz. There isn't snmp_pluing!

Re: Install plugin snmp

Posted: Wed Dec 14, 2011 10:41 am
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

Re: Install plugin snmp

Posted: Wed Dec 14, 2011 4:53 pm
by jsmurphy
You did everything correctly... I think it may also require the net-snmp-devel package to compile the snmp plugin.

Re: Install plugin snmp

Posted: Fri Dec 16, 2011 11:53 am
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

Re: Install plugin snmp

Posted: Fri Dec 16, 2011 12:24 pm
by groucho
Now my Apache ​​got crazy.
It gives this error. :cry:

Re: Install plugin snmp

Posted: Sun Dec 18, 2011 4:55 pm
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 ;)

Re: Install plugin snmp

Posted: Mon Dec 19, 2011 3:04 am
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