Hi Jeff,
You need a MIB compiler or at least a name
to OID mapping to do this at runtime. The
latter can be generated at compile time
with AgenPro or MIB Explorer
(http://www.agentpp.com).
To use MIB information, you can use JASMI
(see http://www.mibdesigner.com) or any
other Java MIB compiler.
Hi Christof,
Thank you for pointing me on this.
I have fixed it for the next release.
Best regards,
Frank
Christof Meerwald wrote:
Frank Fock wrote:
CHANGES SNMP4J v1.9.1c SINCE v1.8.2:
I noticed that you have introduced a isVariableV1 method in PDUv1, but
you are only using
Hello Varma,
The network and agent performance is decisive
for the optimal timeout/retry strategy.
With a non-default timeout model you can
further optimize the overall performance,
for example, by resending requests
with t=500ms after t/4,t/2,t instead of
after t,t,t which is the default for 3
Hi Mark,
I do not know why that code worked before,
but for me it is clear why it cannot reliable
work: When you call System.exit(0) from
within a ThreadPool's thread, then the ThreadPool
receives an interrupted exception and tries
to stop and join the running threads. Since
the thread that
Hello Guenter,
You can change the two lines after the comment #
and then add the following lines:
# security2Group
snmp4j.agent.cfg.oid.1.3.6.1.6.3.16.1.2.1=3:3
snmp4j.agent.cfg.index.1.3.6.1.6.3.16.1.2.1.2={o}1.6.'public'
snmp4j.agent.cfg.value.1.3.6.1.6.3.16.1.2.1.2.0={s}v1v2cgroup
, see the SNMPv3 RFCs.
Best regards,
Frank Fock
Larson, Michelle R wrote:
-Original Message-
From: Cayward, Timothy B
Sent: Monday, May 12, 2008 3:59 PM
To: Larson, Michelle R
Subject: RE: [SNMP4J] FW: Help on SNMP4J v3 agent
Hello Frank,
Thanks for your quick reply!
Yes, I've made
, I know SNMP4J plan for no dependencies, but, simple
curiosity, what are exactly the missing feature of slf4j ??
Julien
On Mon, 26 May 2008 23:33:46 +0200
Frank Fock [EMAIL PROTECTED] wrote:
Hi Julien,
MINA seems to be easy to use, indeed.
I have planned a nio implementation of
the UDP
Hi Norman,
it is as simple as
BERInputStream berInputStream =
new BERInputStream(myByteBuffer);
PDU pdu = new PDU();
pdu.decodeBER(berInputStream);
Best regards,
Frank
Norman Elton wrote:
I've got a server that listens for both SNMP PDUs and Radius requests
(long story). Right now,
Hi Iker,
The description of the GETBULK operation at site
you quoted below is incorrect and incomplete in
several ways.
Please refer to RFC 3416 §4.2.3 for a correct
and comprehensive description of the GETBULK
operation.
Best regards,
Frank
Iker Almandoz wrote:
Hi Anton,
GETBULK is the
The SHADES user (as the name suggests) requires the SHA authentication
protocol, not MD5.
linyuan wrote:
Thanks for the tip .Can you describe it in detail to me? I try it
again with the command: SNMP4J -a MD5 -A SHADESAuthPassword -x DES -X
SHADESPrivPassword -u SHADES -p GETBULK
the way SNMP is specified?
Would the request need to be for 1.2.3.4.5.1.0 in order for the
agent to return it, or would 1.2.3.4.5.1 be sufficient?
Frank Fock wrote:
Hello Jeff,
Scalars have to be registered with an .0 instance
identifier. Thus, try 1.2.3.4.5.1.0 and
1.2.3.4.5.2.0
Hi Mathieu,
I do recommend this approach. SNMP4J-Agent
is a complete framework and handles a lot
of stuff for you. Using the approach below,
you will have to rewrite 70% of the SNMP4J-Agent
code - which is a lot.
You can read the SNMP4J-Agent instrumentation
how-to PDF coming with AgenPro for
Hi Iker,
This is a good point. I have changed the
VariableBinding constructor already to
use Null.instance instead new Null().
I have introduced the cloning to avoid
race conditions in multi-threaded
applications.
Introducing a immutable OID subclass
would solve the issue and the user could
Hi Iker,
Thanks for reporting this one. It is a special
case that I have overseen and which was not covered
by our tests.
I have updated SNMP4J, -Agent, and -AgentX on
the web site accordingly, although for the Agent(X)
version this bug should not make any difference.
Best regards,
Frank
Iker
Hi,
Vinayagam Natarajan wrote:
Will SNMP4J supports request/response on multiple interfaces, as our device has
multiple interface, connected to different networks?
Yes.
Will it support sending traps on multiple interfaces?
Yes.
In simple words, is it allowed to add multiple transport
Hi Jeff,
You can overwrite the settings from the property
file programatically at any time after it has been read.
Best regards,
Frank
Jeff Ramin wrote:
Hi folks.
I've written an agent (embedded within an application) based on the
SampleAgent that you get with the snmp4j-agent code.
This
Hi,
Please read the HowTo that comes with AgenPro
on agent instrumentation to answer your questions.
Best regards,
Frank
peterxu schrieb:
Hi all
I would like to develop a snmp-agent using snmp4j-agent, I have
read the code of TestAgent.java, I have few questions.
1、 how to
Hello,
You need to configure the USM indeed.
See http://www.snmp4j.org/doc/org/snmp4j/Snmp.html
for an example. The error code you get is described here:
http://www.snmp4j.org/doc/org/snmp4j/mp/SnmpConstants.html
Best regards,
Frank
Oosten, Harry van schrieb:
Hello,
As a requirement for
Hi,
There is IMHO no abnormal program event
that is logged to console and not forwarded
to the logging adapter. The event below is
a *normal* program event, since returning
a SNMP error status is a normal task of a
SNMP agent.
So, printing the stacktrace here in debug
mode is for debugging
Hi Chris,
Yes, this seems to be a regression in the last version. Your
workaround is OK and will be part of the next version.
Best regards,
Frank
Christian Defoy schrieb:
Hi,
I am receiving a NullPointerException using SNMPv3 at AuthPriv level.
It is worth mentioning that I am using
name of a V2 agent would be changed by modifying rows in the
snmpCommunityTable?
Frank Fock wrote:
Jeff,
These objects are standard SNMP objects and
are therefore documented in the corresponding
RFCs. For the SNMP-COMMUNITY-MIB
see RFC 3584.
Best regards,
Frank
Jeff Ramin schrieb:
As I've
XxxxRuntimeException is preferred.
Mark G
-Original Message-
From: Frank Fock [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 02, 2008 2:10 AM
To: Mark Gorokhov
Cc: Wilson Burgos; snmp4j@agentpp.org
Subject: Re: [SNMP4J] SnmpRequest.java not logging errors
Hi,
There is IMHO no abnormal
The question is, does it hang longer than 5000ms?
Does the debugger stop all other threads when
you step through?
Please try also the latest version 1.9.3b which
fixed a race condition which might have been
occurred in your case.
Best regards,
Frank Fock
Oosten, Harry van wrote:
I use 1.8.2
Hi Doug,
Doug Hughes wrote:
1) In the snmp4j_tool download there is a SNMP4J-mac file. Is this known to
work at all on intel-based macs? I receive this error when I attempt to
execute it:
Java for ppc cannot run in this configuration.
Please consult documentation.
VM creation failed.
The
Hi,
What is the problem when using a ScopedPDU?
(SNMPv3 is supported of course)
Best regards,
Frank
vikram shetty wrote:
Hi ,
I want to know function
Hi Vikram,
there is no limit imposed by SNMP4J,
but there are limits imposed on the
maximum PDU size, max. transfer unit
size on the network protocol used for
UDP, the max. PDU size that the agent
can handle, and, of course, other
limits of an agent. See the GETBULK
operation of the SNMP
for your input!
Michelle Larson
-Original Message-
From: Frank Fock [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 19, 2008 12:12 AM
To: Larson, Michelle R
Cc: SNMP4J@agentpp.org
Subject: Re: [SNMP4J] Implementing RFC 1213
Hi Michelle,
You can also remove rows on events on any other
because i did not able specify the ContexName. It failes while
authenticating the PDU.
Thanks
Vikarm shetty.
On Wed, Aug 20, 2008 at 2:41 AM, Frank Fock [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Hi,
What is the problem when using a ScopedPDU?
(SNMPv3 is supported
of snmp4j in VM.
Renato A. Ferreira
- Original Message - From: Frank Fock [EMAIL PROTECTED]
To: Renato Araújo Ferreira [EMAIL PROTECTED]
Cc: snmp4j@agentpp.org
Sent: Wednesday, August 27, 2008 6:58 PM
Subject: Re: [SNMP4J] some SNMP4j issues...
Hello Renato,
Are you sure that each session
Hi,
I would recommend using the
http://www.snmp4j.org/doc/org/snmp4j/Snmp.html#addNotificationListener(org.snmp4j.smi.Address,
org.snmp4j.CommandResponder)
hook to receive notifications and inform requests.
The snmp class will then send the response for you.
The UDP checksum error can be
Hi Alexander,
The get method is not accessed when a GETBULK SNMP request
is being processed. Instead you would have to overwrite
the next(..) method. But this only works, if you have a
stable first and last row in your table which is seldom
the case.
I would recommend using the
Hi,
Have you set the LogFactory to Log4jLogFactory in your main
class/method with LogFactory.setLogFactory?
Best regards,
Frank
srenivasan rs wrote:
Hi All,
I would like to have a quick clarification on how to initialize the
logger mentioned in
org.snmp4j.util.TableUtils.java. I have the
Hi,
Without MIB defintion, I am afraid, we cannot help.
Why are you setting the same object twice in the
same request?
Best regards,
Frank
Tzahi Bergman wrote:
Hi,
I've created a row using TableUtils.
The problem that i have is adding a row that has two indexes - meaning
that the row index
Hi Alex,
The ProxyForwarderImpl can only be used
for proxy forwarder applications as defined
in RFC 3413.
OID based forwarding is something different.
Here you will have to implement your own
ManagedObject instance to provide such
functionality.
Best regards,
Frank
Alexander Fooks wrote:
Hi,
Hi Mike,
You several options for columns:
(1) Overwrite MOMutableColumn.validateSetRequest if you want
to verify a change with row context based on your column
implementation.
(2) Overwrite MOMutableRow2PC.prepare if you want to verify
a column change within the context of the row.
(3)
Hi Tzahi,
how does the string you are trying to set looks like?
What kind of agent is used?
Best regards,
Frank
Tzahi Bergman wrote:
Hi,
I got a problem when I'm trying to do a set for object that is type
BITS.
I have read the discussion about BITS that the BITS is OCTET STRING and
this is
Hi,
You should address your question to the Wireshark
support. This mailing list is about SNMP4J(-*).
Regards,
Frank
raocheng wrote:
In wireshark, when I use Edit -- Preferences -- Protocols -- SNMP --
Users Table to add a SNMP user and fill in the following information:
engine_id:
to insert String like 001 or 100.
3. And of course the regular values like 1 or 2
As for the agent i use the latest version of snmp4j agent.
Thanks,
Tzahi Bergman
On Tue, 2008-10-14 at 09:49 +0200, Frank Fock wrote:
Hi Tzahi,
how does the string you are trying to set looks like?
What
OK, and how did you implement the BITS type
in the agent?
Best regards,
Frank
Tzahi Bergman wrote:
That's exactly what i did, and it didn't work.
On Thu, 2008-10-16 at 00:07 +0200, Frank Fock wrote:
Hi,
You need to send an OCTET STRING with a single
byte (length = 1).
Best regards,
Frank
Hello Anthony,
Like the JavaDoc for Snmp explains it:
If using the default constructor you need
to add a MessageDispatcher and the security
models yourself.
Best regards,
Frank
Anthony Alessi wrote:
Hello all,
I am new to SNMP4J programming. I am trying to initialize Snmp
with
Hi John,
You do not need to have more than one
MPv3 instance for managing several
devices using SNMPv3 with MPv3.
If you have problems because of
same security name used with different
passphrases on different devices, then
you should use localized keys instead
password/passphrase.
Best
Nirmala,
This is the wrong mailing list to ask this question
and the idea to run a C trap receiver from a Java process
is probably a really bad idea.
Best regards,
Frank
[EMAIL PROTECTED] wrote:
HI All,
We are running snmptrapd unix utility through java code. Can anyone tell
me how to kill
Lakshmi Vijaya Sarathi wrote:
If a DisplayString type OID is part of the trap definition, how can a
VariableBinding object be created in java code -?
VariableBinding vb =
new VariableBinding(
new OID(1.3.6.1),
new OctetString(Hello World));
Regards,
Frank
--
AGENT++
http://www.agentpp.com
Hi,
From your description I conclude that the
trap senders open a new TCP connection for
each trap within 10 milliseconds, is that
right?
That's a bad design (even for testing), because
establishing a TCP connection is very expensive
and when closing it, resources may not be release
Hi Diago,
You are trying to send a packet to the port you are trying to listen on.
As long as there is another process bound to that port (the snmp service
of your OS), this will fail.
You will have to use a different listen address (e.g. udp:0.0.0.0/0)
to make this working.
Regards,
Frank
with TCP messages.
Frank Fock
--
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com
___
SNMP4J mailing list
SNMP4J@agentpp.org
http://lists.agentpp.org/mailman/listinfo/snmp4j
Hi Ali,
Please follow the JavaDoc documentation at:
http://www.snmp4j.org/doc/org/snmp4j/Snmp.html
You will not receive any response, because
you did not setup a listen port and transport
mapping. You did not call Snmp.listen() to
listen for responses. The default constructor
of Snmp does not
should handle this situation? The
client does not want me to show SnmpTimeOut. Because when he checks from
the Adventnet MibBrowser, he can see the value. Although it is an SNMP
agent issue, I have been asked to handle it my application.
Regards
Shenaz
-Original Message-
From: Frank Fock
Hi Rajesh,
As the output explains, you are using the same engine ID
as the target. Thus, you are using SNMPv3 because you
did not specify any other version. Use -h to get help
on the command line options. With -v 2c you choose
version 2c.
Best regards,
Frank
Rajesh Tewari wrote:
Hi All,
I'm
Hi Eternal,
The MIB specification has to define which character
set to use. To support all languages, UTF-8 (UTF-16)
should be used.
You cannot recognize which character set is used
by the data send - you can guess, but in many cases
the guess will be wrong.
Since Java uses UTF internally, you
/port/trap destinations etc) using this commad
line utility?
Yes, of course. Apparently, you did not run the tool with -h
to get a description. You can find it also under
http://www.snmp4j.org/snmp4j_usage.txt
Regards,
Frank
Thanks,
Rajesh
- Original Message
From: Frank Fock f
Hi Andy,
The first two statements (session close and transport
disconnect) should be sufficient. The fourth thread
is the connection management thread of the TCP
transport mapping. To remove it, call stop() on
the transport mapping (this will close all connections
of that mapping).
Best
Hi Jeff,
Jeff Ramin wrote:
Could somebody explain why the SampleAgent does not extend BaseAgent?
This has been already explained on this list.
BaseAgent can be used if you want to inherit
basic services.
SampleAgent uses the (more advanced) composition
approach by using the
Hi,
Since Socket.receive blocks until a packet is received,
I do not see any advantage of the suggested code.
Best regards,
Frank
Vivi Zhang wrote:
Hi,
I am looking at ways to tuning my application with embedded SNMP agent
with SNMP4J and SNMP4J-Agent.
I have two questions about the
Hello Reza,
The SNMP-PROXY-MIB (which is implemented by
SNMP4J-Agent) is the official solution
for your task. See RFC 3413.
This approach is generic, but has the
drawback that the SNMP command generator
needs to be aware that there are two (or more)
entities at the same IP and port.
A seamless
Hi,
such reports indicate, that your dropping your
USM (Snmp) instance between those requests -
what you should not do.
Best regards,
Frank
lalit patel wrote:
Hi all,
I am using SNMPv3 manager. Whenever I query ( polling interval = 5 minutes)
any agent, it gives two report PDU ( namely
[mailto:snmp4j-boun...@agentpp.org] On
Behalf Of Paul Mellor
Sent: 11 February 2009 10:38
To: 'Frank Fock'
Cc: snmp4j@agentpp.org
Subject: RE: [SNMP4J] Recommended client for monitoring SNMP tables?
Hi Frank,
Thanks for the tip - I've downloaded MIB Explorer, but unfortunately when
using
to be the cause.
As far as I can see, there is only one USM for all SNMP objects and
within this USM the user and time tables are stored indexed on the (in
my case non-unique) authoritive engine ID. Where am I missing it ?
Regards,
Sjoerd
--- On *Tue, 3/3/09, Frank Fock /f...@agentpp.com
Hi Mark,
Please make sure that agent and MIB Explorer
use different engine IDs. You can change
the engine ID of MIB Explorer in the settings
dialog.
Best regards,
Frank
Mark Clements wrote:
Hi,
I'm a relative newbie at this! I keep getting the response Unknown
Engine ID within my
Hi Tjip,
Whether A) (ignore the exception) works is
definitely depending on the JDK implementation.
B) should work when you call close() and then
listen() on the DefaultUDPTransportMapping
instance. The small gap where there exists
no socket could cause a NPE too, of course.
I will think about
Hi Ouafae,
Just use new Integer32(1) with TruthValueTC.createScalar(..).
Best regards,
Frank
wafae alami wrote:
Hi ,
I want to create a MOScalar object for a scalar mbean attribute :
attribute type =boolean
attribute snmpType=TruthValue
MOScalar moScalar =
Hello Daniel,
Currently you cannot use the snapshots created
by MIB Explorer with the SnapshotAgent or
SNMP4J, because those snapshots contain more
information.
Using snapshots from SNMP4J within MIB Explorer Pro
is not problem.
I will provide a conversion tool that will convert
MIB Explorer
Hi,
Have you studied the JvmManagementMibInst.java example
already?
When using the SNMP4J-AgentJMX framework, you do not
need to call the NotificationOriginator directly.
Without knowing your notification type MIB specification
and not knowing the MBean definition, I cannot help
you defining
Hi,
Licensed users of MIB Explorer Pro 2 may download and
use the SnapshotConv.jar program from
http://www.mibexplorer.com/SnapshotConv.jar
to run
java -jar SnapshotConv.jar [-h] mibexplorer-snaphost-file
snmp4j-snapshot-file
It converts MIB Explorer Pro snapshot files to SNMP4J
snapshot
Hi Subanesh,
What device (agent) are you using? Does it support AES256?
The error code 1403 means that you did not setup the
USM configuration properly (security level is not supported
or inconsistent configured).
Best regards,
Frank
Subanesh wrote:
Hi,
Am facing the following problem with
regards,
Frank
Sören Dero wrote:
Dear mr Frank Fock,
I'm a Belgian student working on a small project to design a snmp manager.
I've been using the snmp4j api and that has worked very well.
I've been succesfull into retrieving information from my router, but I can't
set anything. Everytime
. How Hyper Terminal application does it ?
Thank you all,
Nedo.
On Sun, Apr 12, 2009 at 1:31 PM, Frank Fock f...@agentpp.com
mailto:f...@agentpp.com wrote:
Hi Nedo,
On the wire (between agent and manager) only OIDs and
values are transmitted by SNMP. On the manager side
Hi Charles,
SNMP4J-Agent supports both approaches you listed
below. The different instrumentation techniques
are explained in the
SNMP4J-Agent-Instrumentation-HowTo.pdf
which can be downloaded as part of AgenPro 2
from http://www.agentpp.com/agenpro2.zip
To update MIB (cache) data in in your
Hi Brice,
From my point of view a ThreadPool based on WorkerTask provided
by a JavaEE server does not make any sense. The server already
pools WorkerTasks and pooling it a second time does not
provide any benefit.
I am working on a package that provides helper classes to
integrate SNMP4J-Agent
Hi Marcin,
I can confirm that SNMP4J 1.9.3d does not
call onResponse with a null response PDU
when there was a response != null before
on the same request.
Whether this is a bug or not is questionable
but I agree that having such a call can
simplify async listener programming and is
therefore
Hi,
Jochen Katz wrote:
The current implementation of snmp4j does not support resynchronization in
this case; my question is: should it?
No. If you have a device that changes its engine id, this can and should
be solved by the application. The MPv3 offers functions to add, get and
remove
x.x.x.3.1.2.1 = value
x.x.x.3.1.3.1 = value
x.x.x.3.2.1.1 = value
x.x.x.3.2.2.1 = value
x.x.x.3.2.3.1 = value
Frank Fock wrote:
Hi Jeff,
It is very simple: SNMP4J-Agent expects the
OID of the TableEntry object (=the conecptual
row OID). Thus, create the table with x.x.x.3.1
/needed by Java 1.6.
Changes SNMP4J-AgentX 1.2 since 1.1.1
* Improved: Wrapped Object.wait() call in
AgentX.java in loop as suggested/needed by
Java 1.6.
Frank Fock
--
AGENT++
http://www.agentpp.com
http://www.snmp4j.com
http://www.mibexplorer.com
http://www.mibdesigner.com
Hi,
Apparently, you are using inconsistent SNMP4J and SNMP4J-Agent
versions.
Best regards,
Frank
DORICA MESA wrote:
Can anyone help me with the error am getting running the BaseAgent example
from Snmp-Agent. I am new on SNMP development. I just downloaded the example
and compiled it . I
(MessageDispatcherImpl.java:347)
at
org.snmp4j.util.MultiThreadedMessageDispatcher$MessageTask.run(MultiThreadedMessageDispatcher.java:203)
at org.snmp4j.util.ThreadPool$TaskManager.run(ThreadPool.java:239)
Best regards
Marcin
2009/5/27 Frank Fock f...@agentpp.com mailto:f...@agentpp.com
Hi,
SNMP4J uses the standard Java encryption functions.
Thus, it does not implement them itself and is therefore
not subject to export regulations. The Java is, of course.
Best regards,
Frank
Nguyen Vu Hung wrote:
Hi all,
I am using snmp4j (in the .jar form), version 1.9.3d in my
SNMP4J 2.0 is scheduled for Q4/2009.
Best regards,
Frank
karunakaran s.l wrote:
Hi Frank,
Following mail mailing list
http://www.mail-archive.com/snmp4j@agentpp.org/msg00754.html says SNMP4j
will support SNMP over SSH in SNMP4j 2.0. Can you please tell me the
approximate release date for
Hi Sjoerd,
I am unable to decode your message.
May be you can rephrase/reformat it, please?
Thanks,
Frank
Sjoerd van Doorn wrote:
Hello Frank (and other readers that might know the answer ;-),
I tried to use the new functionality within the v1.10 to avoid using my own
overloaded class as
Hi Simon,
Your approach will not work for SNMPv3.
For SNMPv3 you need to implement your own
TransportMapping that wraps your existing
transport.
Best regards,
Frank
simon sew wrote:
Hi there,
I’ve just started learning about SNMP4j.
Currently I have this problem.
I would like
Hi,
Why are you setting these com.sun.management.snmp.*
parameters? I guess you cannot use a port twice
on the same machine, right?
Best regards,
Frank
Wong, Noichi wrote:
Hi all,
My environment
-Windows XP
-JDK 1.5.0_16
-Tomcat 5.5.27
set JAVA_OPTS=%JAVA_OPTS%
Hi Tjip,
As I wrote several times on the list:
(1) SNMP4J 1.x is designed for Java 1.4,
therefore System.nanoTime cannot be used.
(2) Automatically accepting time changes
from a SNMPv3 entity makes its security
concept (nearly) worthless.
You should then use SNMPv1/v2c instead.
Best regards,
Joseph,
The TestAgent example shows the USM/VACM initialization
using code. This can be used with the SampleAgent too.
Best regards,
Frank
Jozsef Lazar wrote:
I'm quite new to this topic so please be patient with me ;-)
I'm trying to build a very simple agent with a few scalars (for test
Which logging adapter are you using?
Frank
Jozsef Lazar wrote:
I have problems with my VACM and want find out what is that. Can anyone
please help me how can I turn on debugging globally in SNMP4j so that I
can see all logger messages? I'm using the TestAgent.java as agent.
-- joseph
Dheeraj Joshi M wrote:
And one more stuff why targetaddress is never used in the code?
Is that is the problem?
Yes.
Best regards,
Frank
Waiting for a help.
Regards,
Dheeraj Joshi M
___
SNMP4J mailing list
SNMP4J@agentpp.org
Hi Senthil,
I have created an issue for that bug (SFJ-7). Currently,
I see no workaround other than using different
communities for different targets.
The bug should be fixed in SNMP4J-Agent 1.3.1.
Best regards,
Frank
Senthil Muniswamy wrote:
Frank,
I am using Snmp4J-Agent for proxy.
Hi,
wei tong wrote:
why a Request with different EngineID can jump the time Check?
Since the engine IDs differ, which timestamps
do you want to compare?
that means if we using a snmptool to sent trap to local TrapReceiver, it
will be refused after 150 sec
because the
Jean,
SMI (SNMP) does not support table-within-a-table.
You need to model your MIB in a relation database
table fashion. Tables in SMI can have relations
which are based on the index definitions of the
tables. See the tables.pdf paper from David Perkins
(snmpinfo.com if I remember it correctly)
Hi Pidarp,
The TestAgent is capable of sending out traps
(it actually does with its default config).
If you cannot see the trap with your sniffer
then
(a) you are sniffing on the wrong interface
(b) your OS does not support sniffing on the
interface the agent uses
(c) your agent configuration has
Aidan,
If you do not specify a contextengineID, SNMP4J
will set it to the authoritative engine ID.
The usmNotInTimeWindow error can have many causes.
First, I would check if your engine ID differs from
that of the agent.
Best regards,
Frank
Aidan Diffey wrote:
All.
I am writting an SNMP
Hi,
Thank you for your bug report. This bug
[SFJ-8] has been fixed for SNMP4J 1.10.1.
Regards,
Frank
dugu dugu wrote:
I run snmp4j like this:
SNMP4J.exe -Ow -v 3 -a SHA -A xxx -n abc -p GETNEXT -u Administrator 10.x.x.x
and got the error info:
Total requests sent:0
Total objects
Hi Ellis,
When using several UDP (or TCP) transport mappings
you should make sure, that you use only the Snmp
methods that take the transport mapping as parameter.
Then you can choose the mapping you want to use.
The default NotificationOriginator however, will not
distinguish between those
, Target, Transport) twice (once for each
transport), then it will work. What I am afraid of is duplicate traps
being sent.
This won't occur right?
Thanks again for the quick response.
Corey
-Original Message-
From: Frank Fock [mailto:f...@agentpp.com]
Sent: Monday, July 20
Hi Lukasz,
First of all, I assume that you meant pool
when you wrote poll, right?
SNMP4J does not use ThreadPool except in the
MulitThreadedMessageDispatcher. If you use
it, the a thread is taken from the pool to
run the onResponse(..) callback. That's all.
Best regards,
Frank
Łukasz
Is 172.17.240.10 the IP of your local system
or the IP of the switch?
Since you cannot bind an address of a external
system, ...
Frank
rbs2...@freenet.de wrote:
Thank you, but it did not work :( Maybe i'am to stupid, but
I have change this
listenAddress = new
Hi Michael,
Are you sure that the agent returns the values
in proper lexicograhic order? Many agents
do not, and a standard conform manager
cannot display the returned values like it
might have been intended by the agent
implementor.
Best regards,
Frank
Michael Yavorovsky schrieb:
Hi,
Hi Jones,
Why do you do not want to try the latest version?
(There are a lot more fixes between your version
and the latest than the one you are referring to)
Regards,
Frank
jones vinu wrote:
Hi Frank,
The changelog for snmp4j 10.1 states that,
Fixed: If no
Hi,
You may better ask your question in a Whireshark forum.
Regards,
Frank
pradip de wrote:
Hi,
I have a snmp agent running and it can send traps. However, when I capture
the trap packet in a sniffer(wireshark), I see Incorrect Checksum(maybe
caused by UDPChecksum Offload?). Can anybody
Hi Pradip,
Session.listen() does not block.
The rest of you assumptions do not match
with SNMP4J either and I am a bit confused
about them. Please read RFC 3410 to 3418
to get a better understanding of the
SNMP architecture.
Best regards,
Frank
pradip de wrote:
Hi,
I am trying to understand
Hi,
Are you reusing the Snmp instance or are you closing
it? If it is closed, it also closes all referenced
transport mappings.
Best regards,
Frank
Li Hee Wah, Edouard wrote:
Hi,
I worked on SNMP4J 1.10 since few days and I have a small problem.When I
instantiation a SNMP Class which
? Is there a better way than using this infinite loop?
thanks,
Pradip
On Fri, Aug 28, 2009 at 2:34 PM, Frank Fock f...@agentpp.com
mailto:f...@agentpp.com wrote:
Hi Pradip,
Session.listen() does not block.
The rest of you assumptions do not match
with SNMP4J either
1 - 100 of 677 matches
Mail list logo