Link to home
Start Free TrialLog in
Avatar of AXISHK
AXISHK

asked on

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:
Avatar of Zephyr ICT
Zephyr ICT
Flag of Belgium image

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

Avatar of AXISHK
AXISHK

ASKER

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
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

Avatar of AXISHK

ASKER

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.
ASKER CERTIFIED SOLUTION
Avatar of Zephyr ICT
Zephyr ICT
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of AXISHK

ASKER

Tks