RE: Are MIB files also used for converting SNMP GetResponse *values*?

"Robson, Alan" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <2228BF4A620F664B97F85AF2B5E7507C01DC13FC27@wdc1exchmbxp02.hq.corp.viasat.com>
Look for display hints in, for example, the TC MIB here: https://tools.ietf.org/html/rfc2579

Alan



-----Original Message-----
From: Martin T [mailto:[email protected]] 
Sent: Friday, July 10, 2015 8:16 AM
To: [email protected]
Subject: Are MIB files also used for converting SNMP GetResponse *values*?

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://urldefense.proofpoint.com/v2/url?u=https-3A__www.gigenetcloud.com_&d=AwICAg&c=jcv3orpCsv7C4ly8-ubDob57ycZ4jvhoYZNDBA06fPk&r=xN9AnMDZvO_QvUZQZcoply6WFqSJuNcpv-dDu2fA4Ac&m=6brGINoLpvJRmK4MLyMni9lNOVy_2TcTl-YHQNIbKSU&s=c2PFYPDbUw3Pfgd2bNEhpFCwKmaPk3H0f02UtAc--1g&e=
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_net-2Dsnmp-2Dusers&d=AwICAg&c=jcv3orpCsv7C4ly8-ubDob57ycZ4jvhoYZNDBA06fPk&r=xN9AnMDZvO_QvUZQZcoply6WFqSJuNcpv-dDu2fA4Ac&m=6brGINoLpvJRmK4MLyMni9lNOVy_2TcTl-YHQNIbKSU&s=6LQOWfydSRWtDL_GeoyFKeWHX_pYb-xzfL_GI9InFP0&e= 

------------------------------------------------------------------------------
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
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.