On 6 February 2012 03:35, Wei-Cheng Kong <[email protected]> wrote: > However when the notification triggers, I get the following (as observed in > Wireshark): > > SNMPv2-SMI::enterprises.33302.10.2.7.1.2.0 > (1.3.6.1.4.1.33302.10.2.7.1.2.0): noSuchInstance
How is this notification being triggered? There must be some code or configuration that generates this trap. The agent won't do it by magic. > You mentioned that I am required to write code to generate the notification? > So far, I have > only been modifying the MIB files to get traps to be fired. I don't actually believe that. If the only thing you have done is edit the MIB file, then the agent won't do anything at all. It won't implement this object (so you wouldn't be able to retrieve the values) and it won't generate traps if the value goes "out of range". If nothing else, how is it supposed to know what the valid range actually is?! Dave ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ 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
