Hi,

I'm trying to GET a single value from a custom table using snmpget.

I know you can do this because I've done it with the ifTable:

$ snmpget -c public -v2c hostname ifTable.ifEntry.ifType.1
IF-MIB::ifType.1 = INTEGER: softwareLoopback(24)

However, when I try to do this with my custom table (the key is a DisplayString) i get the following result:

$ snmpget -c public -v2c hostname userTable.userEntry.username."brian"
userTable.userEntry.username.brian: Unknown Object Identifier (Index out of range: brian (username))

(I know that "brian" is a valid entry because I can view the entire table via snmptable and snmpwalk)

How can I access an individual value when the key is a DisplayString? Or am I doing something completely wrong?

Thanks,

Brian


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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

Reply via email to