I have a private MIB implemented in the Net-SNMP agent. Several objects 
defined in this MIB can be retrieved from external electronic devices 
connected to the agent embedded PC by a serial RS232 bus. So I have a 
MIB sub-tree related to Device1, another sub-tree for Device2 and so on.

I want to define and send a generic "device fault" trap when a device 
stops communicating with the agent on the serial bus.

If the main MIB tree is .mymib, Device1 is .mymib.Device1, Device2 is 
.mymib.device2 and so on, could I define two generic notifications 
immediately under .mymib, such as

   .mymib.notifDeviceDown
   .mymib.notifDeviceUp

with the payload composed by one scalar variable with MAX-ACCESS 
accessible-for-notify, such as

   .mymib.notifDeviceUpDownOID

that will assume the values .mymib.Device1 or .mymib.Device2 and so on?

My doubt comes from the fact that .mymibDevice1 isn't a "real" variable 
(I can't make a GET on it, I think I'd receive noSuchInstance error), 
but only a "tree" identifier. Is it corret to assign this "tree OID" to 
.mymib.notifDeviceUpDownOID that has a OID type?


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to