|
From: jm b. <jmm...@ca...> - 2011-04-06 14:25:50
|
Hi,
I try the Netdisco VM appliance, and I trying to get just topology informations (the goal it's to check the topology security of my networks), in the VM appliance, I can ask my equipments and get the informations I look for.
I need to use the same perl script under windows, so I decide to use Xampp.
NetSNMP and SNMP-Info-2.00 are installed and works under Perl (Xampp use), the only problem it's he mibs, I get the Netdisco Mibs (from the netdisco-1.0_with_mibs.tar tarball) and put it in G:\usr\share\snmp\mibs (where g:\usr is the root directory of NetSNMP).
When I use the same perl script that works on Netdisco VM :
>perl test_class.pl -d 164.1.123.4 -s zzzzz -x -c SONMP
Class SNMP::Info::SONMP loaded.
Cannot find module (S5-ETH-MULTISEG-TOPOLOGY-MIB): At line 1 in (none)
The S5-ETH-MULTISEG-TOPOLOGY-MIB did not load. See README for SNMP::Info::SONMP
at test_class.pl line 54
Then I take the s5emt.mib file in nortel folder and put it in G:\usr\share\snmp\mibs whith S5-ETH-MULTISEG-TOPOLOGY-MIB name, and retry again.
>perl test_class.pl -d 164.1.123.4 -s zzzzz -x -c SONMP
Class SNMP::Info::SONMP loaded.
Cannot find module (SYNOPTICS-ROOT-MIB): At line 8 in g:/usr/share/snmp/mibs/S5-
ETH-MULTISEG-TOPOLOGY-MIB
Cannot find module (S5-ROOT-MIB): At line 10 in g:/usr/share/snmp/mibs/S5-ETH-MU
LTISEG-TOPOLOGY-MIB
Did not find 'SnpxChassisType' in module #-1 (g:/usr/share/snmp/mibs/S5-ETH-MULT
ISEG-TOPOLOGY-MIB)
Did not find 'SnpxBackplaneType' in module #-1 (g:/usr/share/snmp/mibs/S5-ETH-MU
LTISEG-TOPOLOGY-MIB)
Did not find 's5EnMsTop' in module #-1 (g:/usr/share/snmp/mibs/S5-ETH-MULTISEG-T
OPOLOGY-MIB)
Unlinked OID in S5-ETH-MULTISEG-TOPOLOGY-MIB: s5EnMsTopSrcMac ::= { s5EnMsTop 4
}
Undefined identifier: s5EnMsTop near line 46 of g:/usr/share/snmp/mibs/S5-ETH-MU
LTISEG-TOPOLOGY-MIB
Unlinked OID in S5-ETH-MULTISEG-TOPOLOGY-MIB: s5EnMsTopBdg ::= { s5EnMsTop 3 }
Undefined identifier: s5EnMsTop near line 44 of g:/usr/share/snmp/mibs/S5-ETH-MU
LTISEG-TOPOLOGY-MIB
Unlinked OID in S5-ETH-MULTISEG-TOPOLOGY-MIB: s5EnMsTopNmm ::= { s5EnMsTop 2 }
Undefined identifier: s5EnMsTop near line 42 of g:/usr/share/snmp/mibs/S5-ETH-MU
LTISEG-TOPOLOGY-MIB
Unlinked OID in S5-ETH-MULTISEG-TOPOLOGY-MIB: s5EnMsTopInfo ::= { s5EnMsTop 1 }
Undefined identifier: s5EnMsTop near line 40 of g:/usr/share/snmp/mibs/S5-ETH-MU
LTISEG-TOPOLOGY-MIB
Unlinked OID in S5-ETH-MULTISEG-TOPOLOGY-MIB: s5EthMultisegTopologyMib ::= { s5E
nMsTop 0 }
Undefined identifier: s5EnMsTop near line 14 of g:/usr/share/snmp/mibs/S5-ETH-MU
LTISEG-TOPOLOGY-MIB
The S5-ETH-MULTISEG-TOPOLOGY-MIB did not load. See README for SNMP::Info::SONMP
at test_class.pl line 54
It seems that only the files in G:\usr\share\snmp\mibs are load.
how can I do to resolv this ?
Thanks
|