snmp agent linux

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
hanya.radwan
Posts: 194
Joined: Tue Feb 25, 2014 6:12 am
Location: palestine

snmp agent linux

Post by hanya.radwan »

hi,

please can you send me the instructions for installing snmp on linux and the snmp agent for linux. I have this one
http://assets.nagios.com/downloads/nagi ... g_SNMP.pdf
but yum command not work
I tried to install net-snmp from external link , but how can I know the fit version and where can I find the installation instruction.

also can I use linux snmp

thanks,
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: snmp agent linux

Post by tmcdonald »

What specifically do you mean by yum not working?

1.) Does it give any sort of error message?
2.) What OS and version is this on?
3.) If it is RedHat, are you subscribed to the RedHat Network?
4.) Is the device Internet-connected?
5.) Are there any proxies or firewalls that may be blocking updates?
Former Nagios employee
hanya.radwan
Posts: 194
Joined: Tue Feb 25, 2014 6:12 am
Location: palestine

Re: snmp agent linux

Post by hanya.radwan »

this is the error:

[root@ss1 ~]# yum install net-snmp
Loading "security" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Parsing package install arguments
No package net-snmp available.
Nothing to do

and server Redhat and not connected to internet , also I can't connect to internet based on policy on the company and no firwall
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: snmp agent linux

Post by tmcdonald »

Grab the latest net-snmp source:

http://sourceforge.net/projects/net-snm ... p/5.7.2.1/

Should be as easy as a configure, make, make install. Like any other standard source compilation.
Former Nagios employee
lcontreras
Posts: 48
Joined: Thu Sep 13, 2012 7:15 pm

Re: snmp agent linux

Post by lcontreras »

Have you tried : yum search net-snmp ?
hanya.radwan
Posts: 194
Joined: Tue Feb 25, 2014 6:12 am
Location: palestine

Re: snmp agent linux

Post by hanya.radwan »

I installed before this release net-snmp-5.6.2.1.tar.gz.
but I can't find snmpd service or snmp service or snmpd.conf

so can I unistall it
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: snmp agent linux

Post by slansing »

To uninstall something compiled from source you'd generally remove the binaries and the files/folders that were created during the compilation. Just because you can't find them does not mean that they don't exist, I suggest using a tool such as find or locate to search for the files by name to see where they were placed. On the note of yum on your system, it clearly stated that:
This system is not registered with RHN.
In most cases, if your RHEL server is not registered you will not be able to talk to some standard repo's such as epel, etc. You need to have a licensed and registered copy of your software to use it properly.
Locked