snmpwalk

for the command below, does 1.3.6.1.4.1.2021.8.1.101 mean MIB, and the output refer to individual OID.

How can I check the detail of MIB & OID from a Linux server ? Tks

-------
snmpwalk -v2c xxxxxxx -c xxxxx 1.3.6.1.4.1.2021.8.1.101

UCD-SNMP-MIB::extOutput.1 = STRING: 4670
UCD-SNMP-MIB::extOutput.2 = STRING: 512
UCD-SNMP-MIB::extOutput.3 = STRING: 0
UCD-SNMP-MIB::extOutput.4 = STRING: 0
UCD-SNMP-MIB::extOutput.5 = STRING: /bin/cat: /tmp/apache_log_stat/all_total_size: No such file or directory
UCD-SNMP-MIB::extOutput.6 = STRING: 53
UCD-SNMP-MIB::extOutput.7 = STRING: 0
UCD-SNMP-MIB::extOutput.8 = STRING: 0
UCD-SNMP-MIB::extOutput.9 = STRING: 0
UCD-SNMP-MIB::extOutput.10 = STRING: /bin/cat: /tmp/apache_log_stat/policyaddress_total_size: No such file or directory
UCD-SNMP-MIB::extOutput.11 = STRING: 104
UCD-SNMP-MIB::extOutput.12 = STRING: 2
UCD-SNMP-MIB::extOutput.13 = STRING: 0
UCD-SNMP-MIB::extOutput.14 = STRING: 0
UCD-SNMP-MIB::extOutput.15 = STRING: /bin/cat: /tmp/apache_log_stat/budget_total_size: No such file or directory
UCD-SNMP-MIB::extOutput.16 = STRING: 0
UCD-SNMP-MIB::extOutput.17 = STRING: 47
UCD-SNMP-MIB::extOutput.18 = STRING: 337
UCD-SNMP-MIB::extOutput.19 = STRING:
AXISHKAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Zephyr ICTCloud ArchitectCommented:
What kind of detail are you looking for?

You can for example do something like this to see details of an OID:

# snmpwalk -v 2c -c user host.domain.com system

Open in new window


This will give you all the details of that OID, in that list you have for example "sysDescr.0", which you can call directly with

# snmpwalk -v 2c -c user host.domain.com sysDescr

Open in new window

0
AXISHKAuthor Commented:
The result is passed by my supervisor to get some data from Apache such as invalid request, large object request...

My question is
- how to get 1.3.6.1.4.1.2021.8.1.101 ?
- how to know which OID is the data that I need ... ?

Tks
0
Zephyr ICTCloud ArchitectCommented:
You can search OID's here, that might give you an idea on what to use in your snmpwalk,

Your specific OID refers to "extOutput", so you could try:

# snmpwalk -v 2c -c user host.domain.com extOutput

Open in new window

0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

AXISHKAuthor Commented:
To clarify my understanding,

Using your provided link : http://www.oid-info.com/get/1.3.6.1.4.1.2021.8.1.101, it return
"extOutput". So, "1.3.6.1.4.1.2021.8.1.101" point to OID extOutput and the output return the subset  (UCD-SNMP-MIB::extOutput.1,  UCD-SNMP-MIB::extOutput.2 ,   UCD-SNMP-MIB::extOutput.3 ) under it, correct ?

Actually, I need to find out out each of these value represenent. Where can I get more detail. We are monitoring our Redhat Apache server...

Thanks again.
0
Zephyr ICTCloud ArchitectCommented:
I've answered this in your new question as well:

There's not much details to be found on OIDs, you can check the Internet for it...
Use the OIDs that are plain text. like posted here
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AXISHKAuthor Commented:
Tks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Network Management

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.