Help on using 'table_iterator' helper.

helcio silva <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAGMsdVYGWaUZWTdAThbetoFgwkFKeWB966nq_EjQgDZbzCb7MQ@mail.gmail.com>
   Hi, gentlemen.

   Some days ago, I've used 'table_dataset' helper to build a table.
However, there was an error when I was trying to create a row on that
table.

   I've readed on previous messages that 'table_dataset' helper should
be used only when the table contains at least one row. Other helpers
(for example, 'table_iterator') should be used instead.

   When I use mib2c with the proper argument (-c
mib2c.iterate_access.conf), the following files were generated:
--
myTable_access.c
myTable_checkfns.c
myTable_checkfns_local.h
myTable.h
myTable_access.h
myTable_checkfns.h
myTable_columns.h
myTable.c
myTable_checkfns_local.c
myTable_enums.h
--

   After to edit some of them, should I copy every .c and .h file to
'agent/mibgroup/' directory under NET-SNMP installation directory? Is
that correct?

   Thanks in advance.

   Helcio.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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.