wveagle81 has asked for the wisdom of the Perl Monks concerning the following question:
I'm using the "Baytech-MIB-413-1" MiB file and the Perl module SNMP to retrieve data from an MMP-11 power strip.
When I use the "getnext" function, I'm able to get all of the data I need, but it's cumbersome to read tables this way. So I switched to using the "gettable" function. It works well for all of the tables I'm reading, except for:
sBTAModulesRPCCircuitsTable (or sBTAModulesRPCBreakersTable)
sBTAEnvironmentalObjectsTable
With the sBTAModulesPRPCCircuitsTable I get the following message:
ack: gettable failed to find any columns to look for
With the sBTAEnvironmentalObjectsTable I get the following messages:
***** ERROR parsing .1.3.6.1.4.1.4779.1.6.2.1.13.2.1.1 MIB indexes: spcEnvironmentalStateTrapEn.2.1.1 => netsnmp_oidPtr should be an array expected # indexes = 2 ***** ERROR parsing .1.3.6.1.4.1.4779.1.6.2.1.13.2.1.2 MIB indexes: spcEnvironmentalStateTrapEn.2.1.2 => netsnmp_oidPtr should be an array expected # indexes = 2
The Environmental one *does* return data for the sensors (we don't have any external sensors installed so the data is bogus) but the Circuits table returns just that error.
If anyone could help me with these issues I'd appreciate it. I have sent the same question to Baytech support but I'm thinking I'll get a faster response from this group.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Querying Baytech MMP-11 Power Strips using SNMP
by FreeBeerReekingMonk (Deacon) on Jun 05, 2015 at 22:50 UTC | |
by wveagle81 (Novice) on Jun 11, 2015 at 19:45 UTC | |
|
Re: Querying Baytech MMP-11 Power Strips using SNMP
by akuk (Beadle) on Jun 06, 2015 at 07:01 UTC | |
by wveagle81 (Novice) on Jun 11, 2015 at 19:52 UTC | |
by akuk (Beadle) on Jun 12, 2015 at 12:25 UTC | |
by wveagle81 (Novice) on Jun 12, 2015 at 13:43 UTC | |
|
Re: Querying Baytech MMP-11 Power Strips using SNMP
by wveagle81 (Novice) on Jun 12, 2015 at 13:49 UTC |