RE: Bad engine ID value after -e flag

2006-03-03 Thread Eugen
Hi Dave,

First of all please accept my excuses for the fact that you have
responded so promptly to my email and on my side I've put so much time
to follow your instructions :-(

Actually by trying to respond to your questions I found the problem. The
traps were rejected by snmptrapd with the following error:
usm: Remote boot counter invalid

So I've recreated the user myuser with:
net-nmp-config --create-snmpv3-user -a xxx -x yyy -X DES -A MD5
myuser

the persistent snmpd.conf and the share snmpd.conf were thus updated and
the traps are successfully intercepted by the trap receiver.

And it works fine with the snmpv3 informs as well :-)

Thank you so much!
Eugen

-Original Message-
From: Dave Shield [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 25, 2006 4:42 AM
To: Eugen
Cc: 'Thomas Anders'; Net-snmp-users@lists.sourceforge.net
Subject: RE: Bad engine ID value after -e flag

On Tue, 2006-01-24 at 17:02 -0500, Eugen wrote:
 Without double quotes there is no error message
 indeed but the traps are not intercepted by snmptrapd.

Does it not receive them at all, or does it receive
them but refuse to process them?   Try running

snmptrapd -f -Le -d

Do you see the incoming notifications?

How have you configured snmptrapd?
In particular, how have you set up the user myuser ?


 I've put the double quotes because there are also generated by
snmpconf.

OK - logged as a bug in snmpconf.


Dave






---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


RE: Bad engine ID value after -e flag

2006-01-25 Thread Dave Shield
On Tue, 2006-01-24 at 17:02 -0500, Eugen wrote:
 Without double quotes there is no error message
 indeed but the traps are not intercepted by snmptrapd.

Does it not receive them at all, or does it receive
them but refuse to process them?   Try running

snmptrapd -f -Le -d

Do you see the incoming notifications?

How have you configured snmptrapd?
In particular, how have you set up the user myuser ?


 I've put the double quotes because there are also generated by snmpconf.

OK - logged as a bug in snmpconf.


Dave


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Bad engine ID value after -e flag

2006-01-24 Thread Thomas Anders

Eugen wrote:
trapsess -e 0x0102030405 -v 3 -u myuser -a MD5 -A my_password -l 
authNoPriv localhost


Try without the double quotes.


+Thomas

--
Thomas Anders (thomas.anders at blue-cable.de)


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


RE: Bad engine ID value after -e flag

2006-01-24 Thread Eugen
Hi Thomas,

Without double quotes there is no error message indeed but the traps are
not intercepted by snmptrapd.

I've put the double quotes because there are also generated by snmpconf.

However if I send v2 traps with the directive
trap2sink localhost
it works.

Thanks,
Eugen

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Thomas
Anders
Sent: Tuesday, January 24, 2006 4:41 PM
To: Net-snmp-users@lists.sourceforge.net
Subject: Re: Bad engine ID value after -e flag

Eugen wrote:
 trapsess -e 0x0102030405 -v 3 -u myuser -a MD5 -A my_password -l 
 authNoPriv localhost

Try without the double quotes.


+Thomas

-- 
Thomas Anders (thomas.anders at blue-cable.de)


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users






---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Bad engine ID value after -e flag

2006-01-24 Thread Thomas Anders

Eugen wrote:

Without double quotes there is no error message indeed but the traps are
not intercepted by snmptrapd.


Receiving with snmptrapd is a different story. Did you read the tutorial 
on SNMPv3 notifications?


  http://www.net-snmp.org/tutorial/tutorial-5/commands/snmptrap-v3.html


+Thomas

--
Thomas Anders (thomas.anders at blue-cable.de)


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


RE: Bad engine ID value after -e flag

2006-01-24 Thread Eugen
Thomas,

By mistake I've send the previous message to you only. I'm sorry! I'm
sending it again to everyone...

Yes, and using that instructions I was able to send v3 traps using
sendtrap tool, as I've described in my original email. The same snmpcmd
like parameters for trapsess I suppose should tell the agent to generate
the same kind of traps but for some reason it seams that they are
rejected by the trap receiver.

Eugen

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Thomas
Anders
Sent: Tuesday, January 24, 2006 5:09 PM
To: Net-snmp-users@lists.sourceforge.net
Subject: Re: Bad engine ID value after -e flag

Eugen wrote:
 Without double quotes there is no error message indeed but the traps
are
 not intercepted by snmptrapd.

Receiving with snmptrapd is a different story. Did you read the tutorial

on SNMPv3 notifications?

   http://www.net-snmp.org/tutorial/tutorial-5/commands/snmptrap-v3.html


+Thomas

-- 
Thomas Anders (thomas.anders at blue-cable.de)


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users






---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid3432bid#0486dat1642
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Re: Bad engine ID value after -e flag

2006-01-24 Thread Thomas Anders

Eugen wrote:

Yes, and using that instructions I was able to send v3 traps using
sendtrap tool, as I've described in my original email. The same snmpcmd
like parameters for trapsess I suppose should tell the agent to generate
the same kind of traps but for some reason it seams that they are
rejected by the trap receiver.


Then find out why! :-)

E.g. run snmptrapd with -DALL, capture packets using Ethereal and 
compare etc. ...



+Thomas

--
Thomas Anders (thomas.anders at blue-cable.de)


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users