Re: Add/delete/modify table entries
Sylvain Dery <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Ok, I found my answers by looking at agent/mibgroup/if-mib, in particular the ifTable_container_load() function defined in the ifTable_data_access.c file. Sylvain ________________________________ From: Sylvain Dery <[email protected]> To: [email protected] Sent: Mon, April 26, 2010 2:59:49 PM Subject: Add/delete/modify table entries Hi, I defined a very simple table, it contains a DeviceName and a StateOfDevice element. The table is read-only and new entries cannot be created by snmp managers. My snmp agent needs to dynamically add, modify and delete entries in the table at run time. I generated the code using the "mib2c -c mib2c.mfd.conf xyz" I initialized the table in the xyz_container_load() function. That part is working just fine. But which methods are available for deleting/adding modifying table entries from the agent? Any help would be greatly appreciated... ------------------------------------------------------------------------------ _______________________________________________ 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