Good day!
I use snmpd with perl plugin. Plugin code - http://paste.debian.net/1105734
snmpd config - http://paste.debian.net/1105733
snmpwalk works fine.
But i try to add monitor (sending traps) feature.
and add monitor section:
monitor -S -I -r 20 toHot 1.3.6.1.4.1.9.2.1.1 >
On 7/26/19 1:06 PM, David Moriconi
(dmoricon) via Net-snmp-users wrote:
Hi,
I am using
Net-SNMP 5.8 on CentOS 7 with AgentX enabled. My AgentX
subagent is implemented using SNMP4J-AgentX.
Hi,
I am using Net-SNMP 5.8 on CentOS 7 with AgentX enabled. My AgentX subagent is
implemented using SNMP4J-AgentX.
I want to tell Net-SNMP on which interface to send traps. I look at the SNMPD
configuration manpage (http://www.net-snmp.org/docs/man/snmpd.conf.html) and
don’t see anything like
snmpd: send_trap: USM unknown
security name (no such user exists)
What are we doing wrong?
If we add this line to the snmpd.conf and not use the above-mentioned code, we
have no problem sending traps.
trapsess -v 3 -u myUserName -l authPriv -a SHA -A " myAuthenticationPassword "
-x
Hi there,
I've been trying to configure net-snmp to send a trap when the disk utilisation
on any mount point reaches a certain threshold, say 80% of total capacity.
I've read the documentation here:
https://access.redhat.com/documentation ...
I am running net-snmp 5.4.2.1
Have a subagent sending traps to the master snmpd daemon.
After about (depending on the size of trap buffer) 200 or 500 traps,
either the subagent and snmpd deadlock in sendto or
subagent receives a SIGPIPE.
Observations:
1. The core problem is that snmpd
I can send SNMPv2 traps succesfully and am now trying to send SNMPv3 traps
using Authentication and No Privac y with SHA being used for
Authentication. My code looks like the following:
my $host = '127.0.0.1';
my $agent = new NetSNMP::agent();
my $session = new
On Tue, Oct 4, 2011 at 3:57 PM, ali.br...@selex-comms.com wrote:
From Bart's statement below it is suggested that I can directly obtain the
value of sysUpTime from my SubAgent - How do I obtain this from my Perl
module?
What the Perl SNMP module does is to include the time elapsed since
Bart,
Thanks for that. The sysUpTime seems to be OK now.
Do you know if the two patches that you have sent to me will be contained
in any forthcoming releases?
Regards,
Ali
Please consider the environment before printing this email
---
This
On Wed, Oct 5, 2011 at 3:49 PM, ali.br...@selex-comms.com wrote:
Thanks for that. The sysUpTime seems to be OK now.
Do you know if the two patches that you have sent to me will be contained
in any forthcoming releases?
These patches will be included in all future 5.7 and 6.0 releases. And
On Wed, Oct 5, 2011 at 5:12 PM, Bart Van Assche bvanass...@acm.org wrote:
On Wed, Oct 5, 2011 at 3:49 PM, ali.br...@selex-comms.com wrote:
Thanks for that. The sysUpTime seems to be OK now.
Do you know if the two patches that you have sent to me will be contained
in any forthcoming
Dave,
Sorry - Just realised that I've responded to your private e-mail address
by mistake and not the net-snmp-users list
Regards,
Ali
Please consider the environment before printing this email
- Forwarded by Ali Bruce/UKMAIN/MM1 on 04/10/2011 14:55 -
From:
Ali Bruce/UKMAIN/MM1
certainly not automatic that sending traps from a
separate application
will necessarily use the same sysUpTime as that of an SNMP agent running on
the same host.
Dave
--
All of the data generated in your IT infrastructure
Bart,
Thanks for the patch. It seems to have solved the problem in sending
SNMPv2 traps which do not have any additional var-binds.
Only problem left is the sysUpTime issue.
Regards,
Ali
Please consider the environment before printing this email
I have some further questions/observations on this subject.
The reason that I have not been able to send my own Enterprise specific
trap is that it does not have any additional var-binds associated with the
trap i.e I want to send the trap with an empty associated var-bind list.
e.g Bart in
On Thu, Sep 29, 2011 at 5:26 AM, ali.br...@selex-comms.com wrote:
I have some further questions/observations on this subject.
The reason that I have not been able to send my own Enterprise specific
trap is that it does not have any additional var-binds associated with the
trap i.e I want to
Fulko,
I understand your point that a LinkUp trap needs the additional ifIndex
varbind. I didn't understand why the example I had been given by Bart also
contained a sysDescr var-bind. My point is that I wish to send an
enterprise specific trap that contains no additional var-binds. How do I
On Thu, Sep 29, 2011 at 8:56 AM, ali.br...@selex-comms.com wrote:
Fulko,
I understand your point that a LinkUp trap needs the additional ifIndex
varbind. I didn't understand why the example I had been given by Bart also
contained a sysDescr var-bind. My point is that I wish to send an
Fulko,
I also tried to send my trap (oid 1.3.6.1.4.1.2257.11.1.1.0.0.9) without
any additional var-binds as an SNMPv1 trap and it worked. The problem
seems to be sending it as an SNMPv2 trap, SNMPv1 is OK.
As for the sysUpTime, each time I run the command the timeticks value has
incremented
On Thu, Sep 29, 2011 at 10:20 AM, ali.br...@selex-comms.com wrote:
Fulko,
I also tried to send my trap (oid 1.3.6.1.4.1.2257.11.1.1.0.0.9) without
any additional var-binds as an SNMPv1 trap and it worked. The problem seems
to be sending it as an SNMPv2 trap, SNMPv1 is OK.
As for the
On Wed, Sep 28, 2011 at 6:23 PM, ali.br...@selex-comms.com wrote:
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (3384772387) 391 days,
18:08:43.87 SNMPv2-MIB::snmpTrapOID.0 = OID:
IF-MIB::linkUp IF-MIB::ifIndex.1 = INTEGER: 1 SNMPv2-MIB::sysLocation.0 =
STRING: Here
The timeticks
the
value.
The odd thing is that if I do an snmp Get request on my Agent on sysUpTime
the correct time ticks value is returned i.e how long my Master Agent has
been running. The unusual timeticks value seems to be only occurring when
sending Traps. I'm a bit confused that the two values are so
when sending Traps. I'm a
bit confused that the two values are so different.
I'll have a closer look at this.
Also, Do you know why when sending an SNMPv2 trap without any additional
var-binds it fails but as an SNMPv1 trap it works.
Does the attached patch help ?
Bart.
diff --git a/perl
I am trying to send an SNMPv2 trap from my SubAgent which can communicate
with an SNMP Manager via the Agent X master agent. I am running version
5.7.1 pre2 on Windows and trying to send traps to the snmptrapd daemon.
My code for sending the trap is as follows:
my $host = '127.0.0.1';
I have now managed to send out an SNMPv1 trap correctly using the
following code:
my $host = '10.50.80.197';
my $comm = 'public';
my $session= new SNMP::TrapSession(DestHost = $host, Community =
$comm, Port = 162, Version = 1);
On Wed, Sep 28, 2011 at 4:36 PM, ali.br...@selex-comms.com wrote:
However I am still unable to send out an SNMP v2 trap.
Also is there a way of obtaining the value for uptime from the Master Agent
which is used for the SysUpTime field in the trap??
Have you already tried to leave out the
Bart,
I'm definitely getting closer now. I can now send a linkUp trap from my
software using SNMPv2. My code looks like this:
my $host = '10.50.80.197';
my $session= new SNMP::TrapSession(DestHost = $host, Community =
public, Port = 162, Version = '2c');
$session-trap(oid = linkUp,
Sent before through my personal mail ID
Hi,
We experienced a seg fault (only one known occurrence so far) while sending
the V2 traps out.
I found the following link with exact location where I see the crash on our
device.
Hi,
I am using net-snmp version 5.5. I am trying to send traps using the net-snmp
library api's, but I am unsuccessful. But sending the trap using snmptrap
command is successful with the same credentials. Below are the steps I have
followed.
1. service snmptrapd stop
2. service snmpd stop
3.
On 12 November 2010 11:16, Sampige, Sahana Prabhakar (STSD)
sah...@hp.com wrote:
session.securityEngineIDLen = strlen(0x80001f8880654ceb30a484dc4c);
session.securityEngineID = (u_char*)malloc(session.securityEngineIDLen);
I just needed to coble up a test sub-agent (in Perl) that acts as an
AgentX based sub-agent. All went well for what I needed to test, but...
I see support for gets and sets, but what I didn't see was any support
for forwarding traps to an AgentX master from Perl sub-agents.
Is it missing, or am
On Mon, 24 May 2010 16:17:03 +0100, Joao Ferreira gmail
joao.miguel.c.ferre...@gmail.com said:
JF I'dd like to know if there is an API accessible from the Perl modules to
JF send a trap to the currently configured trap destinations in snmpd.conf
JF I now this exists in C but I can figure out
Hello,
I'dd like to know if there is an API accessible from the Perl modules to
send a trap to the currently configured trap destinations in snmpd.conf
I now this exists in C but I can figure out how to do it from the Perl
API.
Thank you
Joao
Hi,
I am using Net-SNMP 5.4.2 on Windows XP and 2003 Server. We've not had any
problems with the agent, nor snmpwalk and some other utility commands.
However, what I recently found is that I'm unable to send a trap using the
snmptrap command. Regardless of what I put on the command-line, I get no
Hi.
It sounds like you're running the built-in Windows snmptrap.exe which is
in c:\windows\system32. The Net-SNMP installer puts the bin folder at
the end of the path so the Windows version will come first.
Try running it directly from the installed Net-SNMP bin folder.
Alex
Hal Rottenberg
I think the expression I'm looking for is, if it had been a snake...
Thanks, Alex.
On Tue, Oct 20, 2009 at 7:39 PM, Alex Burger
ale...@users.sourceforge.netwrote:
Hi.
It sounds like you're running the built-in Windows snmptrap.exe which is in
c:\windows\system32. The Net-SNMP installer puts
Hi,
I have written a small c program which parses data received extracts some
information and stores it in some variables.
Using this information I need to be able to make SNMP traps and forward them to
the NMS.
Should I use the SNMP trap from within this program or write another c program
Conductor and Peripheral IPG);
net-snmp-users@lists.sourceforge.net
Subject: RE: sending traps
Actually there are a lot of APIs provided by the net-snmp and I cant
figure out the difference between them
Some APIs start with the keyword netsnmp eg: netsnmp_send_traps, some
start with the keyword
2009/3/30 Tanisha Kashyap tanisha.kash...@aricent.com:
My sole purpose is to actually make an agent which would implement a get/set
request
on a MIB object and would also implement sending traps.
OK - in that case Sazid is quite correct.
You should use one of the agent trap API calls.
Please
] On Behalf
Of Dave Shield
Sent: Monday, March 30, 2009 4:01 PM
To: Tanisha Kashyap
Cc: sazid.maham...@wipro.com; net-snmp-users@lists.sourceforge.net
Subject: Re: sending traps
2009/3/30 Tanisha Kashyap tanisha.kash...@aricent.com:
My sole purpose is to actually make an agent which would
2009/3/30 Tanisha Kashyap tanisha.kash...@aricent.com:
What's the difference between a dynamically loaded module and a subagent.
Whenever you're working with SNMP, you'll always have an agent - a process
that is running all of the time, and will respond to requests for information.
The question
Subject: Re: sending traps
2009/3/30 Tanisha Kashyap tanisha.kash...@aricent.com:
What's the difference between a dynamically loaded module and a subagent.
Whenever you're working with SNMP, you'll always have an agent - a process
that is running all of the time, and will respond to requests
-Original Message-
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf
Of Dave Shield
Sent: Monday, March 30, 2009 5:10 PM
To: Tanisha Kashyap
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: sending traps
2009/3/30 Tanisha Kashyap tanisha.kash
: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf
Of Dave Shield
Sent: Monday, March 30, 2009 5:26 PM
To: Tanisha Kashyap
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: sending traps
2009/3/30 Tanisha Kashyap tanisha.kash...@aricent.com:
If I develop a subagent
My sole purpose is to actually make an agent which would implement a get/set
request on a MIB object and would also implement sending traps.
The traps are formed in a different way. Some data is parsed and the traps are
formed using the parsed information. The traps are then sent to the NMS
2009/3/30 sazid.maham...@wipro.com:
It depends upon you. You can send TRAP in same or write different .
I would agree - you could either send the trap from within your application,
or invoke the snmptrap command to do this.
Coding this yourself is cleaner, while forking off snmptrap is
2009/3/30 Tanisha Kashyap tanisha.kash...@aricent.com:
Whenever you're working with SNMP, you'll always have an agent - a process
that is running all of the time, and will respond to requests for
information.
This agent is the net-snmp daemon snmpd?
The Net-SNMP daemon snmpd is an example
2009/3/30 Tanisha Kashyap tanisha.kash...@aricent.com:
If I develop a subagent then that would run independent of the master agent
i.e. snmpd?
It would run as a separate process to the master agent, yes.
But it would be dependent on the master agent for being given
requests to process.
Will
@lists.sourceforge.net
Subject: Re: sending traps
2009/3/30 Tanisha Kashyap tanisha.kash...@aricent.com:
Can you refer some reading material (apart from the net-snmp site)
or some sample agent (preferable) so that I can go through it and
finalize what approach to take and document it.
No. I don't have any
2009/3/30 Tanisha Kashyap tanisha.kash...@aricent.com:
Can you refer some reading material (apart from the net-snmp site)
or some sample agent (preferable) so that I can go through it and
finalize what approach to take and document it.
No. I don't have any documentation I can point you
answer.
Paul
Original message
From: Pavel Hrdina pole...@seznam.cz
Subject: snmpd restart causes subagent to stop sending traps
Date: 19.3.2009 15:23:42
Is the Net-SNMP library designed in a way to survive a restart cycle
Is the Net-SNMP library designed in a way to survive a restart cycle of snmpd
daemon?
I am facing a problem when my AgentX subagent stops sending traps after the
snmpd daemon has been restarted. The subagent is a part of other program (log
server) so it is not desirable for it to require
On Fri, 30 Jan 2009 13:52:01 -, Angela Lazaro
angela.laz...@edisoft.pt said:
AL I'm using net-snmp 5.3.2 and I'm trying to find a way to send traps to
AL different destinations at the same time. So far I've tried to defined
AL different trapsess in the snmpd.conf file (the configuration
2009/1/30 Angela Lazaro angela.laz...@edisoft.pt:
... if I want to use only SNMPv3, how can I send a multi destination trap?
Use two trapsess directives.
Each such line (be it trapsess, trapsink, etc) will configure a
separate trap destination. If you have 28 such lines in your
config file,
again,
Ângela
-Original Message-
From: dave.shi...@googlemail.com on behalf of Dave Shield
Sent: Sat 1/31/2009 10:50 AM
To: Angela Lazaro
Cc: net-snmp-users@lists.sourceforge.net; net-snmp-cod...@lists.sourceforge.net
Subject: Re: Sending Traps for different destinations at the same time
Hi everyone!
I'm using net-snmp 5.3.2 and I'm trying to find a way to send traps to
different destinations at the same time.
So far I've tried to defined different trapsess in the snmpd.conf file (the
configuration file for the agent) or pass multi destinations in the same
trapsess in the
Hi everyone!
I'm using net-snmp 5.3.2 and I'm trying to find a way to send traps to
different
destinations at the same time.
So far I've tried to defined different trapsess in the snmpd.conf file
(the configuration
file for the agent) or pass multi destinations in the same trapsess in
the
Hi friends,
I am using net-snmp-5.4.1.2 in my window system(Window-XP). I have generated
the template codes by the help of mib2c command. I have made proper
changes in template coding to perform all the GET SETs operations. Now I
want to send traps from my agent and for that I made
2008/6/13 dan anderson [EMAIL PROTECTED]:
In an attempt to send traps from a standalone, I've done the following:
create_trap_session(localhost, 0, public, 1, SNMP_MSG_TRAP2);
init_traps();
[ populate notification_vars ]
send_v2trap(notification_vars);
It's not clear what you mean by a
It's not clear what you mean by a standalone.
The 'send_v2trap' routine is part of the agent API.
If you're working with a standalone application, then
this won't work. You'll need to use 'snmptrap.c' as
a template in this case.
Ah, thanks. I didn't realize that API calls would require a
In an attempt to send traps from a standalone, I've done the following:
create_trap_session(localhost, 0, public, 1, SNMP_MSG_TRAP2);
init_traps();
[ populate notification_vars ]
send_v2trap(notification_vars);
But without success. When I step through in gdb, the sinks list is
empty. I've tried
Happy New Year, everyone! I didn't see any responses to this issue over
the last 2 weeks, and I'm still stuck on this problem.
Basically, I am unable to generate any traps from my AgentX agent - I
know from my debug output that my code is being triggered, and I'm
calling the SNMP API to send the
I built and install net-snmp version 5.4.1. I used the same snmpd.conf
file listed earlier in this thread:
[EMAIL PROTECTED] snmp]# snmpd -f -Le -Ddisman
registered debug token disman, 1
netsnmp_assert !registration != duplicate failed agent_registry.c:535
netsnmp_subtree_load()
netsnmp_assert
Can anyone explain to me why an snmpd daemon configured using the below
file fails to send traps when the load numbers for 1, 5 and 15 minutes
are exceeded?
###
#
# snmpd.conf
#
# - created by the snmpconf configuration
On 02/10/2007, Neil Watson [EMAIL PROTECTED] wrote:
Can anyone explain to me why an snmpd daemon configured using the below
file fails to send traps when the load numbers for 1, 5 and 15 minutes
are exceeded?
At first sight - yes, that ought to be generating traps.
Which version of the agent
Neil Watson wrote:
defaultMonitors yes
What Net-SNMP version are you working with?
For 5.3.x and up please make sure you read and follow the whole
defaultMonitors paragraph in the snmpd.conf(5) manual page.
+Thomas
--
Thomas Anders (thomas.anders at blue-cable.de)
On Tue, Oct 02, 2007 at 04:33:57PM +0200, Thomas Anders wrote:
Neil Watson wrote:
defaultMonitors yes
What Net-SNMP version are you working with?
[EMAIL PROTECTED] ~]# rpm -qa |grep -i net-snmp
net-snmp-libs-5.1.2-11.EL4.10.0.1
net-snmp-5.1.2-11.EL4.10.0.1
net-snmp-utils-5.1.2-11.EL4.10.0.1
--
On 02/10/2007, Neil Watson [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] ~]# rpm -qa |grep -i net-snmp
net-snmp-libs-5.1.2-11.EL4.10.0.1
net-snmp-5.1.2-11.EL4.10.0.1
net-snmp-utils-5.1.2-11.EL4.10.0.1
That is a very old version of the Net-SNMP software,
and the DisMan support has been completely
On Tue, Oct 02, 2007 at 03:31:15PM +0100, Dave Shield wrote:
Try running the agent using
snmpd -f -Le -Ddisman
[EMAIL PROTECTED] ~]# snmpd -f -Le -Ddisman
Turning on AgentX master support.
NET-SNMP version 5.1.2
No other output after more than ten minutes of load (1 and 5 minutes
load
On 02/10/2007, Neil Watson [EMAIL PROTECTED] wrote:
Building the software by hand in distributing it to all servers on our
network is something I'd like to avoid. Are you saying that the version
I have is not capable of sending traps using the 'defaultmonitors yes'
directive?
I would have
I am desperately seeking some help as I am really struggling, but I accept
this isn't really the remit of this list - if its more appropriate off list
replies are fine by me.
I have net-snmp installed and apparently working e.g. snmpget returns
values from localhost.
I now want to test sending
further to my earlier request I can add that if I also use a -Ci option
(inform) this is the response I receive...
bash-3.00# snmptrap -v 2c -c public -Ci localhost ucdStart sysContact.0
s Dave
snmpinform: Timeout (Sub-id not found: (top) - sysContact)
Presumably this means the sent traps do
Hi,
I have configured snmptrapd to listen on both UDP and TCP ports. I
start snmptrapd as follows:
$SNMPTRAPD -On -C -c $SNMPTRAPDCONF -Lf $LOGFILE udp:anIPAddress:162
tcp:anIPAddress:162
If I send a trap from another machine using the following line:
snmptrap -v 2c -c public tcp:anIPAddress
On 18/05/07, John Giaccotto [EMAIL PROTECTED] wrote:
I have configured snmptrapd to listen on both UDP and TCP ports.
If I send a trap from another machine using the following line:
snmptrap -v 2c -c public tcp:anIPAddress '' .1.3.6.1.4.1.1230.1 .0.0 s
just here
Then $LOGFILE shows the
Hi,
If my machine has many interface cards(eth0.eth1,ath0,) and I want to
assign outgoing traps to eth1(for example) what I should do.
I appreciate your help,
Reza
-
Ahhh...imagining that irresistible new car smell?
Check outnew cars at
I am attempting to send traps from a Sun Solaris 9 box to nms system.I have
Net-Snmp V5.1.1.Configuration options show disman/event-mib is enabled in
the Configure options.
The following is an example of the traps that I get from the server.
Generic: 6; Specific: 2; Community: bipolar;
On 05/04/07, Michael Lineback [EMAIL PROTECTED] wrote:
I am attempting to send traps from a Sun Solaris 9 box to nms system.I
have Net-Snmp V5.1.1.Configuration options show disman/event-mib is
enabled in the Configure options.
The 5.1.1 release is extremely old by now, and the disman
On 12/02/07, jin zhou [EMAIL PROTECTED] wrote:
But I am afraid simply using :
snmp_send( ss1, pdu );
snmp_send( ss2, pdu );
snmp_send( ss3, pdu );
can't send a trap with content pdu to different destinations ,because the
routine snmp_send will free pdu automaticlly if succeed.
Good point.
Yes, it is a good idea of using snmp_clone_pdu to improve the efficiency
of the codes.And because the num of trap receivers is not certain, so I use
struct netsnmp_session *ss_head as a head of linked list,which is built
before sending a series of traps and free at last.It seems like that
Dear Dave,
Thank you for your suggestions.But I am afraid simply using :
snmp_send( ss1, pdu );
snmp_send( ss2, pdu );
snmp_send( ss3, pdu );
can't send a trap with content pdu to different destinations ,because the
routine snmp_send will free pdu automaticlly if succeed.I have
hi,
i am using net snmp version 5.2.3 and i want to send traps.
i have this line trap2sink all, and once i used trap2sink (the manager ip),
and i am using send_v2trap. but i see nothing at the manager machine.
how can i get sure that my first machine is sending the trap.
i have to
On 10/02/07, Hamid Taromian [EMAIL PROTECTED] wrote:
i have this line trap2sink all
That would send traps to the host called all
how can i get sure that my first machine is sending the trap.
Run the agent with the '-d' flag.
That will show raw packet dumps - including any traps.
Dave
[ 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
jin zhou wrote:
I choose using API routines snmp_pdu_create(SNMP_MSG_TRAP2) and
snmp_send(ss,pdu) to send traps,while the session peername and port can be
specified.But i meet the troulbe:it always send traps on port 161,even
through i use the codesession.remote_port= SNMP_TRAP_PORT;,while
net-snmp 5.2.3 ,working on Linux,thank you!
Thomas Anders [EMAIL PROTECTED] 写道: jin zhou wrote:
I choose using API routines snmp_pdu_create(SNMP_MSG_TRAP2) and
snmp_send(ss,pdu) to send traps,while the session peername and port can be
specified.But i meet the troulbe:it always send traps
On 08/02/07, jin zhou [EMAIL PROTECTED] wrote:
I choose using API routines
snmp_pdu_create(SNMP_MSG_TRAP2) and snmp_send(ss,pdu)
to send traps,while the session peername and port can be specified.But i
meet the troulbe:it always send traps on port 161
Specify the destination as
Cleared~! OMG,it is so easy to you,but i can't think about it,thank you very
much!
And is the method I use the best way of resolving the problem of dynamic
trap receiver?If I meet these questiones of API using angain,how can I find out
the error quickly by myself?
Dave Shield [EMAIL
On 08/02/07, jin zhou [EMAIL PROTECTED] wrote:
And is the method I use the best way of resolving the problem of dynamic
trap receiver?
Probably, yes.
The alternative would be to manipulate the contents of the snmpNotifyTable
and snmpTargetTable - but that would affect *all* traps sent by the
Dear Dave and all,
Hi,I am sorry to interrupt you again becuase I have another trouble.I need
to send traps to dynamic destinations which only can be determined when sending
traps on IPV4,so the trap API routines 'send_easy_trap()' or 'send_v2trap' are
not so effective because I am
On 20/12/06, Srivastava, Namburi (IE10)
[EMAIL PROTECTED] wrote:
These are the packet dumps I got even after changing the socket through
which the master and sub-agent communicate.
Hmmm...
Looking back at the previous conversation, you were talking about
configuring the Master and subagent to
On 18/12/06, Srivastava, Namburi (IE10)
[EMAIL PROTECTED] wrote:
Okay, so in that case if I add the following line of code in my Subagent
before init_subagent()
netsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID,
NETSNMP_DS_AGENT_X_SOCKET,
/var/agentx/master);
Does
: sending traps from embedded AgentX subagent
On 18/12/06, Srivastava, Namburi (IE10)
[EMAIL PROTECTED] wrote:
Okay, so in that case if I add the following line of code in my
Subagent
before init_subagent()
netsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID
-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Tuesday, December 19, 2006 2:53 AM
To: Srivastava, Namburi (IE10)
Cc: David Arthur; net-snmp-users@lists.sourceforge.net
Subject: Re: sending traps from embedded AgentX subagent
On 18/12/06, Srivastava, Namburi (IE10
to use the /var/agentx/master route.)
Thanks again,
David Arthur
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dave
Shield
Sent: Thursday, December 14, 2006 5:15 PM
To: David Arthur
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: sending traps from
PROTECTED] On Behalf Of David
Arthur
Sent: Monday, December 18, 2006 2:40 PM
To: net-snmp-users@lists.sourceforge.net
Subject: RE: sending traps from embedded AgentX subagent
Dave,
Thank you for the help debugging this AgentX connection.
For the benefit of other list members:
Be sure that both ends
On 18/12/06, Srivastava, Namburi (IE10)
[EMAIL PROTECTED] wrote:
How do I find to which socket does the sub-agent is trying to connect???
The easiest way is probably to turn on packet dumps in the subagent.
Then you can check the header line of the dump
(Sending N bytes to {somewhere})
Try
.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Monday, December 18, 2006 3:10 PM
To: Srivastava, Namburi (IE10)
Cc: David Arthur; net-snmp-users@lists.sourceforge.net
Subject: Re: sending traps from embedded AgentX subagent
On 18/12/06, Srivastava
On 18/12/06, Srivastava, Namburi (IE10)
[EMAIL PROTECTED] wrote:
I have tried doing that...
This is the output I got after agentx/master initialization was done
Sending 46 bytes to 192.168.254.1
Then this is the socket to which the subagent is trying to
send AgentX requests. I.e. a network
to?
Regards,
Sri.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Monday, December 18, 2006 4:50 PM
To: Srivastava, Namburi (IE10)
Cc: David Arthur; net-snmp-users@lists.sourceforge.net
Subject: Re: sending traps from embedded AgentX subagent
Hello all:
I am unable to get traps from an embedded subagent. I have a C++ application
that runs a module containing an embedded AgentX subagent. Though there are
other app-specific things going on in between, the following is the code
that relates to the embedded subagent. (I have verified that
1 - 100 of 150 matches
Mail list logo