Re: Adding row indices for a new table row created by a manager

2011-01-13 Thread Dave Shield
On 13 January 2011 23:16, Homan, Dave wrote: >> What does "snmpgetnext" report when given the same OID as "snmpwalk" ? >> i.e. >>    snmpgetnext -v 2c -c localhost .1.3.6.1.4.1.31409.3.19.1 > snmpgetnext -v 2c -c localhost .1.3.6.1.4.1.31409.3.19.1 > SNMPv2-MIB::snmpSetSerialNo.0 = INTEGER: 176

RE: Adding row indices for a new table row created by a manager

2011-01-13 Thread Homan, Dave
-snmp-users@lists.sourceforge.net; Kaba, James T. Subject: Re: Adding row indices for a new table row created by a manager On 13 January 2011 22:44, Homan, Dave wrote: > snmpwalk -v 2c -c localhost .1.3.6.1.4.1.31409.3.19.1 > SNMPv2-SMI::enterprises.31409.3.19.1 = No Such Object available o

RE: Adding row indices for a new table row created by a manager

2011-01-13 Thread Homan, Dave
On 12 January 2011 16:02, Homan, Dave wrote: > It appears that the NetSNMP table_dataset.c code DOES create a new row, based > on the 'createAndGo' setting of my RowStatus object, but does not change it > to 'active'. OK - so one issue is the handling of RowStatus values. > The problem seems to

Re: Adding row indices for a new table row created by a manager

2011-01-13 Thread Dave Shield
On 13 January 2011 22:44, Homan, Dave wrote: > snmpwalk -v 2c -c localhost .1.3.6.1.4.1.31409.3.19.1 > SNMPv2-SMI::enterprises.31409.3.19.1 = No Such Object available on this agent > at this OID > > Repeated calls to snmpgetnext seem to work: > > snmpgetnext -v 2c -c localhost .1.3.6.1.4.1.3140

Re: Adding row indices for a new table row created by a manager

2011-01-12 Thread Dave Shield
On 12 January 2011 16:02, Homan, Dave wrote: > It appears that the NetSNMP table_dataset.c code DOES create a new row, based > on the 'createAndGo' setting of my RowStatus object, but does not change it > to 'active'. OK - so one issue is the handling of RowStatus values. > The problem seems to

RE: Adding row indices for a new table row created by a manager

2011-01-12 Thread Homan, Dave
> Can someone please clarify how (or if) table_dataset.c creates indices for > new rows if the values are NOT specified in an SNMP SET request? How is it possible to send such a request? There must be some varbind within the SET request that is used to trigger the creation of the row. This will

Re: Adding row indices for a new table row created by a manager

2011-01-12 Thread Dave Shield
On 11 January 2011 22:45, Homan, Dave wrote: > Can someone please clarify how (or if) table_dataset.c creates indices for > new rows if the values are NOT specified in an SNMP SET request? How is it possible to send such a request? There must be some varbind within the SET request that is used t

Adding row indices for a new table row created by a manager

2011-01-11 Thread Homan, Dave
Hi all, I am using NetSNMP 5.5, and have created a simple subagent using mib2c.create-dataset.conf to manage a table. I've had great success using the table data set handler, but now I want to support row creation from an SNMP manager. Can someone please clarify how (or if) table_dataset.c crea