Hello,
i need to poll a device to get its physicalEntity information. I was using SNMP
perl module to do that .. But it seems to be stripping out some information in
its response ...
for example:
i tried to do get_bulk_request call on .1.3.6.1.2.1.47.1.1.1.1.2 OID
and snippet from Dumper of its response looks like,
bless( [
'.1.3.6.1.2.1.47.1.1.1.1.2',
'3000',
'WS-X6748-GE-TX CEF720 48 port 10/100/1000mb
Ethernet Rev. 2.6',
'OCTETSTR'
], 'SNMP::Varbind' ),
bless( [
'.1.3.6.1.2.1.47.1.1.1.1.2',
'3003',
'module 3 outlet temperature Sensor',
'OCTETSTR'
], 'SNMP::Varbind' ),
after iid 3000, it goes directly to 3003. (and i verified that '3001' and
'3002' is nowhere there in response )
but using snmpbulkwalk tool it shows the correct output.
SNMPv2-SMI::mib-2.47.1.1.1.1.2.3000 = STRING: "WS-X6748-GE-TX CEF720 48 port
10/100/1000mb Ethernet Rev. 2.6"
SNMPv2-SMI::mib-2.47.1.1.1.1.2.3001 = STRING: "module 3 power-output-fail
Sensor"
SNMPv2-SMI::mib-2.47.1.1.1.1.2.3002 = STRING: "module 3 insufficient cooling
Sensor"
SNMPv2-SMI::mib-2.47.1.1.1.1.2.3003 = STRING: "module 3 outlet temperature
Sensor
its for the same device and i ran both of this at same time.
there are lot other information getting stripped out from the response
similarly and it occurs everytime and it strips out same information everytime
..
also, if i poll for 1.3.6.1.2.1.47.1.1.1.1, it is stripping out some
information consistently and if poll for 1.3.6.1.2.1.47.1.1.1.1.2, it is
stripping out some other information consistently..
i am using latest version of SNMP module available in cpan (5.0401) ..
please let me know if i need to provide more information ..
A.Alagarsamy
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
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