perl / translateObj

Stuart Kendrick <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization FHCRC
Message-ID <[email protected]>
hi,

i would like to translate an OID into an Object Value:

guru> snmptranslate .1.3.6.1.4.1.9600.1.1.5.1.1.1.48
INFORMANT-STD::cpuInstance."0"
guru>

when i try this in Perl, i don't see the results i was expecting:

guru> cat test
#!/usr/bin/perl
use strict;
use warnings;
use SNMP;
use Perl6::Say;
say SNMP::translateObj('.1.3.6.1.4.1.9600.1.1.5.1.1.1.48');

guru> ./test
cpuInstance.1.48
guru>

what does it take to persuade Perl to translate that .1.48 into ".0" ?

--sk

stuart kendrick
fhcrc



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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.