Subject: Re: trap changes made for VRF
External email: [bart.vanass...@gmail.com]
Hi Joan,
Did this help?
Thanks,
Bart.
On 1/12/21 5:46 PM, Bart Van Assche wrote:
Hi Joan,
Please try the following:
git clone
g...@github.com:net-snmp/net-snmp.git<mailt
rs@lists.sourceforge.net
Subject: Re: trap changes made for VRF
Hi Joan,
Pre-existing functionality shoul
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: trap changes made for VRF
Hi Joan,
Pre-existing
Please tell me where to find these patches – links please.
Thanks
From: Bart Van Assche
Sent: Saturday, January 9, 2021 5:47 PM
To: Joan Landry ; stann...@cumulusnetworks.com
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: trap changes made for VRF
External email: [bart.vanass
available?
Thanks,
Joan
From: Bart Van Assche
Sent: Wednesday, January 6, 2021 11:28 PM
To: stann...@cumulusnetworks.com
Cc: Joan Landry ;
net-snmp-users@lists.sourceforge.net
, January 6, 2021 11:28 PM
To: stann...@cumulusnetworks.com
Cc: Joan Landry ; net-snmp-users@lists.sourceforge.net
Subject: Re: trap changes made for VRF
External email: [bart.vanass...@gmail.com]
Hi Sam,
Can you submit a patch that documents how to use the changes
Hi Sam,
Can you submit a patch that documents
how to use the changes in the following two commits:
* 02de400544de ("libsnmp: Set Linux VRF
iface on Trap sink IP addresses")
* 3ca90c2c1260 ("libsnmp/transports/UDP: Add support for VRF")
I think that syntax will give you the octal value of "010", which will be
decimal 8, so it will try to send to 192.168.1.8
Regards
Anders Wallin
On Mon, May 20, 2019 at 3:58 PM Deepak Sachan wrote:
> Heĺlo
> In snmpd.conf trap server address is defined as
> Trap2sink 192.168.1.10 public 162
> I
Per https://tools.ietf.org/html/rfc3416#section-4.2.6, "The first two
variable bindings ... are sysUpTime.0 and snmpTrapOID.0". Your trap
contains sysUpTime.0 and snmpTrapEnterprise (with no instance ID, making it
invalid anyway). So, snmptrapd is probably just discarding it because it
is malform
Hi Marian,
I do not have an answer, though two minor things I wanted to note:
* You are sending packets from a “privileged” port 162 rather than an ephemeral
one
* Well-formed TRAP message should include a bunch of well-known OIDs at fixed
positions of the PDU (refer to SNMP RFCs for details)
Well, I may be able to partially answer my own question, in case it comes up
for others.
I had put the mibdirs setting in /etc/snmp/snmp.conf, as I was under the
impression that applied to all of the utilities. It appears that it does not
(I'm not even sure it applies to any of them; I am stil
FWIW, a few months ago I ran into the same issue you just wrote about. I didn't
post it here, assuming "I must be doing something wrong, since this feature
seems broken so badly they couldn't have released the software this way."
Maybe I was wrong. I just learned to live with it. But I'd love t
On 17 June 2012 10:20, MANSOUR NASERI wrote:
> snmpNotifyTable:
>
> Instance ---> internal0
> snmpNotifyStorageType --->readOnly(5)
Remember that this is an entry which is being
configured via the (static) snmpd.conf file.
This is not something that the agent is expected to
modify
Thx!
On Tue, Dec 13, 2011 at 1:59 PM, Dave Shield wrote:
>[ First - *please* don't mail me privately, without copying
> any responses to the mailing list. I don't have the time
> or inclination to offer private, unpaid, SNMP consultancy.
> Also, if I'm busy with my main (paid) wo
[ First - *please* don't mail me privately, without copying
any responses to the mailing list. I don't have the time
or inclination to offer private, unpaid, SNMP consultancy.
Also, if I'm busy with my main (paid) work, it may well be
some time before I can respond.
Ke
On 6 December 2011 07:21, shay naveh wrote:
> Is there already built-in parallel mechanism 'snmptrapd' ? e.x. 'snmptrapd'
> will listen for incoming traps from these local 'snmpd' instances and will
> redirect them to some receiver.
$ man snmptrapd.conf
:
NOTIFICATION PROCESSING
Nevermind, I am being an idiot. I don't need to use libpcap since traps are
being broadcast.
On Wed, Feb 2, 2011 at 3:40 PM, th exterit wrote:
> After a little digging, it seems as though I need to look at snmp_read()
> which calls snmp_parse(). snmp_parse() is a static function so can't call
After a little digging, it seems as though I need to look at snmp_read()
which calls snmp_parse(). snmp_parse() is a static function so can't call
it directly, and it looks like it passes the parsed pdu to a call back
function. I have no need for snmp_read() since I already have the packets
hande
[ First - *please* don't mail me privately, without copying
any responses to the mailing list. I don't have the time
or inclination to offer private, unpaid, SNMP consultancy.
Keep discussions to the list, where others can both learn
and offer advice. Thanks. ]
On 1 Fe
On 31 January 2011 14:52, th exterit wrote:
> I've been tasked with writing a trap listener in C which will then take
> specific device info from these traps and shove them in a database
> (postgresql).
Which version of the software are you using?
The 5.6 release has an SQL module for snmptrapd,
Look at "snmptrapd," especially the tutorial
http://www.net-snmp.org/wiki/index.php/TUT:Configuring_snmptrapd#Example
_handler_script .
You might be able to implement this by configuring snmptrapd
appropriately, then writing scripts to extract trap information & insert
into your DB.
Ron
Hello again,
My registration table using table_data works fine. Now I'm trying to map
values from this table to an internal table in my mib called the
hosttable :
table_entry = (regnms_entry *)
netsnmp_tdata_extract_entry(request);
//mapping registered manager
> On Fri, 20 Aug 2010 10:02:57 +0200, Norasyikin MD Ali
> said:
NMA> Currently I'm trying to create a dynamic registration table so that
NMA> an NMS can register and de-register to via snmpset. Is that
NMA> feasible using table_data.conf? And will it's handler take care of
NMA> creating
> From: Mike Ayers [mailto:mike_ay...@tva.tvworks.com]
> Sent: Friday, July 16, 2010 11:32 AM
> I put this line in my snmptrapd.conf:
>
> format2 %t %B %P %V,% %v\n
>
> ...which I thought would insert the varbind list with comma
> separators, but it gags:
>
> [SNIP]
> host> snmptra
maxim maxim wrote:
> How i can to send a SNMPv1 and SNMPv2 traps by net-snmp api?, i need
> some examples of code, i know how to do it from the command line, but
> i need this in code.
apps/snmptrap.c has the full source code of the command-line tool you're
familar with.
+Thomas
--
On 8 February 2010 09:01, Michal Filka wrote:
> I've found "forward" directive in snmptrapd.conf description.
> Is it possible to use more instances of the directive to achieve
> sending copy of the trap to each destination or only the first
> forward directive which match the trap's OID is used?
On 1 February 2010 11:29, Alexander King wrote:
> I did not sent the that mail to the list,because the code file is sick.
> Dave,if you have time to fix it
I have told you exactly where the problem lies.
And pointed you at an example of correct usage
of the equivalent code.
That is as much as I'
total permission to do it. Thank you very much!
Alex
-- Original --
From: "Dave Shield";
Date: Mon, Feb 1, 2010 07:18 PM
To: "Alexander King";
Cc: "net-snmp-users";
Subject: Re: trap initializing what is the " /* inser
On 1 February 2010 09:45, Alexander King wrote:
> the "snmpd daemon auto termination" problem unsolved by now yet.
Please check your use of "snmp_varlist_add_variable()".
In particular, pay very careful attention to the fifth (value)
parameter, and how this is used with integer-based values.
Com
> BTW,the "snmpd daemon auto termination" problem unsolved by now yet.
> It make me headache for a long while.I am thinking the code file all days.
Then perhaps you should post the code again,
including the corrections you have made.
Certainly, changing
long int *intpp = 8;
to
long in
-- Original --
From: "Dave Shield";
Date: Mon, Feb 1, 2010 05:23 PM
To: "Alexander King";
Cc: "net-snmp-users";
Subject: Re: trap initializing what is the " /* insert index here */ "
meaning?
On 1 February
On 1 February 2010 03:33, Alexander King wrote:
> int
> send_fcPorttrap_trap( void )
> {
> netsnmp_variable_list *var_list = NULL;
> oid fcPorttrap_oid[] = { 1,3,6,1,4,1,30901,2090,2092,0,1 };
> oid fcPort_oid[] = { 1,3,6,1,4,1,30901,2090,7000,2,1,2,1,1,1, /* insert
> index here */ };
Thanks!
Dave Shield wrote:
> 2009/11/17 forumde...@tataelxsi.co.in :
>
>> I am getting the SNMP v2 traps. I have trap2sink ipaddress
>> configured in my snmpd.conf.
>> Is there anyway where I can start the agent by giving the
>> trap2sink ipaddress on the Command line, without modif
2009/11/17 forumde...@tataelxsi.co.in :
> I am getting the SNMP v2 traps. I have trap2sink ipaddress
> configured in my snmpd.conf.
> Is there anyway where I can start the agent by giving the
> trap2sink ipaddress on the Command line, without modifying the code?
snmpd --trap2sink=
Ok... thanks for the initial reply, I got the relevant details from these
sites
http://www.mail-archive.com/net-snmp-cod...@lists.sourceforge.net/msg05469.html
http://www.net-snmp.org/wiki/index.php/FAQ:Coding_19
snmpsess was missing in my snmpd.conf, I convinced myself thinking trapsink
or trap2
SNMP Variables:
newMIBNotify OBJECT IDENTIFIER ::= { newMIB 3 }
netSnmpExampleHeartbeatRate OBJECT-TYPE
SYNTAX Integer32
MAX-ACCESS accessible-for-notify
STATUS current
DESCRIPTION
"A simple integer object, to act as a payload for the
netSnmpExampleHear
2009/7/23 priya thangaraj :
> I was successful in sending a snmptrap which was logged by snmptrapd in
> SNMPv3.
>
> The current issue is that, I have developed my own TRAP-Variables, sending
> it through send_trapv2() via Agentx. But the trap sent is not being received
> by snmptrapd.
>
> is there
2009/7/13 Raghavendra Prasad :
> How to create the "Trap community", is it as below?
>
> trapcommunity
Either that, or given as part of the "trapsink" (or equivalent)
line that specifies the trap destination.
> what sort of authentication needs
> to be done to recieve the trap in
2009/4/17 Anthony Wright :
> I suspect I know the answer to this, but is it possible to get snmpd to
> run a command when it issues a trap rather than sending out a trap packet?
Yes. Well, sort-of.
It is certainly possible to configure the agent to run a command when
it receives a SET request.
2009/3/5 McGowen, Wendy :
> So since this is a single indexed table, the vmName would be the last
> index, making .118.109.49 acceptable. Plus I've defined it with IMPLIED
> (although is that really necessary?):
No - it's not necessary.
Whether you use implicit or explicit string indexes is totall
riginal Message-
From: Dave Shield [mailto:d.t.shi...@liverpool.ac.uk]
Sent: Wednesday, March 04, 2009 3:20 PM
To: McGowen, Wendy
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: Trap question: OID for variable from a table
2009/3/4 McGowen, Wendy :
> I haven't done anything
2009/3/4 McGowen, Wendy :
> I haven't done anything with string indices
> yet, but it looks like I just have to convert each character in the
> string to its ASCII equivalent (for example, "vm1" would be .118.109.49,
> correct?).
Perhaps.
It depends on whether the index is IMPLIED or not.
correct?). Easy peasy!
Thanks Dave!!
-Original Message-
From: Dave Shield [mailto:d.t.shi...@liverpool.ac.uk]
Sent: Wednesday, March 04, 2009 11:03 AM
To: McGowen, Wendy
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: Trap question: OID for variable from a table
2009/3/4 McGowen, Wendy
Hello,
I'm trying to compile a net-snmp agent with authentication and cipher support.
I've compiled the openssl for my target and gave the directory to the
"--with-openssl=dir".
Here's an example:
Make openssl ---> ...openssl/include/openssl/*.h
---> ...openssl/lib/*.a
Configu
2009/3/4 McGowen, Wendy :
> Do I have to include the index
> value in the OID for the vmName object in the trap
I believe so, yes.
>From RFC 2578:
8.1. Mapping of the OBJECTS clause
The OBJECTS clause, which need not be present, defines an ordered
sequence of MIB obje
2009/3/4 Pranesh Kulkarni :
>> What about the SNMPv1
> Instead of NOTIFICATION-TYPE use TRAP-TYPE
No!
If you are writing your MIB using SMIv2, then you *always* use
NOTIFICATION-TYPE.
This MIB definition can then be used with SNMPv1 traps, SNMPv2c traps/informs,
and SNMPv3 traps/informs
You
Thanks.
"If you think you can, or you think you can't...You are Right" -- Henry Ford
From: Pranesh Kulkarni [mailto:pranes...@gmail.com]
Sent: Wednesday, March 04, 2009 2:30 PM
To: Tanisha Kashyap
Cc: net-snmp-users@lists.sourceforge.net
Su
an't...You are Right" -- Henry
> Ford
> --
>
> *From:* Pranesh Kulkarni [mailto:pranes...@gmail.com]
> *Sent:* Wednesday, March 04, 2009 2:25 PM
> *To:* Tanisha Kashyap
> *Cc:* net-snmp-users@lists.sourceforge.net
> *Subject:* Re: Tra
rge.net
Subject: Re: Trap
On Wed, Mar 4, 2009 at 12:25 PM, Tanisha Kashyap
mailto:tanisha.kash...@aricent.com>> wrote:
Hi,
I want to send a trap to the NMS which contains just a text information
indicating that a certain event is about to begin.
Do I need a MIB variable for this or i
On Wed, Mar 4, 2009 at 12:25 PM, Tanisha Kashyap <
tanisha.kash...@aricent.com> wrote:
> Hi,
>
>
>
> I want to send a trap to the NMS which contains just a text information
> indicating that a certain event is about to begin.
>
> Do I need a MIB variable for this or is there a way to send text
>
> On Thu, 22 Jan 2009 14:49:15 -0500, Arvind Gupta
> said:
AG> Want to know that do we have some standard MIB or MIB element which shall be
AG> used to trigger the trap resync from the NMS.
There is no way to "resync" a bunch of traps. They're sent from the
agent and never "queued". I
2008/7/29 Rabindra Paikaray <[EMAIL PROTECTED]>
> trapsink 192.168.101.100( traplistener ip for v1 trap)
> trap2sink 192.168.101.100( traplistener ip for v2 trap)
Note that you only need *ONE* of these lines
(depending on whether you want to send v1 or v2 traps)
If you have both lines, then you wi
Hi ,
you can add these below lines to your configuration file to send trap for
your trap listeners.
trapcommunity public
trapsink 192.168.101.100( traplistener ip for v1 trap)
trap2sink 192.168.101.100( traplistener ip for v2 trap)
authtrapenable 1(trap for authetication failure)
Thanks
Rabindra
> From: kian [mailto:[EMAIL PROTECTED]
> I run example.c and replace my oid trap,
>TRAP6..1 from 192.168.10.138: Enterprise Specific
>My trap dosen`t show.
Sounds like you need to add more varbinds into your example.c to
provide additional information in your trap. Check some of the other
tra
2008/6/17 kian <[EMAIL PROTECTED]>:
> but I can not fill varlist for trap v2 in send_v2trap.
> Please show sample, that varlist is filled.
See 'agent/mibgroup/examples/example.c'
in the Net-SNMP source for an example.
Dave
-
2008/6/16 kian <[EMAIL PROTECTED]>:
> How to I generate code for trap in snmpd with mib2c.
Please see the FAQ entry
How can I get the agent to generate a trap (or inform)?
http://www.net-snmp.org/wiki/index.php/FAQ:Coding_15
Dave
--
On 18/04/2008, Ron Rader <[EMAIL PROTECTED]> wrote:
> We have a piece of hardware with two interfaces that do not use the
> regular Linux IP stack, and therefore do not natively populate ifTable.
> I need to generate linkUp/linkDown notifications on these interfaces and
> am trying to think of
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of snmp girl
> Sent: Sunday, March 09, 2008 10:42 AM
> I send a trap from a linux agent to a windows manager , to
> see the trap I use a trap watcher but the problem is that
> when i receive the trap it gives me as a descriptio
On 03/03/2008, Shreya Shah <[EMAIL PROTECTED]> wrote:
> The traps are logging and I can see them in the file as well as when I
> do a tcpdump.
Now I'm completely confused.
You say that the traps are being logged,
yet you've also said that you are running the trap receiver as
snmptrapd -f
I am using snmptrapd.conf to generate traps. I have the same snmp community
string set in the snmptrapd.conf and the device I want to monitor and I have
given a log and execute permission for logging the traps in the desired
file. The traps are logging and I can see them in the file as well as when
On 03/03/2008, Shreya Shah <[EMAIL PROTECTED]> wrote:
> Yes that is all that is displayed. I have already stopped firewall service
> in iptables.
How are you generating the traps?
Dave
-
This SF.net email is sponsored by: Mi
Thanks Dave for your help.
Yes that is all that is displayed. I have already stopped firewall service
in iptables.
--Shreya.
On Mon, Mar 3, 2008 at 4:03 AM, Dave Shield <[EMAIL PROTECTED]>
wrote:
> On 27/02/2008, Shreya Shah <[EMAIL PROTECTED]> wrote:
> > I am a newbie to net-snmp and Linux,
On 27/02/2008, Shreya Shah <[EMAIL PROTECTED]> wrote:
> I am a newbie to net-snmp and Linux, I have configured snmptrapd.conf
> net-snmp 5.3.1 and when I start the daemon I receive traps but its just not
> invoking the trap handler. When I use the command snmptrapd -f -Le
> -Dsnmptrapd -d it just g
c: net-snmp-users@lists.sourceforge.net
Sent: Thursday, January 24, 2008 8:34:15 AM
Subject: Re: Trap Handle directive not working
It looks like it matched but, I still do not see the output from my
hello world executable, which is owned by root and has 777 permissions
1970-01-01 11:27:38 192.168.2.201(via 19
-- Joel Parker
- Original Message
From: Dave Shield <[EMAIL PROTECTED]>
To: Joel Parker <[EMAIL PROTECTED]>
Cc: net-snmp-users@lists.sourceforge.net
Sent: Thursday, January 24, 2008 3:04:56 AM
Subject: Re: Trap Handle directive not working
On 23/01/2008, Joel Parker <[EMA
On 23/01/2008, Joel Parker <[EMAIL PROTECTED]> wrote:
> SNMPv2-SMI::enterprises.2682.1.2 Enterprise Specific Trap (8001)
> traphandle .1.3.6.1.4.1.2682.1.2.8001 /usr/sbin/hello hello
> traphandle SNMPv2-SMI::enterprises.2682.1.2.8001 /usr/sbin/hello hello
Those two have the wrong OID.
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Joel Parker
> Sent: Wednesday, January 23, 2008 2:47 PM
> I am running version :
>
> NET-SNMP Version: 5.1.2
> Web: http://www.net-snmp.org/
> Email: [EMAIL PROTECTED]
>
> I have a simple hello wor
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of DERIVRY Serge (EURIWARE)
> Sent: Tuesday, January 15, 2008 7:13 AM
> Unknown alert received from device xx of type Host_Device. Device
> Time 0+22:02:42.
> (Trap type 1.3.6.1.4.1.99.12.52.3.1.6.3)
> Trap var bind data:
On 16/11/2007, Nikolett C <[EMAIL PROTECTED]> wrote:
> Could someone tell me, how big a trap can be? 100 byte, 200 byte..?
There's no fixed maximum size to an SNMP request - it depends
on the implementations of the two applications concerned.
> With maximal how many varbinds?
Again, there's no e
On 03/09/07, Edison C. <[EMAIL PROTECTED]> wrote:
> When I try the following the command on a sample MIB file(attached
> below)
> snmptranslate -M+. -mNSMAIL-MIB -Tp -IR netscape
> I got the following output -
> +--netscape(1450)
>|
>+--netscape#(0)
>| |
>| +--nsMailServe
Got it working,
Thanks, I appreciate the response.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Friday, August 03, 2007 9:23 AM
To: Adam Bell
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: Trap send an engine ID
On 03/08/07
On 03/08/07, Adam Bell <[EMAIL PROTECTED]> wrote:
> Is the engine ID in this config line supposed to be the agent's or the trap
> receiver's engine ID?
If you are sending an SNMPv3 trap PDU, then the engineID should be
that of the engine *sending* the trap (and the trap receiver would need
to be
On 04/07/07, Mirko Viviani <[EMAIL PROTECTED]> wrote:
> I'm just writing my own trap "receiver", using the snmptrapd code for help.
> How can I obtain the "sender IP" address?
By using the suggestion that was given to you yesterday,
when you asked exactly the same question.
Dave
Hi
Snmptrapd when started with "%b" as format specification, prints PDU
source address which is of form : []:.
So, as snmptrapd handles this "%b" option, snmptrapd code walk might
help you.
Regards,
Suresh.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
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
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
Hi Dave, I just foun the time to make some tests... about your question:
> > VARBIND_OID=".1.3.6.1.2.1.a.b.c.d.e"
> > VARBIND_TYPE="Integer"
> > VARBIND_VALUE="1000"
> > VARBIND_OID=".1.3.6.1.2.13.45.w.v.z.q"
> > VARBIND_TYPE="Srting" VARBIND_VALUE="Hello World"
>
> How would you handle string
Thank you Dave.
I got it.
jmf
On Wed, 2007-03-21 at 23:06 +, Dave Shield wrote:
> On 21/03/07, Joao Miguel Ferreira <[EMAIL PROTECTED]> wrote:
> > > At a minimum, you'll need to be able to handle:
> > >
> > >SNMPv1) trap type (2 integers)
> > > enterprise (OID)
On 21/03/07, Joao Miguel Ferreira <[EMAIL PROTECTED]> wrote:
> > At a minimum, you'll need to be able to handle:
> >
> >SNMPv1) trap type (2 integers)
> > enterprise (OID)
> > + arbitrary varbind list
>
> I guess the agent will take care of all the
On Wed, 2007-03-21 at 15:54 +, Dave Shield wrote:
> On 21/03/07, Joao Miguel Ferreira <[EMAIL PROTECTED]> wrote:
> > I need to find a suitable string format for receiving information to be
> > sent as traps.
>
> Are you looking at generating SNMPv1-style traps, or SNMPv2
> notifications?
On 21/03/07, Joao Miguel Ferreira <[EMAIL PROTECTED]> wrote:
> I need to find a suitable string format for receiving information to be
> sent as traps.
Are you looking at generating SNMPv1-style traps, or SNMPv2
notifications?Will you need to specify version information
(including community/
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 14, 2007 4:14 PM
To: Porat, Dan
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: Trap V1 and Trap V2 on the same company
On Wed, 2007-03-14 at 14:26 +0200, Porat, Dan wrote:
> Hi there!
>
> I have a few questions .
>
>
&g
On Wed, 2007-03-14 at 14:26 +0200, Porat, Dan wrote:
> Hi there!
>
> I have a few questions .
>
>
>
> 1.Has anyone faced a situation in which he had to issue both traps V1
> and V2 for different managers on the same time ?
For snmmpd this is quite indiferent. You can configure as many trapsin
On 14/03/07, Porat, Dan <[EMAIL PROTECTED]> wrote:
> 1.Has anyone faced a situation in which he had to issue both traps V1 and V2
> for different managers on the same time ?
Is this from the agent, or a client?
> 2.Is the an abstraction level which enables me to issue a GENERIC trap , and
> acco
[ First - *please* don't mail me privately, without copying
any responses to the mailing list. I don't have the time
or inclination to offer private, unpaid, SNMP consultancy.
Keep discussions to the list, where others can both learn
and offer advice. Thanks. ]
On 07/02
On 07/02/07, Hamid Taromian <[EMAIL PROTECTED]> wrote:
> when i use snmptrap i can send traps to my managing station. but when i use
> send_v2trap function in my code nothing appears on my managers snmptrapd/
How have you configured the trap destinations in 'snmpd.conf'?
Please see the FAQ entry:
On 05/02/07, twiety20002 a <[EMAIL PROTECTED]> wrote:
> i want to write a code for SNMP "trap generator"..from agent..so any one can
> guide..frm where to start
Have a look at the FAQ entry:
How can I get the agent to generate a trap (or inform)?
http://www.net-snmp.org/wiki/index.php/
On 02/02/07, news gonzo news gonzo <[EMAIL PROTECTED]> wrote:
> I have a quick question, Is it possible to forward SNMP Trap on TCP ?
Untested, but try
forward default tcp:somehost:162
Dave
-
Using Tomcat but need to
On 04/12/06, Treesa Fairy Joseph <[EMAIL PROTECTED]> wrote:
> How can i get the trap display on the command line, rather than
> checking it through /var/log/messages file?
Run the trap receiver as
snmptrapd -f -Lo
Dave
---
Hi,
The varbinds are passed via stdin. This is documented in the man pages
for snmptrapd.conf and an exmaple is in the traptoemail script provided
with net-snmp
Mike
Srivastava, Namburi (IE10) wrote:
Hi,
Please provide inputs to resolve this
I’m able to capture snmp trap using snmptrapd
[ First - *please* don't mail me privately, without copying
any responses to the mailing list. I don't have the time
or inclination to offer private, unpaid, SNMP consultancy.
Keep discussions to the list, where others can both learn
and offer advice. Thanks. ]
On 14/1
On 13/11/06, Jing Guan <[EMAIL PROTECTED]> wrote:
> I got snmp v2c trap by setting "monitor" directive in the "snmpd.conf" file.
> Is it possible for me to get snmp v3 trap with "monitor" directive?
The "monitor" directive will attempt to trigger suitable notifications.
But it doesn't determine t
Thanks for the answer.
I do the following binding:
snmpTrapOID.0 = .1.3.6.1.4.1..15.5
And then I set the snmpd.conf like this:
trapsink localhost
informsink localhost
And I get the following output from snmptrapd:
2006-07-18 10:27:15 ovidiu.ro [192.168.0.11] (via UDP:
[127.0.0.1]:60763) TRA
I add the binding: snmpTrapOid.0(1.3.6.1.6.3.1.1.4.1.0) =
MyTrapOid(.1.3.6.1.4.1.23668..15.5) - ASN_OBJECT_ID
So basically everything should be fixed from masteragent config file.
Thanks a lot for the answer.
Ovidiu
Dave Shield wrote:
> On 17/07/06, Ovidiu Deac <[EMAIL PROTECTED]> wrote:
>
On 17/07/06, Ovidiu Deac <[EMAIL PROTECTED]> wrote:
> Hello everybody,
>
> I am working on an application that sends SNMP traps when some special
> conditions occur. The traps are sent using send_v2trap() like this:
>
> 1. create a netsnmp_variable_list
> 2. add to it the trap oid as a variable of
[EMAIL PROTECTED] wrote:
Looks like the directive clientaddr is not working to set the trap
source IP in 5.3 netsnmp release. Can somebody tell me if they have this
working at all?
It's supposed to be working. Are you aware that this is a snmp.conf (not
snmpd.conf) directive? If you put it in
On Thu, 2006-03-02 at 13:22 -0500, Jean-Sebastien Morisset wrote:
> On Thu, Mar 02, 2006 at 05:25:30PM +, Dave Shield wrote:
> > What does walking the procTable show?
> Everything appears normal:
[snip]
Is that the results of walking the table immediately after
the trap arrives, or at a r
On Thu, Mar 02, 2006 at 05:25:30PM +, Dave Shield wrote:
> On Thu, 2006-03-02 at 08:10 -0500, Jean-Sebastien Morisset wrote:
>> I seem to have a little problem. I have several Net-SNMP v5.3.0.1
>> clients on various Solaris servers, and I get the following trap from
>> several of them:
>>
>>
1 - 100 of 155 matches
Mail list logo