wveagle81 has asked for the wisdom of the Perl Monks concerning the following question:
Hello all! I'm trying to get CPU information from some Cisco switches. I'm using the 'cpmCPUTotalTable' MiB entry to gather that information.
I can get the information using the snmptable and snmpbulkget command line commands.
However, when I try to use the SNMP module (not the Net::SNMP module) to get that same information, I get nothing. No error, no data. I tried using Dump to view the result, and got an empty variable. The same command structure in the same script works when getting other tables (like 'ifTable').
So I'm wondering why the command line commands work and the SNMP module doesn't? Does anyone have any ideas why I'm having this problem?
Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl SNMP gettable vs snmptable and snmpbulkget
by atcroft (Abbot) on Jan 14, 2016 at 22:49 UTC | |
by wveagle81 (Novice) on Jan 20, 2016 at 18:00 UTC |