Hi Dave,
            * Thanks for your valuable feedback.*
   Now i got configuring  trap destinations with community string. In the
previous mail you told something like

*"So in the case of the Net-SNMP trap receiver (snmptrapd),
you would need something like

   authCommunity   log,execute,net    public

on the local host, and

   authCommunity   log,execute,net    private

on 10.11.12.13"*
*
*
*
*
*Please guide me on following things regarding configuring notification
receiver (**snmptrapd.conf) *
*
*
1) Whether i need to write above directive(*authCommunity)* in
snmptrapd.conf configuration file ?

2) Whether any other directives i need to add in  snmptrapd.conf
configuration file in order to receive notification ?

3) Where i need to move snmptrapd.conf configuration file i,e location
after writing it ?

4) How to start snmptrapd on manager side ?


*Coming to Implementation of Scalar object :*
* *
I created MIB file for simple scalar object and wrote MIB module for that ,
compiled with the agent , finally i am able to get the data when i do the
GET request and i am able to set the data also using SET request.


*
*
 *Please suggest me on following things*
*
*
1) I want to send SNMP v2 traps by the SNMP agent. So in the previous mail
you told some thing like

*"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"*
*
*
I did not get this. So how to send SNMP v2 traps?


2) Now can you guide me the  flow for DisMan Event monitoring of scalar
object for sending SNMP v2 traps ?
*
*
*
*

*Thanks in Advance*
*Prashant Nirni*


*
*
*
*
*
*
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

Reply via email to