Hi,

I am aware that MIB files in NMS are used to translate OID integers in
SNMP GetResponse messages into meaningful names. For example here I
can see that string "Vl290" is an VLAN-interface name:

$ snmpget -Of -v 2c -c public 10.10.10.1 .1.3.6.1.2.1.31.1.1.1.1.290
.iso.org.dod.internet.mgmt.mib-2.ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.290
= STRING: Vl290
$


Without Cisco MIBs I would see:

$ snmpget -m /dev/null -Of -v 2c -c public 10.10.10.1
.1.3.6.1.2.1.31.1.1.1.1.290
.iso.3.6.1.2.1.31.1.1.1.1.290 = STRING: "Vl290"
$


However, are MIB files also used for converting SNMP GetResponse
values? I mean for example "snmpwalk -Ov -v 2c -c public 10.10.10.1
sysUpTimeInstance" returns "Timeticks: (88920401) 10 days,
7:00:04.01", but this conversion is done in snmpget/snmpwalk utility
itself. For example is it possible to define in MIB files that for
example 1099 integer32 value in SNMP GetResponse message should be
understood as 10cm and 99mm and then snmpget/snmpwalk utility will do
such conversions automatically? I tried to find such SNMP objects, but
did not find any.


thanks,
Martin

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to