Hello group, I'm trying to implement SNMP on an embedded system (using uClinux as the platform) and I'm struggling to figure out the best way of implementing SNMP if the system it is managing is very variable. I've read most of "Understanding SNMP MIBs by Perkins and McGinnis and I think I could create a MIB for a device like a printer but the system I am working on can vary significantly each time it starts up. I was hoping that someone with more experience than me could give me some tips.
The system in question has a number of bays into which plug-in cards can be inserted at any time. Each card can have a completely different set of controls and cards can be hot swapped. The plug-in cards themselves have very limited processing capabilities and can't host their own SNMP agent What I would like to know is: is there a recommended way of dealing with such a system? I could create a MIB that contains the maximum number of controls and events but since there is no way of knowing what card will be plugged in where the control objects will have to be very generic (e.g. all being integer32) with no allowance being made for the properties of the control (for example it might be better as an enumerated integer). This will also mean the MIB is much more complicated than necessary as most of the cards are very simple but the MIB will have to assume the worst case. The other method that I can see is to connect a new subagent each time a card is plugged in and disconnect it when the card is removed but "Understanding SNMP MIBs" seems to suggest that once you have registered an OID you can't change its type or remove it and assign a different item to that OID. This means that this system wouldn't work if a card was hot swapped with one of a different type as control 1 on the old card might be a different type / range to control 1 on the new card. I'm sure that there must be a simple solution to this but I can't see it at present and would be very grateful if somebody could point me in the right direction. Thanks in advance Phil Mason ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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
