Hi,
Simply use the "notify" method of the AgentXSubAgent
which implements the corresponding method of the
NotificationOriginator interface:
http://www.snmp4j.org/agentX/doc/org/snmp4j/agent/agentx/subagent/AgentXSubagent.html#notify(org.snmp4j.smi.OctetString,
org.snmp4j.smi.OID, org.snmp4j.smi
fferent product, so changing to INFORMs
> is unlikely.
>
> thanks again,
> David
>
> On Tue, Mar 6, 2012 at 4:49 PM, Frank Fock <mailto:f...@agentpp.com>> wrote:
>
> Hi David,
>
> If you read the SNMPv3 RFCs carefully you will see that
>
Hi,
This sounds as if there are two agents using the same
engine ID.
Best regards,
Frank
Am 07.03.2012 12:53, schrieb Saravanan M:
> Hi All,
>
> We have been using SNMP4J (version 1.10.2) in our EMS application to
> communicate with the network elements(Agent) we manage.
>
> On one specific setu
Hi Wim,
By SNMP standard, the order is fixed. But there might
be applications that violate the standard, of course.
Best regards,
Frank
Am 06.03.2012 08:11, schrieb BADENHOP Wim:
> Hi,
>
> A v2c trap starts looks like
>
> SystemUpTime OID = system up time;
> trap OID = trap identification;
> OID
Hi David,
If you read the SNMPv3 RFCs carefully you will see that
it cannot work what you are trying.
SNMP4J handles the different situations correctly.
The .0 is the suffix of a scalar. It will never be incremented.
The value of the counter increments, though.
There are two possible solutions:
Hi,
This is a known problem, that has been caused by Maven 2.0
at the time SNMP4J 2.0.3 has been compiled and packaged.
Meanwhile the build server uses Maven 2.1 and the issue
should disappear with the next version.
Best regards,
Frank
On 06.03.2012 19:37, Brian Weaver wrote:
> I'm using a nexu
> From: snmp4j-boun...@agentpp.org [mailto:snmp4j-boun...@agentpp.org] On
> Behalf Of Frank Fock
> Sent: 02 March 2012 01:00
> To: snmp4j@agentpp.org
> Subject: Re: [SNMP4J] AgentX shared table indexes problem
>
> Hi Jesse,
>
> The behavior you observed is required by th
mp4j-boun...@agentpp.org] On
> Behalf Of Frank Fock
>> You are facing the same issue as described in
>> http://lists.agentpp.org/pipermail/snmp4j/2012-March/004789.html
>>
>> I understand that this situation is not covered userfriendly by
>> SNMP4J-AgentX as imple
Hi,
I am not sure what could be causing the specific error you
are getting below, but an important detail to keep in mind
is the following:
In the agenpro-mvn-task\pom.xml the order of dependencies
has to be changed, if you use newer versions of SNMP4J
or SNMP4J-Agent than those that came with yo
Hello Christian,
You are facing the same issue as described in
http://lists.agentpp.org/pipermail/snmp4j/2012-March/004789.html
I understand that this situation is not covered userfriendly
by SNMP4J-AgentX as implementing a subclass is not straight
forward.
I will provide such a subclass of Agen
Hi Jesse,
The behavior you observed is required by the AgentX protocol.
See RFC 2741 section 7.1.4.2.2 for details.
If you have such an index structure, where you share the
index of the master table, then you should not use any
index allocation for the child table.
Thus, you should overwrite the
Hi Jesse,
The AGENTX-MIB contains objects about sub-agent
registration, but I guess you mean something different
called shared tables.
You can use the index allocation of AgentX to register
your subagents in a shared table. You can use the
subagent's AgentX session ID for that.
Best regards,
Fra
Hi Jesse,
Am 14.02.2012 19:40, schrieb Jesse Woo:
> Hi Guys,
>
> We are evaluating the AgnetX APIs and much appreciated if you can answer the
> following questions.
>
> Does it support TCP, and will it work with Linux snmpd daemon?
Yes, SNMP4JAgentX supports TCP. As it fully supports AgentX,
it w
sage-----
> From: snmp4j-boun...@agentpp.org [mailto:snmp4j-boun...@agentpp.org] On
> Behalf Of Frank Fock
> Sent: 17 January 2012 00:37
> To: snmp4j@agentpp.org
> Subject: Re: [SNMP4J] How to completely exit from agent?
>
> Hi Jesse,
>
> After calling Agent
Hi Brice,
The current snapshots of SNMP4J 1.x and 2.x contain
a fix for that issue in the DefaultTcpTransportMapping.java
file.
Best regards,
Frank
Am 20.01.2012 21:33, schrieb Frank Fock:
> Hi Brice,
>
> The log output suggests that there is a race condition between the
> connec
Hi Brice,
The log output suggests that there is a race condition between the
connection timeout and the sending of a new packet. I will
have look if it can be fixed.
A workaround would be to choose a longer timeout.
Best regards,
Frank
Am 18.01.2012 14:21, schrieb Brice Fines:
> Hi Frank,
>
> O
Hi Rajesekhar,
a SNMP4J-Agent agent is responding to SNMP messages
and in most cases not sending requests.
For a message originator, you should ask about the
performance of SNMP4J, not SNMP4J-Agent.
Best regards,
Frank
Am 15.01.2012 06:58, schrieb Rajasekhar Gogula:
> Hi SNMP4J experts,
>
>I
Hi Jesse,
After calling AgentConfigManager.shutdown() you should also
call WorkerPool.stop() on the WorkerPool you provided
in the constructor of the AgentConfigManager.
This, of course, only applies to thread pools that are
under your control and stoppable.
Best regards,
Frank
Am 16.01.2012 15:
y - see (1) above.
> 3. Yes, it still works after that. I issue snmpwalk using the
> community string "secret" in the example.
>
> Any suggestion where I should look at and/or check?
>
> Thanks,
> Binh
>
>
> On Sun, Jan 8, 2012 at 2:37 PM, Frank Fock wrote:
>
Hi,
What agent are you using (i.e., SampleAgent)?
From the output you quoted, I cannot see
1. that a "secrect" community existed and
2. that it was removed successfully and
3. that it does still work after that.
Have you set the CoexistenceProvider of the BaseAgent
to your CommunityMIB instance?
Hi,
MIB Designer does not automatically add a column with SYNTAX RowStatus, because
that might not be wanted in all cases. Especially for read-only tables,
RowStatus does not make sense. If you want to create a read-write (create)
table, then you should add a RowStatus column. There is a RFC whi
Hi,
You can find the answer in the FAQ.
On sender site you forgot to call snmp.listen();
Without listening for incoming messages you cannot
receive them.
Best regards,
Frank
Am 20.12.2011 16:22, schrieb George Vasilakis:
> Hi all.
>
> I am trying to send v2 informs and successfully retrieve the
Hi Brice,
For the SNMP4J(-Agent*) 1.x branch, security updates
will be provided, at least until version 3.x is released
(not before 2013).
New features will be implemented in the current (2.x)
release in most cases.
Best regards,
Frank
On 12.12.2011 16:20, Brice Fines wrote:
> Hi Frank,
>
> We
Hi Osian,
Currently TableUtils does not support your use case
(directly). But it is a good idea for further development.
The proposed approach with a second get (can be sent
on behalf of the TableEvent callback) for TableA is
the right one.
Best regards,
Frank
Am 06.12.2011 13:09, schrieb Osian
Hi,
See the FAQ at http://www.snmp4j.org/html/faq.html
You can search the mailing list with a search engine
(Google is a search engine, for example).
Best regards,
Frank
Am 30.11.2011 12:10, schrieb dajiang:
> Hi,
>
> I have problem sending set pdu.
> here is my code:
>
> PDU pdu = new PDU();
>
>
> Thanks
>
> Radhakrishna.
>
>
>
> From: Alexey Nikolaenkov [mailto:nickolaen...@gmail.com]
> Sent: Tuesday, November 22, 2011 9:14 AM
> To: Radha krishna Meduri -X (radmedur - HCL TECHNOLOGIES LIMITED at
> Cisco)
> Cc: Frank Fock; snmp4j@agentpp.org
> Subject: R
Message-
> From: snmp4j-boun...@agentpp.org [mailto:snmp4j-boun...@agentpp.org] On
> Behalf Of Radha krishna Meduri -X (radmedur - HCL TECHNOLOGIES LIMITED
> at Cisco)
> Sent: Monday, November 21, 2011 3:17 PM
> To: Frank Fock; snmp4j@agentpp.org
> Subject: Re: [SNMP4J] SNMP4J IPv6
>
&
Hi Vinod,
You do not have to change anything on OS level.
With SNMP you cannot send packets that exceed 64K.
But I do not think that this is the problem here.
I guess that you modify the PDU contents while it
is being encoded. Have you checked that already?
Best regards,
Frank
Am 18.11.2011 05:
Hi Christy,
Attachments cannot be sent through the mailing list.
I assume that the agent does not implement lexicographic
ordering correctly. Some situations can be detected by
TableUtils, but not all.
Maybe you can send me the logs directly to
supp...@agentpp.com?
Best regards,
Frank
Am 18.11
Hi,
SNMP4J already supports IPv6 in version 1.x.
Of course also in 2.x.
Best regards,
Frank
Am 11.11.2011 14:15, schrieb Radha krishna Meduri -X (radmedur - HCL
TECHNOLOGIES LIMITED at Cisco):
> Hi Experts
>
>
>
> Our application was using SNMP4J 1.9 for connecting to devices using
> snmp commu
Hi Julie,
You can set the PDU factory to create the PDUs with
non-default settings.
Best regards,
Frank
Am 07.11.2011 16:31, schrieb Julie L:
> Hi,
>
> I'm using TableUtils.getTable to get the snmp info, and I'm using usm.adduser
> to add all the profiles, but I don't see a way to add the contex
Hi Ron,
If you need reliable ordering of incoming messages then
you have to use the regular MessageDispatcher which
is MessageDispatcherImpl.
You will have to make sure then, that the calls to
CommandResponder.processPdu will not block the
message dispatcher.
Do you have 20 cores in your server?
Hi Alexander,
A PDU listener can only receive PDUs. If the PDU cannot be
parsed from the packet - bad luck.
However, you can use the TransportListener to get the packet
bytes.
Best regards,
Frank
Am 07.11.2011 12:14, schrieb Александр Литвинов:
> Hello. I'm using 2.0.2 version of snmp4j. And I h
Hi Pete,
The second entry in the community table is restored from
persistent storage. If you delete the file before you start
the agent, you will get only one entry (the entry you configured
in the properties file).
Hope this helps.
I will fix the wiki page about the community configuration...
Hi Peter,
The Provider positions are 1-based. You wrote that you used 0
as position. That won't work (-1 is returned). Have you tried
it with position 1?
Best regards,
Frank
Am 03.11.2011 22:56, schrieb Frank Fock:
> Hi Peter,
>
> I will try to add the requested configurability
Hi Peter,
I will try to add the requested configurability.
The ticket number is SFJ-52.
Best regards,
Frank
Am 02.11.2011 13:36, schrieb Peter Verthez:
> Hi Frank,
>
> To elaborate on this (because the context wasn't really explained in the
> original mail of Jones):
>
> We found that in perfor
Hi,
First of all, NET-SNMP's "snmpwalk" and the SNMP
GETBULK operation are two totally different things.
GETRBULK is similar to GETNEXT. Thus if you provide
an instance OID (ends with .0) you will not get
the instance but its successor (if available).
snmpwalk works very differently and it is no
Hi,
Creating and closing a Snmp instance to send a single
PDU is not recommended usage.
Nevertheless, it should not cause a NullPointerException
when used with a synchronous send method.
I will analyse it and fix it if necessary.
Best regards,
Frank
Am 03.11.2011 22:37, schrieb Appu Goundan:
>
Hi,
Are you sure that the below is caused by a clock drift?
A reset of the engine boots counter at the manager
seems to be more likely.
You are right, that a notInTimeWindow error/report should be
returned if the times of sender and responder are not in sync.
Doing an automated rediscovery is a
d the SNMP RFCs about the INDEX SMI construct
for more details.
Best regards,
Frank
Am 02.11.2011 02:54, schrieb adireddy.as...@rsa.com:
> Resending the mail.
>
> -Original Message-
> From: Aswin, Adireddy
> Sent: Tuesday, November 01, 2011 5:33 PM
> To: 'Frank Foc
Hi Fridtjof,
You can remove yourself through the same way you
subscribed at:
http://lists.agentpp.org/mailman/listinfo/snmp4j
Sending unsubscribe requests to the mailing list
is not polite, because several hundred people need
to read it.
Best regards,
Frank
Am 01.11.2011 20:37, schrieb Fridtjof
Hi Adi,
The problem seems to be that the manager (SNMP4J) resets
its MPv3 cache, because enigne boots and engine time are
reset (0 and 7 instead 1 and 2861+7+x).
At time x after the first successful request was sent, someone
deleted the Snmp instance and/or the contained MPv3
object or used a sec
org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of SNMP4J digest..."
>>
>>
>> Today's Topics:
>>
>>1. Re: thread lock inorg.snmp4j.mp.MPv3.prepareResponseMessage
>> (F
Hi Kristoffer,
The JIRA system is not public. It is accessible for
all users which have a valid support contract.
The issue description was:
The Windows Vista JDK (versions unknown) throws a SocketClosed exception
on a "Time-to-live exceeded" error although the socket can still be used.
Attached
Hi,
I guess that you have chosen the wrong index for your SET operation. If you
would have included the INDEX definition I could have checked it.
OCTET STRING index columns have variable length and thus need an additional
length sub-id if not specified otherwise for the last sub-index.
Best rega
Hi,
"snmpwalk" is not a SNMP operation.
Thus, it cannot be "supported". If you mean:
"Can I use SNMP4J to walk a (sub-)MIB-tree
with SNMP4J?", then the answer is "yes".
Best regards,
Frank
On 31.10.2011 09:29, nadeesh t v wrote:
> whether snmp4j 2.0.2 supporting snmpwalk
> __
Hi,
You need a SMI parser to convert object names to an OID
and vice versa. Normally this is nothing one should do
at runtime. You really want to do it, you can use
JASMI (http://www.mibdesigner.com) for that.
At compile time, AgenPro will be able to help you.
Best regards,
Frank
On 26.10.2011
Hi Johnson,
I do not think that there is a regression bug in the logging
adapter.
Have you debugged the code and are you sure the log factory
initialization for your custom logging adapter is being called?
Best regards,
Frank
Am 24.10.2011 21:55, schrieb Johnson Smith:
> Hi Team,
>
> I have my o
Hi,
I do not understand your question. Are you encountering deadlocks?
The stacktraces do *not* seem to indicate a deadlock.
So what is the problem you encouter?
Best regards,
Frank
Am 25.10.2011 09:02, schrieb shangtang wei:
> Hello, everyone,
>
>
>
>
>
> Snmp4j version 1.11.2.
>
> We have 50 t
Hi Wim,
Yes, the AgenPro generated code for SNMP4J-Agent
can be used with SNMP4J-AgentX too. In contrast,
to AGENT++/AgentX++ you do not have to modify the
code generation settings when switching from
SNMP4-Agent only to SNMP4J-Agent + SNMP4J-AgentX.
Best regards,
Frank
Am 25.10.2011 12:34, sch
Hi,
You can use the asynchronous interface and count
the returned rows yourself.
Best regards,
Frank
On 18.10.2011 00:27, Johnson Smith wrote:
> Hi Team,
>
> I'm using TableUtils for snmp walk operations. I have a need to ensure max
> number of rows returned for a given table does not exceed a g
Hi,
Yes of course, SNMP4J and SNMP4J-Agent as well as SNMP4J-AgentX
support (SNMPv3) contexts.
You can configure access rights using the VACM MIB through SNMP.
In addition, you need to register your ManagedObject instances
on the MOServer for the contexts you want to support.
Best regards,
Frank
Pro 3.x and use their existing license key.
The next MIB Explorer release (3.1) will focus on usability enhancements
on the basic browser functions. Feature requests are highly appreciated
and can be sent to supp...@mibexplorer.com. The 3.1 release date
is planned for Q1/2012.
Frank Fock
Hello Miroslav,
You should use OctetString.fromHexString("48 57 54 43 d0 bf 30 04", ' ')
to create the OctetString value you set.
Alternatively you can also use
OctetString s = OctetString.fromHexString("48:57:54:43:d0:bf:30:04");
Best regards,
Frank
Am 11.10.2011 18:53, schrieb Miroslav Genov:
Hi,
With AgenPro you do not need to write any code,
because it has a built-in agent simulator which also
can be loaded with snapshot data from a real
agent.
Thus, if you want a generic agent simulation
with dynamic MIB support, you better choose
AgenPro. Building it with SNMP4J-Agent needs
al lot
gt; event.getError());
> }
> }
>else {
> System.out.println("event is null");
>}
>
>}
>try {
>Thread.sleep(5000);
>} catch (Interr
Hi,
Of course, you can have two users with different passphrases
but same security name for different targets.
As you correctly assumed, you must then use the addUser
methods and provide the authoritative engine ID each
the respective target.
I guess here is the cause of the error, because you
ca
Hi Chris,
It's not a bug, it's a feature. The SNMP standard(s) have
caused that. The nonRepeaters field is the same as
the errorStatus field on the wire (repeaters = error index).
That works, because when you send a GETBULK request,
an error condition does not make sense (for the agent).
The reps
Am 13.09.2011 20:44, schrieb Fabrice Bacchella:
> Le 13 sept. 2011 à 20:26, Frank Fock a écrit :
>
>> Hi,
>>
>> Https must be used for the download. Sorry.
>> The certificate is a valid one. For Java,
>> you will have to import the CA of the certificate
&g
Hi,
Syncing artifiacts is planned for the near future.
Best regards,
Frank
On 13.09.2011 17:14, Fabrice Bacchella wrote:
>
> Le 13 sept. 2011 à 16:43, Stevo Slavić a écrit :
>
>>
>> AFAIK it's enough to create a ticket on either
>> https://issues.sonatype.org/browse/OSSRH or
>> https://issues.so
Hi,
Https must be used for the download. Sorry.
The certificate is a valid one. For Java,
you will have to import the CA of the certificate
into your Java keystore, that's all.
Most checksums on the server are indeed invalid
due to a bug in Maven 2.2.0 which was used to
upload the packages.
We h
Hi,
I cannot imagine that there is really the issue you are describing.
Are you sure, you do not mix up localized passwords from
non-localized?
Best regards,
Frank
Am 04.09.2011 22:24, schrieb Ole Karlson:
> I'm having strange issues when setting the passphrases, the following
> works (traps are
Hi,
The SSHTM is not (yet) implemented in SNMP4J 2.0.
Interfaces have been created to provide a hint
for the upcoming implementation (which is in fact
an integration of a 3rd party SSH implementation).
Since the implementation of such an integration
is not finished yet, the interface may change
h
Hi,
I do not see where there is an Iterator involved.
Do you have a stack trace?
Best regards,
Frank
On 19.08.2011 01:51, Aaron Loyd wrote:
>
> The UsmUserTable class uses the not thread safe TreeMap. It seems that if one
> thread were to do snmp.getUSM().addUser() while another thread were doi
Hi Andrey,
To get a receipt, you have to use an INFORM message instead
a NOTIFICATION. To be able to send that kind of PDU, you need
SNMPv2c or SNMPv3 support on your (source and) target
SNMP entity.
With SNMPv1 you cannot achieve it with UDP.
Best regards,
Frank
On 17.08.2011 11:24, Андрей wr
Hi,
It seems that you wrote a broken MIB module
if you want to register the OIDs below.
May be you can use MIB Designer to fix
you MIB module and then try again to
implement it.
Best regards,
Frank
On 10.08.2011 12:10, karuna s wrote:
> Hello Frank,
>
> Thanks a lot for your quick response. I th
Hi,
I cannot follow your writing. An INFORM PDU is always a
confirmed PDU. Also I cannot see why there should be
two messages send for any PDU (other than retries).
Best regards,
Frank
On 04.08.2011 20:20, Beau Anderson wrote:
> I'm new to this mailing list list so I don't know if this has been
Hi Christy,
As Jochen wrote, you are using the wrong constructor
for localized keys (which you name "encrypted passphrases").
The constructor below does work only for non-localized
keys ("plain [text] passphrases").
Best regards,
Frank
On 01.08.2011 15:49, christyj wrote:
> Hi Jochen,
>
> I am u
security
* Sub-tree proxy (SNMP4J-Agent 2)
* Usage of System.nanoTime() instead
System.currentTimeMillis() where appropriate.
Best regards,
Frank Fock
--
AGENT++
http://www.agentpp.com
http://www.snmp4j.com
http://www.mibexplorer.com
http://www.mibdesigner.com
t; Software Engineer
> Allot Communications * a mind for networks(tm)
> Tel: +972 9 7619309
> Cell: +972 54 7830804
> Fax: +972 9 744 3626
> ltep...@allot.com
> www.allot.com
>
>
> -Original Message-
> From: snmp4j-boun...@agentpp.org [mailto:snmp4j-boun...@
Did you make sure that sender and receiver
use different engine IDs?
On 22.07.2011 18:37, guyfaw...@gmx.at wrote:
> I think have the same problem as described in this very old mail:
> http://lists.agentpp.org/pipermail/snmp4j/2007-March/001954.html
>
> I also found this thread but it didn't help
Hi,
"1.3.6.1.9348.13.1.2..."
and "1.3.6.1.9348.13.1.3..."
are not valid OIDs.
Best regards,
Frank
On 21.07.2011 14:10, karuna s wrote:
> Hello,
>
> I am beginner to snmp4j. I have a task to write my own mib file.
> So when i want to register oid's to agent, it is throwing an exception
> Duplicat
Hi Jones,
Well described observation. Yes, SNMP4J 1.x behaves
that way. I have checked the SNMPv3 RFC 3412 and
I think it allows to optimize the behavior
to allow receiving a response to a former retry
(or original request) after the next retry has
been send out.
I will now implement that optimiz
Hi Liron,
The race condition you refer to
(http://lists.agentpp.org/pipermail/snmp4j/2011-March/004478.html) has
been fixed in
SNMP4J-AgentX 1.3.3. However, the wrong behavior of
NET-SNMP cannot be fixed by us.
Therefore, I recommend using SNMP4J-AgentX as master
and NET-SNMP as sub-agent.
Bes
Hi,
These social network spam is a plague! I will
remove any such posting from the archive and
immediately unsubscribe the user that sent
the email.
Sorry, taking your time...
Best regards,
Frank
--
AGENT++
http://www.agentpp.com
http://www.snmp4j.com
http://www.mibexplorer.com
http://www.mibd
Hi Christy,
TableUtils (which is creating TableEvents) uses GETNEXT and
GETBULK to retrive table data. Both operations must not
return any exception values you refer to (e.g. noSuchInstance,
noSuchName). Thus, it does not make sense to return it
as if it is returned by an agent, that agent violate
Hi Gary,
Your right, the current behavior is too strict.
I have changed it as follows for the 2.0 release
(will also change it for the 1.x branch too):
catch (SocketException soex) {
if (!stop) {
logger.error("Socket for transport mapping " + toString() +
Hi Chaim,
You can implement your own MOTableRow class that provides
that data from your tables. To fully virtualize a table
(or more tables at once), you can use the
MOServerLookupListener from the MOServer.
Best regards,
Frank
On 11.07.2011 08:26, Chaim Turkel - HQ wrote:
> How can I implement
Hi Binh,
That feature is already implemented in SNMP4J-Agent.
It is the SNMP-COMMUNITY-MIB implementation.
For more details see RFC 3584.
Best regards,
Frank
On 27.06.2011 20:55, Binh Le wrote:
> Hi,
>
> Several vendors such as Cisco provide the following mechanism to
> access their devices:
>
>
Hi Pengli,
You cannot distinguish them (with any SNMP entity),
because that is behavior is the desired one.
Best regards,
Frank
On 17.06.2011 10:26, pengli li wrote:
> Hi frank:
>
> I have a question about snmp4j, think about two scene.
>
>1. I fetch message form a host which
.
* Fixed: [MDS-4] Unable to parse (non-lenient-mode) a MIB specification
with DEFVAL clause for an OBJECT-TYPE with OBJECT IDENTIFIER syntax
which refers to a MODULE-IDENTITY.
Frank Fock
--
AGENT++
http://www.agentpp.com
http://www.snmp4j.com
http://www.mibexplorer.com
http
Hi Binh,
To send notifications from a SNMP4J-Agent
agent use the NotificationOriginator
interface:
http://www.snmp4j.org/agent/doc/org/snmp4j/agent/NotificationOriginator.html
You can access it through the AgentConfigManager:
http://www.snmp4j.org/agent/doc/org/snmp4j/agent/AgentConfigManager.ht
Hello Stevo,
Thanks for reporting that. The certifiate has been
updated.
Currently there are no plans to forward releases
to the Maven central repository.
Best regards,
Frank
On 23.05.2011 16:57, Stevo Slavić wrote:
> Hello Snmp4j users,
>
> Certificate for maven repositories at https://server.
Hi Mark,
You are right. I will fix that.
Best regards,
Frank
On 19.05.2011 09:58, Mark A. Flacy wrote:
> Greetings,
>
> In both of the AgentConfigManager's constructors, the JavaDoc for the
> vacm parameter mentions "Typically, this parameter is set to null to use
> the default VACM associated w
Hi,
You could also use AgenPro which provides a
simulation agent out-of-the-box and
built-in.
Have you read the PDF
http://www.snmp4j.org/SNMP4J-Agent-1.4-InstrumentationGuide.pdf
on how to instrument SET requests?
Best regards,
Frank
On 30.04.2011 08:29, le goualher yannick wrote:
> Hello,
>
>
Hi Wim,
Yes, you can do that by using SNMP, for instance.
Just edit the content of the SNMP-COMMUNITY-MIB
to match your needs. The only drawback is,
that you have to understand the SNMPv3 security
concept to be able to do that.
A code change is not necessary.
Best regards,
Frank
On 26.04.2011 1
Hi David,
The application you are trying to write
seems to be something like a MIB browser.
What are the reasons not to use MIB Explorer
for example?
Yes, if you need runtime MIB information,
then you will need JASMI (or some other
SMI parsing Java API).
Learning the supported MIB modules from
a
Hi,
I will try to fix that for the
next 1.x and 2.x release.
Best regards,
Frank
On 01.04.2011 17:08, Miller, Mark wrote:
> We have uncovered an issue with OctetString.isPrintable(). For the
> OctetString for 1C:32:41:1C:4E:38 iisPrintable is returning true but 1C
> is not a printable character
Hi Tobias,
You can use
http://www.snmp4j.org/doc/org/snmp4j/ScopedPDU.html#getContextName()
Best regards,
Frank
On 25.03.2011 14:42, Tobias Lindenmann wrote:
> Hi there,
>
> I have one questions to the snmp4j library:
>
> How can I set the contextName for SNMPv3 with snmp4j?
> Have you an exampl
Hi,
You are trying to send a SNMPv1 PDU with V3 which is not allowed by the
standard. SNMP4J tool should print an error message however. This will be fixed
in the next release.
Best regards
Frank
Am 25.03.2011 um 07:51 schrieb "Sa, Rajashekhar (EXT-Other - IN/Bangalore)"
:
> Hi,
>
>
>
> G
Hi,
The agent does not seem to implement lexicographic ordering correctly or has
problems to process a GETBULK pdu correctly.
Best regards
Frank
Am 23.03.2011 um 10:09 schrieb Katona Attila :
> I have a problem with snmp4j when getting the 64bit counter
> information from a cuda1000 cmts. The
Hi Pavel,
The IpAddress SMI type is a IPv4 address only.
It cannot be used for IPv6 addresses.
You have to use OctetString for that.
Thus, the code will not be changed. It
works as designed.
Best regards,
Frank
On 22.03.2011 13:29, Pavel Orehov wrote:
> Hi,
>
> I found that SNMPv1 traps with IP
Hi Eric,
It works as it was designed ;-). I guess, you
are sending a SNMPv1 TRAP-PDU with SNMPv2c
which is a protocol violation.
Just send a NOTIFICATION PDU instead and
everything would be fine.
(Alternatively, you may send the V1TRAP
with SNMPv1)
Best regards,
Frank
On 18.03.2011 16:54, Eric
Hi,
I will try to improve the reconnection behavior
of SNMP4J-AgentX in this regard. However,
the root cause is the bug in the NET-SNMP
master agent. The AgentX RFC of course, does
not define any order of requests and
responses. Since the AgentX master agent
has a couple of bugs for years now,
I a
t;
> -Original Message-
> From: snmp4j-boun...@agentpp.org [mailto:snmp4j-boun...@agentpp.org] On
> Behalf Of Frank Fock
> Sent: 08 March 2011 22:34
> To: snmp4j@agentpp.org
> Subject: Re: [SNMP4J] Snmp object reuse.
>
> Hi,
>
> You should reuse a Snmp instance
Hi,
You should reuse a Snmp instance for subsequent requests.
Creating and closing/destroying it for each request
is overkill and guarantees bad performance and other
issues on OS level (running out of ports, etc.)
Best regards
Frank
On 08.03.2011 23:18, Giuseppe Sarno wrote:
> Hello,
> I seem t
t;
> -Original Message-
> From: snmp4j-boun...@agentpp.org [mailto:snmp4j-boun...@agentpp.org] On
> Behalf Of Frank Fock
> Sent: 02 March 2011 22:30
> To: snmp4j@agentpp.org
> Subject: Re: [SNMP4J] Setting Local port in DefaultUdpTransport causes null
> responses.
>
&g
Hi,
You need to close the transport in order
to be able to bind the port again.
The OS might block a rebind for several
seconds/minutes.
What are you trying to test/show with
the code?
Why do you want to specify a specific
local port? (I do not recommend that
for several reasons)
Best regards,
Hi,
You can use the second example from
http://www.snmp4j.org/doc/org/snmp4j/Snmp.html
and just replace PDU.GETNEXT with PDU.TRAPV1
and remove the listener stuff (use "null"
parameter instead).
Best regards,
Frank
On 28.02.2011 20:28, Neil Cohen wrote:
> Hi,
>
> I am writing a Java program which
Hi Daniel,
What your are going to try is simply impossible.
You cannot use multicast with SNMPv3, because
each agent has its unique engine ID and the manager
must use that ID it its requests.
Best regards,
Frank
On 15.02.2011 09:27, Daniel Boschofsky wrote:
> Hi there,
>
> I am pretty new to mai
501 - 600 of 1071 matches
Mail list logo