To get only string format of OID description??

malar vizhi <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello All,

When I query from HOST-RESOURCES-MIB, I could get proper oid description say
like HOST-RESOURCES-MIB::hrSystemProcesses.0 using snprint_objid() method.
But at the same time when I query from MSSQL-MIB, snprint_objid() method
returns like


enterprises.311.1.4.1.1.1.1.1.21.77.105.99.114.111.115.111.102.116.32.67.111.114.112.111.114.97.116.105.111.110

But I want the output to be like

              MSSQLSERVER-MIB::mssqlSrvVendorName."Microsoft Corporation"

Why these long oid???..How should I avoid this??

While surfing, I came acorss on by setting some NETSNMP_DS_LIB_*
configuration, we could resolve this.These configuration definitions were
defined in default_store.h file. I tried by setting some configuration upto
my knowledge..But I coudn't resolve it. Could any one of  you please tell me
the proper NETSNMP_DS_LIB_* configuration settings need to be done to get
string(readable) oid description instead of this much long oid by using
snprint_objid().

Thanks in Advance
Malar

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

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