Hi,
I found a NULL pointer issue while trap sending in case of memory limitation.
This error is in all net-snmp version I checked: V5.4.4 till current trunk.
Is this a possible solution?
Best regards,
Claus
diff --git a/agent/agent_trap.c b/agent/agent_trap.c
index 080b8bf..9613966 100644
---
Hi Bill,thank you for your response.I fixed the bug at my subagent. Everything seems right now for me, but the net-snmp master agent still creates a gen error.I send you the agentx messages, perhaps you can see the error?Best regardsClausclaus-mbp:build clausklein$ egrep -wn
Hi,
I have tested net-snmp as master agent with current agentpp subagent.
The most important problem I found is:
The row destroy at subagent does not work together with net-snmp master agent!
The agentX++ subagent send the (Index Deallocate) command before it send the
response to
the (Commit
readOnlyactive
Claus-Kleins-MacBook-Pro:net-snmp clausklein$
fix-byteorder-targetaddrmib.diff
Description: Binary data
//Regards
Claus
On 08.10.2013, at 14:54, Niels Baggesen wrote:
Den 03-10-2013 11:37, Claus Klein skrev:
what is the reason for different byteorder of port
Hi,
what is the reason for different byteorder of port configuration with
snmpUDPDomain and transportDomainUdpIpv6 in snmpTargetAddrTable?
with this configuration:
trapsess -v 3 -e 0x80001f88017f01 -u trapuser -l noAuthNoPriv
udp:127.0.0.1:4660
trapsess -v 3 -e 0x80001f88017f01 -u
Is someone able to answer my question?
We use net-snmp as agentx master agent and I need to know what is the max
length of a single octet-string?
//Regards
Claus
On 01.08.2013, at 21:52, Claus Klein wrote:
Hi,
I found 2 defines and one 1 mib value which are not clear to me
Hi,
I found 2 defines and one 1 mib value which are not clear to me:
snmp_agent.h
#define SNMP_MAX_PDU_SIZE 64000 /* local constraint on PDU size sent by agent
* (see also SNMP_MAX_MSG_SIZE in snmp_api.h) */
snmp_api.h
#define SNMP_MAX_MSG_SIZE 1472 /*
On 19.07.2013, at 21:48, Claus Klein wrote:HiI'm wondering why is there a different output for the same table with and without -CB option:snmptable -CibB -r0 -t15 localhost:161 myPropSeqOfStructItemAttribTable# SNMP table: my-PROPERTY-MIB::myPropSeqOfStructItemAttribTable## index Boolean Char Octet Long Short
Hi
I'm wondering why is there a different output for the same table with and
without -CB option:
snmptable -CibB -r0 -t15 localhost:161 myPropSeqOfStructItemAttribTable
# SNMP table: my-PROPERTY-MIB::myPropSeqOfStructItemAttribTable
#
# index Boolean Char Octet Long Short ULong UShort
/utilities/snmp_get_statistic.h | 20 +
15 files changed, 229 insertions(+), 42 deletions(-)
On 11.03.2013, at 23:00, Claus Klein wrote:
I was wondering why the
system_mib, (sys_contact, sys_location, ...)
snmp_mib, (snmpEnableAuthenTraps)
and notification-log-mib
Hi
at git branch V5-7-patches I see this files:
agent/mibgroup/mibII/snmp_mib.c
agent/mibgroup/mibII/snmp_mib.h
agent/mibgroup/mibII/snmp_mib_5_5.c
agent/mibgroup/mibII/snmp_mib_5_5.h
agent/mibgroup/snmpv3/snmpMPDStats.c
agent/mibgroup/snmpv3/snmpMPDStats.h
Hi,
I have tried to backport this patch to V5.4 branch. You find it here:
https://github.com/ClausKlein/net-snmp/tree/feature/backport-3310250
This is not yet finished, but it may be a base for your work.
You should at least upgrade to V5.4.4, do not longer work with V5.4.2.1!
//Regards
agent_store_needed.patch
Description: Binary data
//Regards
Claus
On 11.03.2013, at 23:00, Claus Klein wrote:
Hi,
I was wondering why the
system_mib, (sys_contact, sys_location, ...)
snmp_mib, (snmpEnableAuthenTraps)
and notification-log-mib (nlmConfigGlobalEntryLimit
Hi,
I was wondering why the
system_mib, (sys_contact, sys_location, ...)
snmp_mib, (snmpEnableAuthenTraps)
and notification-log-mib (nlmConfigGlobalEntryLimit,
nlmConfigGlobalAgeOut)
does not call the snmp_store_needed() after commit the configuration.
Tested with current git
the result was not as I had expected.
But all the same, I hope it will be better under Linux ;-)
Thanks
Claus
On 24.02.2013, at 15:13, Niels Baggesen wrote:
Den 23-02-2013 20:54, Claus Klein skrev:
is it planed to extend snmpnetstat to show ipv6 address info, ipv6
routing table entries
Hi all,
is it planed to extend snmpnetstat to show ipv6 address info, ipv6
routing table entries, and ipv6 active sockets info too?
It seems that the current version show only the ipv4 related infos
from mib2 tables.
//Regards
Claus
it.
For the next project, we will change to the next long term supported
branch.
//Regards
Claus
On 28.01.2013, at 06:41, Niels Baggesen wrote:
On Sun, Jan 27, 2013 at 12:07:40AM +0100, Claus Klein wrote:
Hi,
what is the status of the current V5.4-patches branch?
Is it planed to release
AM, Claus Klein claus.kl...@arcormail.de
wrote:
Hi,
when I stop, and start the agentx master agent again while the
agentx client
is still running, I got this messages:
NET-SNMP version 5.4.4
agentx/master: unexpected callback op 4
agentx/master: handle pdu (req=0x166,trans=0x0,sess=0x0
; \
(res)-tv_sec++;\
} \
}
On 22.01.2013, at 20:00, Claus Klein wrote:
IMO these macros should be at a single header file only ones defined.
claus-kleins-macbook
Hi,
I had an unresolved function timerisset() with net-snmp v5.4.4 code
with our embeded OS.
Looking around, I found more then one definitions of this macros, but
timerisset() was missing.
This patch helps and prevent warnings of unused vars at snmplib/
snmp_api.c.
Hi,
when I stop, and start the agentx master agent again while the agentx
client is still running, I got this messages:
NET-SNMP version 5.4.4
agentx/master: unexpected callback op 4
agentx/master: handle pdu (req=0x166,trans=0x0,sess=0x0)
agentx/master: open 0x451500
agentx/master: opened
Hi Guille,
sorry, I have no idea what a subhandler is.
But the HostTable MIB example is quit simple.
it parse /etc/host and show the contents, and you may modify, delete,
and create new rows...
with a little love it works like that:
claus-kleins-macbook-pro:net-snmp clausklein$ snmptable
Hi,
you may have a lock at this file:
agent/mibgroup/examples/netSnmpHostsTable_access.c
The HostsTable will read/writes /etc/hosts for example.
Best Regards
Claus
On 19.01.2013, at 20:57, Guillermo Veneranda wrote:
Hello,
I found very useful the examples provided to create new modules
On 15.01.2013, at 00:12, Claus Klein wrote:
making all in /Users/clausklein/Workspace/c/net-snmp/build/snmplib
making all in /Users/clausklein/Workspace/c/net-snmp/build/agent
making all in /Users/clausklein/Workspace/c/net-snmp/build/agent/
helpers
making all in /Users/clausklein/Workspace/c
Hi,
what is the status of the Rmon mib modules?
There are 2 implementations, but both are incomplete and can't compile:
making all in /Users/clausklein/Workspace/c/net-snmp/build/snmplib
making all in /Users/clausklein/Workspace/c/net-snmp/build/agent
making all in
Hi,
I am testing with net-snmp V5.4.4 on Mac OS X
$ agent/snmpd -v
NET-SNMP version: 5.4.4
Web: http://www.net-snmp.org/
Email: net-snmp-coders@lists.sourceforge.net
$ sw_vers
ProductName:Mac OS X
ProductVersion: 10.5.8
BuildVersion: 9L30
gcc --version
gcc
it
exclusive for
the hole time as long the net-element is accessible.
No other clients needed.
What is the state of the current ssh-transport at net-snmp?
Who is/was working on it?
Claus Klein
On 18.08.2011, at 18:51, Wes Hardaker wrote:
On Wed, 10 Aug 2011 23:23:34 +0200, Claus Klein
claus.kl
Hi Wes,
I have tested the new net-snmp version on my mac-book. In general it
works fine.
But I have noticed erros at snmpd.log file:
looks like a 64bit wrap, but prev!=new
c64 32 bit check failed
looks like a 64bit wrap, but prev!=new
c64 32 bit check failed
looks like a 64bit wrap, but
: Unknown host (ssh:localhost:22) (No such file or directory)
claus-kleins-macbook-pro:net-snmp clausklein$
What is the right way to use ssh transport?
//regards,
Claus
On 27.07.2011, at 23:04, Claus Klein wrote:
I want to test SSH transport feature.
First of all, it does not compile on MAC
Aug 2 00:00:14 claus-kleins-macbook-pro sshd[7391]: Received
disconnect from 127.0.0.1: 11: Normal Shutdown
But the net-snmp documentation is really pure about the SSH transport
domain!
Claus
On 01.08.2011, at 23:37, Claus Klein wrote:
I need help please.
I can start the snmpd like
Yes, thanks, it helps.
//regards
Claus
On 27.07.2011, at 17:45, Robert Story wrote:
On Mon, 25 Jul 2011 21:01:47 +0200 Claus wrote:
CK A note about the general Mib index handling:
CK
CK The default is to create the MIB index at the persistentDir.
CK But the default is owned by root and
I use the current source from git
with this configuration on MAC-OX:
/configure --cache-file=config.cache \
--prefix=/opt/local \
--with-cflags=-I/opt/local/include \
--with-ldflags=-L/opt/local/lib \
--with-defaults \
--disable-snmpv1 \
--without-rpm \
I want to test SSH transport feature.
First of all, it does not compile on MAC-OX?
With this patch, it compiles, but now I have no idea how to test it.
I can't find any tutorial or description how to use this SNMP
transport domain?
//regards,
Claus
SSHDomain.diff
Description: Binary data
Thanks, that helps!
A note about the general Mib index handling:
The default is to create the MIB index at the persistentDir.
But the default is owned by root and readonly, or sometime as on my
macbook, not readable for users.
So IMHO at leased the persistendDir should be configured at users
When I use a snmpcmd as non root I get always errors about MIB loading.
How can I prevent this?
What has been changed with V5.7 about mib index handling?
// regards
claus
For example:
claus-kleins-macbook-pro:net-snmp clausklein$ ./apps/snmpstatus -m ALL
-r0 -v3 -u claus -l noAuthNoPriv
Hi,
while working on my UBUNTU linux system with net-snmp V5.7 I missed most
of the IPv6 configuration at the MIBII if, ip, and route-tables.
So I tested the the net-snmp V5.6 with the same configuration and it
works fine!
I noted too that there are problems to load the installed mibs with
On 08.12.2010, at 07:45, Wes Hardaker wrote:
pre2 contains only a small number of bug fixes over .pre1 and can be
grabbed from:
https://sourceforge.net/projects/net-snmp/files/net-snmp/5.6.1-pre-releases/
Let us know if you find any critical issues.
I downloaded the tar archive,
Hi Wes,
thanks for you response.
I send you my updated patch and one changed test script. I also add a
new one.
Both fails with trunk version without my changes on my macbook.
See too my comments below.
With regards,
Claus
engineID-v3trap.diff
Description: Binary data
T058agentauthtrap5_simple
Description: Binary data
On 02.12.2010, at 23:10, Claus Klein wrote:
On 16.11.2010, at 10:12, Dave Shield wrote:
The pragmatic situation is that both sides of the connection need to
be using the *same* engineID, but it doesn't really matter what that
engineID
On 01.12.2010, at 07:42, Wes Hardaker wrote:
We've released Net-SNMP 5.6.1.pre1 which contains bug fixes over the
5.6
release. Please give it a whirl and let us know how it works for you!
There is still a problem with snmpV3 traps!
With this simple configuration, the v3 trap is not
On 16.11.2010, at 10:12, Dave Shield wrote:
The pragmatic situation is that both sides of the connection need to
be using the *same* engineID, but it doesn't really matter what that
engineID actually is.
So one common approach is to create user(s) in the snmptrapd.conf
file with an
Hello,
I worked with Quagga and net-snmp on an embedded system a view yeas ago.
What i missed was a read/write implementation of the OSPF MIB.
If you only want to monitor the if/ip/routing mibs, it works fine with
net-snmp without quagga.
The main question seems what you really want to do:
*
Hi,
while working with AgentX++ and net-snmp V5.6 I fount the following
error:
The master agent set the AGENTX_MSG_FLAG_NON_DEFAULT_CONTEXT bit for
response messages?
I think this is wrong.
The subagent is confused by this flag and the agentx session run into
time-out and will be
it works fine :-)
With Regards,
Claus
On 15.11.2010, at 10:04, Dave Shield wrote:
On 14 November 2010 22:25, Claus Klein claus.kl...@arcormail.de
wrote:
I use this trap session configuration:
snmpd.conf:trapsess -v 3 -u unsec -l noAuthNoPriv udp:localhost:162
This is what happens on snmptrapd
Hi,
I want to log snmpv3 traps with different context.
So I configure to send snmpv3 traps to my trap receiver.
I use this trap session configuration:
snmpd.conf:trapsess -v 3 -u unsec -l noAuthNoPriv udp:localhost:162
This is what happens on snmptrapd:
Knotentyp: Verzeichnis
Plan: normal
Letzter Autor: nba
Letzte geänderte Rev: 19663
Letztes Änderungsdatum: 2010-11-11 23:48:37 +0100 (Do, 11. Nov 2010)
With regards,
Claus
On 13.11.2010, at 13:41, Niels Baggesen wrote:
Den 11-11-2010 06:20, Claus Klein skrev:
I am interesting in to use
Hi David,
It is done by GHS itself,
but only as a commercial product of GHS.
Currently it is based on net-snmp V5.4.1, which is not so stable and
usable as it should!
Claus
On 12.11.2010, at 12:05, David Brunton wrote:
Hello,
I was wondering if anyone has had any experience with
://sourceforge.net/tracker/?func=detailatid=312694aid=3096725group_id=12694
With regards,
Claus Klein
Index: agent/agent_trap.c
===
--- agent/agent_trap.c (Revision 19660)
+++ agent/agent_trap.c (Arbeitskopie)
@@ -80,7 +80,8
It happens while de-allocate an index of a shared table which was
never allocated.
The core dump does not ocure every time, its depends on the agentx
traffic so far,
but the session times out and the subagent mib vars are never seen.
Who has written this agentx code? There seems a general
with
missing name resolution.
I hope this info helps.
With regards
Claus
On 08.09.2010, at 00:14, Wes Hardaker wrote:
On Tue, 7 Sep 2010 22:57:19 +0200, Claus Klein claus.kl...@arcormail.de
said:
CK only one issue on my macbook while make test:
CK /Users/clausklein/Downloads/net-snmp-5.6.pre3
, Claus Klein wrote:
Hi Dave,
thanks, you are right. I merged more than needed.
On the other site, the sparse table handling on net-snmp v5.6 works.
Without my changes at the table_dataset.c.
But I have no Idea why?
So I merged all this files ... without luck.
Later I found the solution
Hi,
I am working with net-snmp as master agent and a subagent which
register a private MIB with a table.
First I create a row with set the RowStatus = createAndGo, set the
row object (in my example a DisplayString).
Than I destroy this row again.
While de-register the row, while
Ok, done.
see
https://sourceforge.net/tracker/?func=detailaid=3096725group_id=12694atid=312694
Note, this patch does not fix the sparse table BUG at V5.4.3!
Regards
Claus
On 26.10.2010, at 06:06, Thomas Anders wrote:
Claus Klein wrote:
Please apply this patch and check the result about my
scenario:
I have configured 3 trap receiver:
1 trapsink
1 trap2sink
1 informsink
Than each trap is send 3 times and logged 2 times at the nlmLogTable.
That seems for me to be wrong, or not?
Regards,
Claus
On 26.10.2010, at 06:06, Thomas Anders wrote:
Claus Klein wrote:
Please apply this patch
at the table_dataset.c.
First, I need a working v5.4.3 version!
But want to have the notificationLogMib working on SVN trunk too.
How to write a patch on the trunk for a BUG on an old release branch?
Claus
On 26.10.2010, at 09:48, Dave Shield wrote:
On 25 October 2010 22:30, Claus Klein claus.kl
:42, Claus Klein wrote:
Hi all,
I am going to become crazy.
While working with net-snmp v5.4.3 i have problems with the
notificationlogmib.
An snmpwalk localhost nlmLogTable does not deliver all rows.
I checked that the missing entries are added to the table.
When I walk over the missing row
I really need an opinion about my questions to fix it in the right way.
I have fixed it for v5.4.3 and plan to do it for 5.6 too.
Regards,
Claus
On 20.10.2010, at 23:06, Claus Klein wrote:
I have some question about the code at the end of this function:
1.) Why is the send_trap_to_sess
?
What can I do to find the problem?
Any ideas is welcome.
Regards
Claus Klein
--
Nokia and ATT present the 2010 Calling All Innovators-North America contest
Create new apps games for the Nokia N8 for consumers
;
}
On 19.10.2010, at 23:24, Claus Klein wrote:
Hallo experts,
What is the status of the notification log mib?
The README.agent-mibs is not clear about this mib.
I found that the nlmLogTable and the nlmLogVariableTable is only
partly filled for V1 traps.
I opened a BUG tracker
On 17.10.2010, at 22:41, Claus Klein wrote:
Hello
I'm working with net-snmp 5.6 and I checked all with the notification-
log-mib.
How can it be that the nlmLogNotificationID is missing while walk?
I can see the initialisation and the adding of a trap at the logfile,
but the nlmlogVariableTable
On Tuesday 26 September 2006 15:57, Wes Hardaker wrote:
I've just published 5.4.pre2 which has many good bugfixes over the
.pre1 release. Please report any errors you have!
Hi,
I had to fix some points in configure.in because while crosscompile I don't
want rpm, perl, and python support.
On Tuesday 22 August 2006 06:10, shanmuga mari wrote:
Has anyone used NET-SNMP in RT Linux platform?
yes, we use net-snmp with buildroot based system on ppc.
checkout the build environment from http://buildroot.uclibc.org/
claus
Hallo,
this is our new iftable layout on AXR (embedded linux ppc system):
index 1-8, 501-503 from AgentxMaster: snmpd
other from AgentxClient: AXR nemo
Any suggestion?
claus
[EMAIL PROTECTED]:~]# snmpd -v
NET-SNMP version: 5.3.1
Web:
On Wednesday 09 August 2006 14:27, Robert Story wrote:
On Wed, 9 Aug 2006 13:06:25 + Claus wrote:
CK [EMAIL PROTECTED]:~]# snmpbulkwalk localhost ifDescr
CK IF-MIB::ifDescr[1] = STRING: lo
CK IF-MIB::ifDescr[2] = STRING: eth0
CK IF-MIB::ifDescr[3] = STRING: eth1
CK IF-MIB::ifDescr[4] =
On Wednesday 09 August 2006 17:40, Robert Story wrote:
On Wed, 9 Aug 2006 15:11:52 + Claus wrote:
CK On Wednesday 09 August 2006 14:27, Robert Story wrote:
CK On Wed, 9 Aug 2006 13:06:25 + Claus wrote:
CK CK IF-MIB::ifDescr[7] = STRING: br0
CK CK IF-MIB::ifDescr[501] = STRING: nas0
Hi,
the snmpd crashes while startup on ppc.
I found a possible problem in
net-snmp-5.3.0.1/agent/mibgroup/hardware/cpu/cpu_linux.c,
but with or without my fix, the snmpd crashes.
What may I do to fix this problem?
claus
[EMAIL PROTECTED]:~]# strace -e open,read snmpd -f
On Wednesday 07 December 2005 09:48, Rustagi, Sandeep (Sandeep) wrote:
Hi,
I am using Solaris 5.8 Generic_117350-13 for compilation of net-snmp.
I want to build it for Montavista Linux. Please let me know what options
I should use to configure for cross compilation of net-snmp.
I use for
67 matches
Mail list logo