I want to install a SNMP client (NOT AGENT) on my computer so I can connect to a Cisco Router on which an SNMP agent is already installed.
The problem that all the documentation I found for Ubuntu were for installing an agent not a client.
I want to install a SNMP client (NOT AGENT) on my computer so I can connect to a Cisco Router on which an SNMP agent is already installed.
The problem that all the documentation I found for Ubuntu were for installing an agent not a client.
As suggested, you should use snmpwalk or snmpget in a script. The package containing snmpwalk and snmpget is "snmp" and the correct syntax for install is:
sudo apt-get install snmp
instead of "get-apt install snmp snmpd mbrowse"
After install, you can do a complete snmpwalk to discover wich of the informations you need from your cisco device and later filter them using snmpwalk otions.
Example:
snmpget -v1 -c public 192.168.0.254 .1.3.6.1.4.1.11.2.14.11.5.1.1.2
Hope this helps!
sudo apt-get install <package-name>
. Also, take a look at my answer here: http://askubuntu.com/questions/141564/what-is-snmp-used-for/252994#252994 as well as the link in there on to how to enable SNMP. You probably do not need to install the snmp just configure it correctly(on both the router and your desktop). – Kevin Bowen Mar 04 '13 at 10:30