>>How can I have user generated traps???

You can use the following function to send your own traps by filling "
netsnmp_variable_list *vars"... 

int
netsnmp_send_traps(int trap, int specific,
                          oid * enterprise, int enterprise_length,
                          netsnmp_variable_list * vars,
                          /* These next two are currently unused */
                          char * context, int flags)
>>How do I assign my own trapid's?      
        Fill the "netsnmp_variable_list" linked list by adding your own
trapid's...

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Srivastava, Namburi (IE10)
Sent: Thursday, August 31, 2006 5:53 PM
To: Dave Shield
Cc: [email protected]
Subject: RE: Snmptrapd, snmptrap and snmptrapd.conf

Hi,

How can I have user generated traps???
How do I assign my own trapid's?

Regards,
Sri.


************************************************************************
************************************************************************
************************************************************************
*****
This e-mail, and any attachments thereto, are intended only for use by
the addressee(s) named herein and may contain privileged and/or
confidential information. If you are not the intended recipient of this
e-mail, you are hereby notified that any dissemination, distribution or
copying of this e-mail, and any attachments thereto, is illegal and
strictly prohibited. If you have received this e-mail in error, please
immediately notify me by telephone and permanently delete the original
and any copy of any e-mail and any printout thereof.


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Thursday, August 31, 2006 2:07 PM
To: Srivastava, Namburi (IE10)
Cc: [email protected]
Subject: Re: Snmptrapd, snmptrap and snmptrapd.conf

On 31/08/06, Srivastava, Namburi (IE10)
<[EMAIL PROTECTED]> wrote:
> I want to send system generated events on a machine (where only Agent 
> is
> running) to the SNMP Manager on a different machine (where only 
> Manager is running)in the form of a Trap.

Fine.

> In this case, where should my snmptrapd.conf should be available?

'snmptrapd.conf' is concerned with the behaviour of 'snmptrapd' - the
trap *receiver*.
So this would need to be set up on the destination system, where the
manager is running.

That's assuming that you're using 'snmptrapd'  to receive the traps.
If you've got a different SNMP manager, then you probably don't need
snmptrapd.conf at all.



> My Trap handler (snmptrapd) will run on the Manager machine.
> Do I need to have a snmptrapd.conf file maintened here as well?

Yes.
But not "as well" - this is the only place where it's needed.

Dave

------------------------------------------------------------------------
-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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





-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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

Reply via email to