This is a discussion on Re: Creating a row in a conceptual table - SNMP ; 2008/10/20 Mike Jones : > My understanding is that I should be sending a set request for the oid > of a table with the status of CreateAndGo or CreateAndWait. A SET request with the OID of the RowStatus column, ...
2008/10/20 Mike Jones:
> My understanding is that I should be sending a set request for the oid
> of a table with the status of CreateAndGo or CreateAndWait.
A SET request with the OID of the RowStatus column, yes.
> I also looked at the snmpset tool, hoping to find a way to create
> the row that way.
Correct
> but it looks like there are no options to use the status
> CreateAndGo or CreateAndWait, due to snmpset expecting agent oid type value
snmpset ..... nsDebugTokenStatus.'newindex' i createAndGo
or
snmpset ..... nsDebugTokenStatus.'newindex' i 4
The value is either "createAndGo" (i.e. 4) or "createAndWait" (i.e. 5)
Note that SNMP enumerations are case sensitive, so values of
"CreateAndGo" or "CreateAndWait" won't be recognised.
Dave
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.p...r_id=100&url=/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users