Re: Unknown Engine ID

2015-12-21 Thread Michael Schwartzkopff
Am Montag, 21. Dezember 2015, 14:27:51 schrieb Simon Chamlian:
> Hi,
> 
> 
> Using Ney-SNMP 5.7.1., I have an agent (v3) running.
> 
> 
> The user of this agent is responsible for making the server and he is
> complaining that when they change the server to a new server (same machine)
> to communicate to agent:
> 
>a)  They do a GET with empty with empty binding to get the Engine ID
> 
> 
> b)  The engine replies with Unknown Engine ID
> 
> 
> After that, they can no longer communicate with the agent.

who "they"?

This is the mechanism to discover the engineID of a unknown device. The 
manager should continue and request the information using the discovererd 
engineID.

If you have duplicate engineIDs the manager will stop or send out the request 
with a wrote bootCount.

See:
https://sys4.de/en/blog/2013/09/23/monitoring-snmpv3-and-engineid/
https://support.zabbix.com/browse/ZBX-8385


Mit freundlichen Grüßen,

Michael Schwartzkopff

-- 
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64, +49 (162) 165 0044
Franziskanerstraße 15, 81669 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein

signature.asc
Description: This is a digitally signed message part.
--
___
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: Unknown engine ID

2008-11-17 Thread Cardoza, Eric D.
Please excuse my ignorance of community support list usage.  I am an old
IBMer and not familiar with the proper open source community behavior.

OS: 
Linux 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:54:53 EST 2006 i686 i686 i386
GNU/Linux

NET-SNMP build from Red Hat Network:
net-snmp-devel-5.1.2-13.el4_7.2
net-snmp-libs-5.1.2-13.el4_7.2
net-snmp-utils-5.1.2-13.el4_7.2
net-snmp-5.1.2-13.el4_7.2

I did not explicitly set the engineID.  I had read in the Net-SNMP docs
that it was recommended to let net-snmp generate it.

Thank you.

_
Eric Cardoza

 

-Original Message-
From: Mike Ayers [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 14, 2008 2:46 PM
To: Cardoza, Eric D.; net-snmp-users@lists.sourceforge.net
Subject: RE: Unknown engine ID


 From: Cardoza, Eric D. [mailto:[EMAIL PROTECTED] 
 Sent: Friday, November 14, 2008 9:55 AM

 Hello Mr. Ayers.

Talk to the list, not the individual, please.

 The only tool is net-snmp.

net-snmp is not a tool - it is a collection of tools.

  As you see from the information 
 in my email,
 I am using snmp commands such as snmpget or snmpwalk to query 
 the MIBs.
 For a few minutes after I start the snmpd daemon on the system which I
 am querying, the snmp commands return OID data.  Then after a few
 minutes, I get the Unknown engine ID msg.  I must then stop and
 restart the snmpd daemon on the target system for the snmp commands to
 retrieve data again.  I am not using any external software product in
 this test.

H - this is *very* strange and should never happen - the
engineID should be a constant for an engine.  Can you please submit
details for the installation:

- what OS are you running on?

- where did the build come from?

- Are you explicitly setting the engineId in snmpd.conf?


That's a start...


Thanks,

Mike


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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: Unknown engine ID

2008-11-17 Thread Cardoza, Eric D.
Hello Mr. Ayers.

The only tool is net-snmp.  As you see from the information in my email,
I am using snmp commands such as snmpget or snmpwalk to query the MIBs.
For a few minutes after I start the snmpd daemon on the system which I
am querying, the snmp commands return OID data.  Then after a few
minutes, I get the Unknown engine ID msg.  I must then stop and
restart the snmpd daemon on the target system for the snmp commands to
retrieve data again.  I am not using any external software product in
this test.

Regards,

_
Eric Cardoza

 

-Original Message-
From: Mike Ayers [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 14, 2008 12:06 PM
To: Cardoza, Eric D.; net-snmp-users@lists.sourceforge.net
Subject: RE: Unknown engine ID

 From: Cardoza, Eric D. [mailto:[EMAIL PROTECTED] 
 Sent: Friday, November 14, 2008 6:01 AM

 However, I am 
 encountering a 
 situation where the engine ID seems to be getting dropped or 
 lost after
 a 
 short period of time (2 to 5 minutes).

By what tool?


Thanks,

Mike


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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: Unknown engine ID

2008-11-17 Thread John Oliver
On Mon, Nov 17, 2008 at 09:52:19AM -0500, Cardoza, Eric D. wrote:
 Hello SNMP Experts.
 
  
 
 The snmp packages on this particular system may be very old, but they
 are the newest I can find on Red Hat Network for RHEL4.  We will be
 upgrading to RHEL5 soon.

FWIW, RHEL5u1 ships with net-snmp-5.3.1-19.el5.i386.rpm  u2 is out, but
I don't have an image of that disc.  CentOS 5.2 ships with
net-snmp-5.3.1-24.el5.i386.rpm

You're never going to get the latest stable release with Red Hat or
CentOS.  They're enterprise-class OSes, where stability and
predictability are far more important than having the latest code.  If
you wanted to keep this stuff more up-to-date, you could try Fedora, but
you're also much more likely to be chasing weird bugs and
inconsistencies.

Too bad Dag Wieers doesn't have a net-snmp package...

-- 
***
* John Oliver http://www.john-oliver.net/ *
* *
***

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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: Unknown engine ID

2008-11-17 Thread Thomas Anders
John Oliver wrote:
 Too bad Dag Wieers doesn't have a net-snmp package...

For RHEL5+, CentOS5+, Fedora 8+ and others you may want to check

  http://www.net-snmp.org/wiki/index.php/Third-Party_Packages



+Thomas

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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: Unknown engine ID

2008-11-16 Thread Mike Ayers

 From: Cardoza, Eric [mailto:[EMAIL PROTECTED] 
 Sent: Saturday, November 15, 2008 9:38 PM

 From: Cardoza, Eric D.
 Sent: Friday, November 14, 2008 3:03 PM

Resending a message that has not been answered is OK, but it's best to 
wait until after the weekend, as a good portion of everyday participants have 
the weekend off.

 I apologize for my ignorance of community support list usage. 
  I am an old IBMer and not familiar with the proper open 
 source community behavior.

It's all good.  The general principole is to keep list related 
discussions as list discussions.  This keeps the information available in the 
archives for folk to find later, and also keeps an enviroment where everyone is 
welcome to jump into the discussion, which is generally a good thing.  You 
should only call p;eople out by name when asking a question to them directly, 
as I will do now to you.

 Also, I notice as I read the postings on the list that my 
 posting is the only one that does not have a Topic heading.  
 Please let me know how I can establish a Topic for my posting.

I'm not sure.  Are you talking about a web interface to the archives 
here?

 Thank you for your help and patience.  Here is the 
 information you requested.
 
 OS:
 Linux 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:54:53 EST 2006 i686 
 i686 i386
 GNU/Linux
 
 NET-SNMP build from Red Hat Network:
 net-snmp-devel-5.1.2-13.el4_7.2
 net-snmp-libs-5.1.2-13.el4_7.2
 net-snmp-utils-5.1.2-13.el4_7.2
 net-snmp-5.1.2-13.el4_7.2
 
 I did not explicitly set the engineID.  I had read in the 
 Net-SNMP docs

Hmmm - the kernel isn't the most recent, but should be good.  The 
package is darn old, though - we're on 5.4.2 now, and the revs don't come 
quickly - I'd estimate you have a 4 or 5 year old package.  But even that 
shouldn't have this problem.

You may want to do a `yum upgrade -y` on that system, if you are 
comfortable doing so.

If someone on the list could point us to thye most recent RPMs, please?

Once you have upgraded or not, as befits, please post the following:

1)  The snmpd log (tip:  use the -Le flag and cut and paste from the 
console, or use `-Le 21 | tee snmpd.log` to save it to a file while keeping 
it on the console.

2)  The command and response for a successful get or getnext.

3)  The command and response for a failing get or getnext.

4)  The text of snmpd.conf

I need a lot of info because I have no idea why this may happen.


Thanks,

Mike

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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: Unknown engine ID

2008-11-15 Thread Cardoza, Eric
From: Cardoza, Eric D.
Sent: Friday, November 14, 2008 3:03 PM
To: 'Mike Ayers'; net-snmp-users@lists.sourceforge.net
Subject: RE: Unknown engine ID

I apologize for my ignorance of community support list usage.  I am an old 
IBMer and not familiar with the proper open source community behavior.
Also, I notice as I read the postings on the list that my posting is the only 
one that does not have a Topic heading.  Please let me know how I can establish 
a Topic for my posting.

Thank you for your help and patience.  Here is the information you requested.

OS:
Linux 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:54:53 EST 2006 i686 i686 i386
GNU/Linux

NET-SNMP build from Red Hat Network:
net-snmp-devel-5.1.2-13.el4_7.2
net-snmp-libs-5.1.2-13.el4_7.2
net-snmp-utils-5.1.2-13.el4_7.2
net-snmp-5.1.2-13.el4_7.2

I did not explicitly set the engineID.  I had read in the Net-SNMP docs
that it was recommended to let net-snmp generate it.

Thank you.

_
Eric Cardoza



-Original Message-
From: Mike Ayers [mailto:[EMAIL PROTECTED]
Sent: Friday, November 14, 2008 2:46 PM
To: Cardoza, Eric D.; net-snmp-users@lists.sourceforge.net
Subject: RE: Unknown engine ID


 From: Cardoza, Eric D. [mailto:[EMAIL PROTECTED]
 Sent: Friday, November 14, 2008 9:55 AM

 Hello Mr. Ayers.

Talk to the list, not the individual, please.

 The only tool is net-snmp.

net-snmp is not a tool - it is a collection of tools.

  As you see from the information
 in my email,
 I am using snmp commands such as snmpget or snmpwalk to query
 the MIBs.
 For a few minutes after I start the snmpd daemon on the system which I
 am querying, the snmp commands return OID data.  Then after a few
 minutes, I get the Unknown engine ID msg.  I must then stop and
 restart the snmpd daemon on the target system for the snmp commands to
 retrieve data again.  I am not using any external software product in
 this test.

H - this is *very* strange and should never happen - the
engineID should be a constant for an engine.  Can you please submit
details for the installation:

- what OS are you running on?

- where did the build come from?

- Are you explicitly setting the engineId in snmpd.conf?


That's a start...


Thanks,

Mike


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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: Unknown engine ID

2008-11-14 Thread Mike Ayers
 From: Cardoza, Eric D. [mailto:[EMAIL PROTECTED] 
 Sent: Friday, November 14, 2008 6:01 AM

 However, I am 
 encountering a 
 situation where the engine ID seems to be getting dropped or 
 lost after
 a 
 short period of time (2 to 5 minutes).

By what tool?


Thanks,

Mike

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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: Unknown engine ID

2008-11-14 Thread Mike Ayers

 From: Cardoza, Eric D. [mailto:[EMAIL PROTECTED] 
 Sent: Friday, November 14, 2008 9:55 AM

 Hello Mr. Ayers.

Talk to the list, not the individual, please.

 The only tool is net-snmp.

net-snmp is not a tool - it is a collection of tools.

  As you see from the information 
 in my email,
 I am using snmp commands such as snmpget or snmpwalk to query 
 the MIBs.
 For a few minutes after I start the snmpd daemon on the system which I
 am querying, the snmp commands return OID data.  Then after a few
 minutes, I get the Unknown engine ID msg.  I must then stop and
 restart the snmpd daemon on the target system for the snmp commands to
 retrieve data again.  I am not using any external software product in
 this test.

H - this is *very* strange and should never happen - the engineID 
should be a constant for an engine.  Can you please submit details for the 
installation:

- what OS are you running on?

- where did the build come from?

- Are you explicitly setting the engineId in snmpd.conf?


That's a start...


Thanks,

Mike

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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