array-user question
"Mats M Lindberg" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi! I have a question about an array-user table generated mib. My table consist of Id (integer) and Value (integer) columns. The Id is similar to the index and is not-accessible and the Value is readable with the snmpget. I would like to initiate the table with for instance id = 1 to id = 100 and the values should be set to zero in the beginning. Im not successful when creating new rows in the table. Now I invoke the creation_row from the template code in the init_nameTable method and it seems to work for one row. But I would like to inititate the hole table. Questions: How should I do to create rows the right way? If I would like to set a certain id/index to a certain value, how should I do that. Now, its always id/index 1 that is set to the default value I have decided in the method create_row. Thanks in advance! /Mats _______________________________ Mats M Lindberg Software Engineer Teligent AB Konsul Jonssons väg 17 P.O. Box 213 SE 14923 Nynäshamn mail: <mailto:[email protected]> mats.m.lindberg <mailto:[email protected]> @teligent.se web: <http://www.teligent.se/> www.teligent.se phone: +46 (0)8 410 17261 mobile: +46 (0)733 117261 fax: +46 (0)8 520 193 36 _______________________________ ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ 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