On Mon, 3 Jan 2005 16:18:46 +0100 Baumgart wrote: BA> This structure get created on bootup. The problem is that the Simis HW BA> could get restarted sometimes, but the "real" snmp agent on a linux box is BA> still running. So i need to reindex the table, and thats impossible as far BA> as i know with snmp.
Isn't there some unique identifier associated with each box? If so, you should use that as the primary index for the table. MIBs aren't designed to be dynamic, representing dynamic data. You can sort of do it with several tables and references between them, but then it requires an intelligent application to to connect them all together. The other approach is to make a table which has a string index to identify the device and parameter name for each value.. eg myDevice.myIntegerTable.myIntegerEntry.myIntValue."device-1"."status" = 5 myDevice.myIntegerTable.myIntegerEntry.myIntValue."device-1"."temp" = 86 myDevice.myIntegerTable.myIntegerEntry.myIntValue."device-3"."status" = 2 -- Robert Story; NET-SNMP Junkie Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users> You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ 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
