Page 1 of 1

snmp agent linux

Posted: Tue Jul 01, 2014 6:39 am
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,

Re: snmp agent linux

Posted: Tue Jul 01, 2014 9:08 am
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?

Re: snmp agent linux

Posted: Wed Jul 02, 2014 3:11 am
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

Re: snmp agent linux

Posted: Wed Jul 02, 2014 9:18 am
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.

Re: snmp agent linux

Posted: Wed Jul 02, 2014 2:40 pm
by lcontreras
Have you tried : yum search net-snmp ?

Re: snmp agent linux

Posted: Thu Jul 03, 2014 6:06 am
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

Re: snmp agent linux

Posted: Thu Jul 03, 2014 9:13 am
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.