iH

i am trying to convert 'entPhysicalVendorType' to its dotted decimal
equivalent. when the following script is run from Macperl the results are

entPhysicalVendorType => entPhysicalVendorType
entPhysicalVendorType => entPhysicalVendorType

any pointers to what i am not doing correctly will be appreciated

thanks


#!/usr/bin/perl

use SNMP::MIB::Compiler;

my $mib = new SNMP::MIB::Compiler;
$mib->add_path('::Desktop Folder:mibs:');
$mib->repository('::Desktop Folder:temp:');

$mib->load('rfc2037v1.mib');
my $node = 'entPhysicalVendorType';
my $oid = $mib->resolve_oid($node);
print "$node => $oid\n";
print "$oid => ", $mib->convert_oid($oid), "\n\n";

-- hcir
mailto:[EMAIL PROTECTED]


Reply via email to