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

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.
Locked
brian.castrillon.r
Posts: 2
Joined: Tue Dec 24, 2013 11:28 am

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

Post 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
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

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

Post 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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
brian.castrillon.r
Posts: 2
Joined: Tue Dec 24, 2013 11:28 am

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

Post 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
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

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

Post 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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Ladi
Posts: 46
Joined: Tue Nov 06, 2012 3:27 am

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

Post by Ladi »

Hello Sreinhardt,

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

Regards
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

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

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Ladi
Posts: 46
Joined: Tue Nov 06, 2012 3:27 am

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

Post by Ladi »

Hello,

after installing , i could see the below .

libsnmp-base
libsnmp15
snmp


am i good to go?

Your response pls.


Regards
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

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

Post by lmiltchev »

I believe so. Recompile the nagios plugins and see if this will resolve your issue.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Ladi
Posts: 46
Joined: Tue Nov 06, 2012 3:27 am

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

Post 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
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

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

Post by sreinhardt »

Locking as you have another thread with this question.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked