On 24 November 2011 14:55, prashant n <[email protected]> wrote: > As a start up to understand DisMan Event functionality , i want to monitor > the Scalar object in the MIB file using DisMan Event MIB and i want to send > trap by the agent depends on state change in the value (or some condition) > of the Scalar object
Is this scalar object currently implemented? If you issue a GET request for it, do you get an answer? That's definitely the first step. There's no point in thinking about DisMan until the objects to be monitored are in place. The second pre-requisite is familiarity with SNMPv3. DisMan Event monitoring relies on internal "loopback" queries, which are implemented using SNMPv3. Have you tried using SNMPv3 yet? If not, then I'd suggest you give this a go first. > 2) Can i use perl script snmpconf ? [to add DisMan monitoring] Honest answer - I don't know. Personally I rarely bother with snmpconf - the config file is a simple text file, so it's easier just to edit this by hand. > 3) In the MIB file, i need to write for handling trap , is it ? I really don't know what you're asking here. The MIB file is there to define the syntax and semantics of MIB objects - including SNMP notifications. It will define what a particular trap means, when it should be triggered, and what information it should contain. It is not used for "handling" the trap - either actually generating the trap, or processing it in a trap receiver (other than possibly converting the numeric OID to a textual name). The MIB file is best thought of as a design document, which will guide the programmer when they come to implement that particular object or trap. Other than that, I'm not sure what you are asking here. Dave ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
