Translating OIDs to readable text format
John Trivolta <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hello In my perl program, am using SNMP modules & have loaded few MIBs. I would like to translate ASN.1 notation to textual format only on demand basis. My perl program is as follows: #!/usr/bin/perl … use strict; use SNMP; my $text = SNMP::translateObj (“.iso.org.dod.internet.private.enterprises.2496.1.1.5.5.1”); $text is having the value as : tpAlarmId This is fine. But all the OIDs that processed through this PERL program are also getting translated. I don’t want this to happen. I want the translation to happen only for the statements in which I invoke translateObj method. Could someone let me know, how to solve this problem, please ? Registered in this mailer list just now. So, please include my email id in your replies. Thanks ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ 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