Re: notificationlogmib question

2010-10-20 Thread Claus Klein
I have some question about the code at the end of this function: 1.) Why is the send_trap_to_sess() called for each entry at sinks without check the snmpNotifyFilter? 2.) And why is the snmpNotifyFilter called via callback 2 times (with v1 and v2 trap pdu)? 3.) Why is the callback called too

Re: notificationlogmib question

2010-10-18 Thread Claus Klein
persist +[snmp] persistentdir /tmp/snmp-test-T058agentauthtrap1_simple-71637/ persist smuxsocket 1.0.0.0 com2sec testcommunitysec default testcommunity group testcommunitygroup v1 testcommunitysec view all included .1 80 access testcommunitygroup "" any noauth exact all none none

notificationlogmib question

2010-10-17 Thread Claus Klein
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 and tha nlmLogNotificationID is always m

Re: nmpd authcommunity context option missing

2010-10-17 Thread Claus Klein
, 5.5, and 5.6.Thanks in advanced.Kind regards,Claus authcommunity.diff Description: Binary data On 05.08.2010, at 13:50, Dave Shield wrote:On 4 August 2010 23:04, Claus Klein <claus.kl...@arcormail.de> wrote:while working with snmpd V5.5 I tried to configure a mapping of v2ccommunity to v3 c

Re: BUG: snmptrapd register the nlmLogvariableTable and the nlmLogTable but thy are only partly filled!

2010-09-09 Thread Claus Klein
I have prepared test scripts to show this problem: T058agentauthtrap3_simple Description: Binary data T058agentauthtrap1_simple Description: Binary data T058agentauthtrap2_simple Description: Binary data On 07.09.2010, at 20:53, Claus Klein wrote: Hi, the snmptrapd V5.5 seems to have

Re: Net-SNMP 5.6.rc2 available for testing

2010-09-09 Thread Claus Klein
Hi Wes, I found problems while testing and need help. Can you please run this tests. They fail on cygwin and on my macbook: T058agentauthtrap3_simple Description: Binary data T058agentauthtrap1_simple Description: Binary data T058agentauthtrap2_simple Description: Binary data Thanks, Cl

Re: Net-SNMP 5.6.rc2 available for testing

2010-09-08 Thread Claus Klein
t;<<<<<<<<<<<<<<< +++ expr 34 + 1 ++ testnum=35 ++ echo 'ok 35 - got to FINISHED' ++ echo '# ok 35 - got to FINISHED' ++ echo 1..35 ++ '[' x2 '!=' x0 ']' ++ '[' -s core ']' ++ echo .

Re: Net-SNMP 5.6.rc2 available for testing

2010-09-07 Thread Claus Klein
Yes, I have IPv6 on my macbook. At leased localhost communication works with IPv6. Claus On 08.09.2010, at 00:14, Wes Hardaker wrote: >>>>>> On Tue, 7 Sep 2010 22:57:19 +0200, Claus Klein >>>>> > said: > > CK> only one issue on my macbook while m

Re: Net-SNMP 5.6.rc2 available for testing

2010-09-07 Thread Claus Klein
Hi Wes, thanks for the good jobs. Tody I had a quick test of 5.6.rc3. Most I have missed in version 5.5 works now! only one issue on my macbook while make test: /Users/clausklein/Downloads/net-snmp-5.6.pre3/testing/fulltests/ temptests/T071com2sec6_simple...FAILED tests 30, 32

BUG: snmptrapd register the nlmLogvariableTable and the nlmLogTable but thy are only partly filled!

2010-09-07 Thread Claus Klein
Hi, the snmptrapd V5.5 seems to have a problem with the notification-log- mib: # my snmptrapd.conf: disableAuthorization yes doNotRetainNotificationLogs NO # I do NOT disable support for the NOTIFICATION-LOG-MIB. Normally the snmptrapd program keeps a record of the traps received,

Re: MIBDIRS Environment variable

2010-09-01 Thread Claus Klein
I use: ###default: /usr/share/snmp/mibs mibdirs +/Users/clausklein/.snmp/mibs:/opt/local/share/mibs/ietf:/opt/ local/share/mibs/iana mibdirs +/Users/clausklein/Workspace/cpp/AgentPro/agent++/mibs ### mibs ALL mibs +LLDP-MIB ... That works fine; Claus On 02.09.2010, at 02:41, Owen Orakwue wrot

Re: add trap dest via snmpNotifyTable & snmpTargetAddrTable

2010-08-31 Thread Claus Klein
I think the address encoding is wrong! This is a valid configuration: claus-kleins-macbook-pro:~ clausklein$ snmpwalk localhost snmpnotifytable SNMP-NOTIFICATION-MIB::snmpNotifyTag.'internal0' = STRING: internal0 SNMP-NOTIFICATION-MIB::snmpNotifyType.'internal0' = INTEGER: trap(1) SNMP-NOTIFIC

BUG: agentx get response message with non-default-context does not work!

2010-08-08 Thread Claus Klein
Hi, while working with AgentX++ and net-snmp V5.5 I fount the following error: The master agent set or expect the AGENTX_MSG_FLAG_NON_DEFAULT_CONTEXT bit set for response messages? This is wrong! There is a comment at protocol.c which note this, but a view statements later, the flag is

[patch] to register the notification log MIB at default context

2010-08-06 Thread Claus Klein
Hi, I want to have the notificationLogMib module at snmpd without a running snmptrapd. I changed the following files to get this table back to the snmpd master agent. I is till possible to start the snmptrapd with -x option (with register the same MIB) at snmptrapd context. It is based

nmpd authcommunity context option missing

2010-08-04 Thread Claus Klein
Hi, while working with snmpd V5.5 I tried to configure a mapping of v2c community to v3 context with authcommunity. I was wondering that the man page is different from configuration: man snmpd.conf: com2sec [-Cn CONTEXT] secName IPv4-network-address[/netmask] community authcommunit