13

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.

10
  • 1
    Are you looking for a tool to pull SNMP statistics from the Cisco router from your computer? Like a MIB browser? Mar 4, 2013 at 9:57
  • actually, for my internship i have to develop a tool to supervise the IP flow, something like nagios or cacti, so i can't install them i have to do something like that. Mar 4, 2013 at 10:01
  • i want to collect info from the cisco router via the commands "get" et build a data base that i can use later. Mar 4, 2013 at 10:07
  • hmm. OK. IP flows are very different(i.e. NetFlow, s-flow, or cflowd). Can you do an snmpwalk of the Cisco router MIB tree from your command line? Is this what you need to get set up? Mar 4, 2013 at 10:11
  • basiclly what i want to do is to communicate with the MIB's router to get infos and store them in a data base. of course to do so i need an SNMP client on my computer+mbrowse and an SNMP agent on the router. the problem that every time i do "get-apt install snmp snmpd mbrowse" it does not work and i don't know why. please help me Mar 4, 2013 at 10:21

1 Answer 1

8

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!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.