Page 1 of 1

Nagios Core 4.0.2/Ubuntu Install net-snmp and net-snmp-utils

Posted: Tue Dec 24, 2013 12:26 pm
by brian.castrillon.r
Hi Friends

I have install Nagios Core acording to the Quickstart instalation guide for Ubuntu and i want to monitor network devices like Switch/roter via snmp, in this article http://nagios.sourceforge.net/docs/nagi ... uters.html it says that the prerequisites are: install the net-snmp and net-snmp-utils plugins and they appear on this directory /usr/local/nagios/libexec, i am missing them, anyone know how to install them? can i install them via apt-get or aptitude?

Thanks :D

Re: Nagios Core 4.0.2/Ubuntu Install net-snmp and net-snmp-u

Posted: Wed Dec 25, 2013 1:29 pm
by sreinhardt
Yes, you absolutely should be able to install them via apt-get or aptitude, you will then need to recompile the nagios plugins, as snmp plugins will not be compiled if the dependencies are not met.

Re: Nagios Core 4.0.2/Ubuntu Install net-snmp and net-snmp-u

Posted: Wed Dec 25, 2013 2:01 pm
by brian.castrillon.r
do you know the atp-get command to get the net-snmp and net-snmp-utils? i have submmited this command:

root@nagios:~# apt-get install net-snmp net-snmp-utils
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package net-snmp
E: Unable to locate package net-snmp-utils

thanks :D

Re: Nagios Core 4.0.2/Ubuntu Install net-snmp and net-snmp-u

Posted: Thu Dec 26, 2013 11:04 am
by sreinhardt
Looks like they would be libnet-snmp-perl and snmp, per some various ubuntu forums. It seems the util package is included partially in libnet-snmp and partially in the snmp package.

Re: Nagios Core 4.0.2/Ubuntu Install net-snmp and net-snmp-u

Posted: Mon Jul 07, 2014 3:29 am
by Ladi
Hello Sreinhardt,

am having this issue as well. what can i do install the package?

Regards

Re: Nagios Core 4.0.2/Ubuntu Install net-snmp and net-snmp-u

Posted: Mon Jul 07, 2014 4:01 pm
by lmiltchev
Try running:

Code: Select all

apt-get install snmp
then run:

Code: Select all

dpkg --get-selections | grep snmp
to see what snmp packages you have installed.

Re: Nagios Core 4.0.2/Ubuntu Install net-snmp and net-snmp-u

Posted: Tue Jul 08, 2014 2:29 am
by Ladi
Hello,

after installing , i could see the below .

libsnmp-base
libsnmp15
snmp


am i good to go?

Your response pls.


Regards

Re: Nagios Core 4.0.2/Ubuntu Install net-snmp and net-snmp-u

Posted: Tue Jul 08, 2014 12:42 pm
by lmiltchev
I believe so. Recompile the nagios plugins and see if this will resolve your issue.

Re: Nagios Core 4.0.2/Ubuntu Install net-snmp and net-snmp-u

Posted: Thu Jul 10, 2014 5:55 am
by Ladi
Hi,

Yes everything went fine now. Please i want to monitor some services on my printer. I want to monitor Out of Paper, Toner Low.

I will be glad to hear from u.

Regards

Re: Nagios Core 4.0.2/Ubuntu Install net-snmp and net-snmp-u

Posted: Thu Jul 10, 2014 4:44 pm
by sreinhardt
Locking as you have another thread with this question.