Hi all.
I have to write a custom SNMP trap handling service which will listen to
traps fired by some devices and generate new traps to a specific target.
So far, I have not found any example code about how this can be done.
Does any of you know of any similar tutorials? Could somebody provide
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Net-snmp-users digest..."
Today's Topics:
1. SNMP trap handling (jayesh km)
2. Re: SNMP trap handling (Dave Shield)
3. Re: Table custom handlers (Nikos Balkanas)
4. AW: net
2009/1/15 jayesh km :
> Can some one please point me how can I get
> sarted with this? How to get an application call back when a trap is
> received and how to match OID to actual name and extract variables from trap
> PDU
The simplest approach is probably to start with snmptrapd,
and then w
Hi,
I was writing a program to convert SNMP traps to some proprietary trap format.
My requirement is to parse the SNMP trap PDU and get the trap and all variables
associated with the trap and store it in a structure and pass it to some
routine that will generate proprietary traps.
I looked into
On 11/06/07, Daniel Coelho <[EMAIL PROTECTED]> wrote:
> I received this when unplugging the network cable:
> Sending 149 bytes to 172.18.50.92
> 2007-06-11 11:46:31 .
>06 09 2B 06 01 06 03 01 01 05 04
That's a linkDown trap all right.
> If so, can you suggest where to start looking
On 29/05/07, Daniel Coelho <[EMAIL PROTECTED]> wrote:
> I have configured net-snmp this way:
>
> /etc/snmp/snmpd.conf:
> trap2sink 127.0.0.1 public 162
> createUser danielcoelho MD5 "danielcoelho"
> rouser danielcoelho
> rwuser danielcoelho
> agentSecNamedanielcoelho
> d
I have configured net-snmp this way:
/etc/snmp/snmp.conf:
logtimestamp 1
defaultport 161
defversion 2c
defcommunity public
dodebugging 0
dumppacket 1
printNumericOids true
/etc/snmp/snmpd.conf:
trapcommunity public
trap2sink 127.0.0.1 public 162
authtrapenable 1
syscontact [EMAIL PROTE
I have configured net-snmp this way:
/etc/snmp/snmp.conf:
logtimestamp 1
defaultport 161
defversion 2c
defcommunity public
dodebugging 0
dumppacket 1
printNumericOids true
/etc/snmp/snmpd.conf:
trapcommunity public
trap2sink 127.0.0.1 public 162
authtrapenable 1
syscontact [EMAIL PROTE
On 29/05/07, Daniel Coelho <[EMAIL PROTECTED]> wrote:
> I thought I needed the DisMan Event Handling
> to receive traps...
No.
The DisMan Event handling is used to *generate* traps.
> I want to send a trap to an IP when it occurs.
> For example, when I unplug the network cable,
> I want a trap
I thought I needed the DisMan Event Handling
to receive traps...
I'm a bit confused. Let me explain again my aim.
I want to send a trap to an IP when it occurs.
For example, when I unplug the network cable,
I want a trap to be sent to an IP automaticaly.
The same goes for other kinds of traps that
On Thu, 2006-03-02 at 12:22 +0530, vishakha s wrote:
> I just want some guidance in how to handle Traps and
> which file will handle trap .
The command 'snmptrapd' is used for handling traps.
It's impossible to be more precise without more details
about exactly what you want to do.
Dave
---
Hi
I just want some guidance in how to handle Traps and which file will handle
trap .
Thanks
Vishakha
The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s)and may
contain confidential or privileged info
Dave Shield wrote:
On Thu, 2005-11-10 at 10:33 +0530, [EMAIL PROTECTED] wrote:
We have a requirement to support trap handling in our project.
Requirement is whenever a trap is received a function should be called
which extracts the community string and performs some operation.
Unfortunately
On Thu, 2005-11-10 at 10:33 +0530, [EMAIL PROTECTED] wrote:
> We have a requirement to support trap handling in our project.
> Requirement is whenever a trap is received a function should be called
> which extracts the community string and performs some operation.
> How
Hi,
We have a requirement to support trap
handling in our project.
Requirement is whenever a trap is received a
function should be called which extracts the community string and performs some
operation.
With were able to do it with
scotty(opening a listener session and binding it
> 1) I created a MIB file
>
> demotraps OBJECT IDENTIFIER ::= { ucdExperimental 990 }
>
> demo-trap TRAP-TYPE
> ENTERPRISE demotraps
> ::= 17
> traphandle TRAP-TEST-MIB::demo-trap /home/nba/bin/traps demo-trap
I would *strongly* suggest that you define your MIBs using SMIv2
rather than SM
16 matches
Mail list logo