Unknown engine ID

2008-11-14 Thread Cardoza, Eric D.
Greetings snmp users.

I have configured my snmpd.conf file to use snmpv3, and I ran tests
using 
snmp commands to verify that the snmpget and snmpwalk commands retrieve
the
requested data from the appropriate MIBs.  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).  Since it is not always the same 
time period, it would not appear to be a coded timeout value.   I did
not 
specify an engine ID in the snmpd.conf file because I read that that is
not 
the recommended procedure.  So snmp should be generating the engine ID
with 
its algorithm.

Please see the snmpget commands below.  The timeticks display the
number 
of seconds following the startup of the snmpd daemon.  Once the Unknown

engine ID msg is returned, the only way to get snmp to process commands

again is to restart the snmpd daemon.


-

/etc  snmpget hostname sysUpTime.0
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (4555) 0:00:45.55


/etc  snmpget hostname sysUpTime.0
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (8348) 0:01:23.48

/etc  snmpget hostname sysUpTime.0
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (19107) 0:03:11.07

/etc  snmpget hostname sysUpTime.0
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (21359) 0:03:33.59

/etc  snmpget hostname sysUpTime.0
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (22596) 0:03:45.96

/etc  snmpget hostname sysUpTime.0
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (24334) 0:04:03.34

/etc  snmpget hostname sysUpTime.0
snmpget: Unknown engine ID (Sub-id not found: (top) - sysUpTime)

-

Does anyone have ideas about what is causing the engine ID to get lost?

Thanking you in advance.

Eric Cardoza



-
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: how to install or use ucdavis ?

2008-11-14 Thread chinofish

but , there are many object called mem*

memTotalSwap  INTEGER32  ReadOnly .1.3.6.1.4.1.2021.4.3 The total amount of 
swap space configured for this host.

memAvailSwap  INTEGER32  ReadOnly .1.3.6.1.4.1.2021.4.4 The amount of swap 
space currently unused or available.
 
memTotalReal  INTEGER32  ReadOnly .1.3.6.1.4.1.2021.4.5 The total amount of 
real/physical memory installed
on this host.

it seems that snmp agent does not work for mem* ?

- Original Message - 
From: Michael Schwartzkopff [EMAIL PROTECTED]
To: net-snmp-users@lists.sourceforge.net
Sent: Friday, November 14, 2008 1:48 AM
Subject: Re: how to install or use ucdavis ?


 Am Donnerstag, 13. November 2008 18:32 schrieb chinofish:
 i installed net-snmp with yum.
 (...)
 but when i use
 snmpwalk -v 1 -c public 127.0.0.1 mem

 [EMAIL PROTECTED] ~]# snmpwalk -v 1 -c public 127.0.0.1 mem
 End of MIB

 why i can not use
 http://www.net-snmp.org/docs/mibs/ucdavis.html
 
 Because ist no value that snmpwalk can translate to an OID, or in other 
 words, 
 no object is called mem.
 
 -- 
 Dr. Michael Schwartzkopff
 MultiNET Services GmbH
 Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
 Tel: +49 - 89 - 45 69 11 0
 Fax: +49 - 89 - 45 69 11 21
 mob: +49 - 174 - 343 28 75
 
 mail: [EMAIL PROTECTED]
 web: www.multinet.de
 
 Sitz der Gesellschaft: 85630 Grasbrunn
 Registergericht: Amtsgericht München HRB 114375
 Geschäftsführer: Günter Jurgeneit, Hubert Martens
 
 ---
 
 PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
 Skype: misch42
 
 -
 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

-
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