Problem querying table

Chris Smith <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

I've implemented a small table in a subagent and I think I'm having
problems querying it.  The table has two indexes, one of which is a
string.  If I execute snmpwalk on the table, it correctly returns the data:

myColumn.1."ABC" = INTEGER: 1

But if I try to snmpget myColumn.1."ABC", I get an error: Unknown Object
Identifier (Index out of range: "ABC" ).  However, it does work if I
just try the first index (snmpget myColumn.1), giving the same result as
snmpwalk above.

Am I using snmpget incorrectly, or is this an indication of an error
with my subagent?

Thanks,
Chris
-- 
Chris Smith <[email protected]>

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.