LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-04-2011, 10:02 AM   #1
jsurles
Member
 
Registered: Feb 2007
Location: Katy, TX
Distribution: gentoo, slackware, centos, ESX, gnu/linux
Posts: 34

Rep: Reputation: 15
How do you get snmpwalk to return numeric oids instead of MIB resolutions?


Hello,

I'm trying to find the full numeric OID's for a device. I'm able to do an snmpwalk on the device and get a ton of data, however, I don't want the pretty names, I just want the numeric OIDs. I would have thought this was relatively easy, and I'm sure I did it years ago.. but for now, I can't find a "built-in" way to do it.

Currently using net-snmp..

I get:

DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (23800418) 2 days, 18:06:44.18

I want:

.1.3.6.1.2.1.1.3.0 = Timeticks: (23800418) 2 days, 18:06:44.18

Any information/resources you can provide would be greatly appreciated.
 
Old 04-05-2011, 07:52 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Use the '-On' option, according to 'man snmpcmd':

Code:
snmpwalk -v2c -On -c public localhost
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] snmp: where are the MIB files for OIDs reported through snmpd? eantoranz Linux - Server 1 03-22-2011 10:15 AM
convert numeric SNMP MIB OID to symbolic m4rtin Linux - Server 1 08-14-2009 01:52 PM
Writable OIDs? Lander Linux - Software 0 06-19-2006 11:43 AM
Virtual resolutions + Magnifier = Higher Resolutions? equinoxe5 Linux - Software 1 01-14-2006 07:01 AM
how to find oids JJX Linux - Networking 4 10-04-2005 04:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration