RE: V3 inform user requires engineID in persistent snmpd.conf?

2019-10-29 Thread Atkins, Brian
Also, a user configured with a remote engineID in order to support V3 inform messages, as described below, would never be able to perform other SNMP operations (GET, GET-NEXT, SET) because the authoritative engineID would not match the target, correct? From: Atkins, Brian Sent: Monday, October

V3 inform user requires engineID in persistent snmpd.conf?

2019-10-28 Thread Atkins, Brian
ined using a createUser directive in the persistent config file. However, since the localized keys will be generated before the inform requests are sent, it's impossible to rely on the engineID probe behavior to learn the target engineID, correct? The engineID may be correct, but the loca

snmpv3 createUser with engineid

2018-08-15 Thread Rajaa, Mukuntha (Nokia - IN/Bangalore)
can use it as they wish - Now there should be a seamless way to integrate traps into application something like, pre-agreed engineid. I should be able to send traps with pre-agreed engineid, so that application does not have to access actual hw ( why not to access actual hw is explained below

snmpv3 createUser with engineid

2018-08-15 Thread Rajaa, Mukuntha (Nokia - IN/Bangalore)
use it as they wish - Now there should be a seamless way to integrate traps into application something like, pre-agreed engineid. I should be able to send traps with pre-agreed engineid, so that application does not have to access actual hw ( why not to access actual hw is explained below

A couple of questions about engineID, oldEngineID and Enterprise ID

2016-03-22 Thread Roy Yang
Hello, In /etc/snmp/snmpd.conf, I configured by following snmpd.conf.example engineID "BQTP45000357" After I started snmpd, saw oldEngineID is generated in /var/lib/net-snmpd engineBoots 1 oldEngineID 0x80001f88042242515450343530303033353722 Have a couple questions here. 1st que

engine boots value is always 1 if specified engineID with -e flag in trapsess

2015-09-22 Thread Vijendra Agarwal (vijagarw)
Hi All, I am using the net-snmp 5.5-54 version from centOS. My issue is related to SNMPv3 trap message. I have multiple agent configured with different engine id for each. Inside snmpd.conf of each I added trapsess entry with -e flag. I have created the user with each engine_id of the agent

Are we allowed to change enterprise oid contents (i.e 1-4 octets) in engineID ?

2014-12-22 Thread Pushpa Thimmaiah
Hi Folks, I am implementing traps and have changed 1-4th octet of engineID (0x80000300b0ad01) with my company's enterprise oid and added the same engineID (0x80000300b0ad01) in snmptrapd.conf. But trapreceiver 'snmptrapd' shows usm: no match on engineID . Please let me know

Re: Are we allowed to change enterprise oid contents (i.e 1-4 octets) in engineID ?

2014-12-22 Thread Wes Hardaker
Pushpa Thimmaiah pushpa.thimma...@gmail.com writes: I am implementing traps and  have changed 1-4th octet of engineID (0x80000300b0ad01) with my company's enterprise oid and added the same engineID (0x80000300b0ad01) in snmptrapd.conf. But trapreceiver 'snmptrapd' shows usm

Re: format of SNMP engineID

2014-12-22 Thread Wes Hardaker
Pushpa Thimmaiah pushpa.thimma...@gmail.com writes: I got it. 1st bit is SNMPv2c/v3, 1-4octet enterprise id, 5th format indicator. There are actually multiple formats for the engineID. See the SnmpEngineID textual convention in the SNMP-FRAMEWORK-MIB.txt mib. -- Wes Hardaker Parsons

Re: Are we allowed to change enterprise oid contents (i.e 1-4 octets) in engineID ?

2014-12-22 Thread Pushpa Thimmaiah
: USM processing begun... USM processing begun... usm: usm: match on user traptest1 match on user traptest1 *usm: no match on engineID* (80 00 xx xx 03 00 B0 AD 00 00 01 usm: no match on engineID (80 00 xx xx 03 00 B0 AD 00 00 01 ) ) usm: usm: match on user traptest1 match on user traptest1 usm: usm

Re: format of SNMP engineID

2014-12-22 Thread Pushpa Thimmaiah
for the engineID. See the SnmpEngineID textual convention in the SNMP-FRAMEWORK-MIB.txt mib. -- Wes Hardaker Parsons -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed

Re: format of SNMP engineID

2014-12-14 Thread Pushpa Thimmaiah
Hi, I got it. 1st bit is SNMPv2c/v3, 1-4octet enterprise id, 5th format indicator. On Mon, Dec 1, 2014 at 3:54 PM, Pushpa Thimmaiah pushpa.thimma...@gmail.com wrote: Hi Folks, I am learning NetSnmp SNMPv3 functionalities Can anyone tell me what informations a engineID consists of ? Eg

format of SNMP engineID

2014-12-01 Thread Pushpa Thimmaiah
Hi Folks, I am learning NetSnmp SNMPv3 functionalities Can anyone tell me what informations a engineID consists of ? Eg engineID 0x81020304 Thanks in advance -- Download BIRT iHub F-Type - The Free Enterprise

Issue with net-snmp 5.7.1, EngineID probing is completed but inform is not recevied by Manager

2013-03-18 Thread Ponnuru, Rajeswari (NSN - IN/Hyderabad)
Hi All, We are using net-snmp 5.7.1 but we did not use -e option so engineID probing is happening for every inform request. We have seen an issue in our customer site that inform request was not received by Manager. When we checked the snoop logs on Manager side. Observed that get-request

snmpusm: how to clone SNMPv3 users with different engineID

2012-11-06 Thread Patrick Rogier
Hi, is it possible to use the snmpusm tool to clone a user with a different engineID than the template user ? And if yes, can you please give an example on how to do that, or give a reference to a webpage or document which explains how to do that ? Background: This feature is useful

EngineID in SNMPtrap.conf in SNMPV3

2012-10-18 Thread mohamad hosein jafari
HI I want to ask about engineID SNMPtrap.conf in SNMPV3 . when we want to senf snmpv3 trap we should set engineID for it but what is this ID exactly? and if I have some user that they want to send trap one device they have different engineID? thanks

Re: EngineID in SNMPtrap.conf in SNMPV3

2012-10-18 Thread Wes Hardaker
mohamad hosein jafari smhjafar...@gmail.com writes: I want to ask about engineID SNMPtrap.conf in SNMPV3 . when we want to senf snmpv3 trap we should set engineID for it It's fairly well explained here: http://www.net-snmp.org/wiki/index.php/TUT:snmptrap_SNMPv3 Reading that will help you

Spectrum EngineID

2011-12-22 Thread Martin Foote
Hello Wondering if anyone can tell me how I would find out the EngineID of a Spectrum NMS? Seems like it must have one, I just can't find it anywhere. Thanks in advance. Martin --- Martin Foote martin_fo...@hotmail.com

RE: SNMPv3 EngineID Changed to Random Format?

2011-08-31 Thread Gary Dunlap
: Tuesday, August 30, 2011 6:03 PM To: Gary Dunlap Cc: Wes Hardaker; net-snmp-users@lists.sourceforge.net Subject: Re: SNMPv3 EngineID Changed to Random Format? On Wed, 10 Aug 2011 09:20:56 -0600, Gary Dunlap gary.dun...@dothill.com said: GD I did notice in experimenting

Re: SNMPv3 EngineID Changed to Random Format?

2011-08-30 Thread Wes Hardaker
at all. Otherwise the oldEngineID line should make it read the previous engineID even if the engineIDType line is missing. -- Wes Hardaker SPARTA, Inc. -- Special Offer -- Download ArcSight Logger for FREE! Finally, a world

Re: SNMPv3 EngineID Changed to Random Format?

2011-08-10 Thread Wes Hardaker
will *keep* the engineID that it knows it used in the past, regardless of what the settings say to do (long story, but this is actually a good thing). If you ever started it up in the past before changing the .conf file, you'll need to manually wipe out the 'oldEngineID' line from /var/net-snmp

SNMPv3 EngineID Changed to Random Format?

2011-08-05 Thread Gary Dunlap
with more debug tokens, it returned to using the MAC format. I noticed that the MAC address is obtained using socket() and ioctl() calls. Is it possible that these could fail, depending on what's happening on the processor, and the engineID default to random? I didn't notice such logic

Re: engineID for SNMPv3 traps

2011-05-28 Thread Xiang Li
On 5/24/2011 3:53 PM, Adrian Bica wrote: I have an embedded system running a snmpd server. It has it's own engineID generated from MAC address as instructed by snmpd.conf file. Everything is fine here. Now, I want the same system to send v3 traps to various destinations with different ip

engineID for SNMPv3 traps

2011-05-24 Thread Adrian Bica
I have an embedded system running a snmpd server. It has it's own engineID generated from MAC address as instructed by snmpd.conf file. Everything is fine here. Now, I want the same system to send v3 traps to various destinations with different ip adresses. The question is: what engineID

Re: How to update the EngineID without restarting the snmpd process

2010-10-14 Thread Wes Hardaker
What you're describing isn't supported by the software. A number of things would need to be done besides just changing the engineID. You'd also need to reset the boots and time values for USM. Generally, engineIDs shouldn't ever change on a device without wiping out the entire config

How to update the EngineID without restarting the snmpd process

2010-10-09 Thread lie_0
Hi, nbsp; I need to update the EngineID without restarting the snmpd process, but failed. The following are my steps, who can tell me what's wrong with it? -nbsp;updated the engineID in snmpd.conf - triggled snmpd to load snmpd.conf again by using command kill -1 processID nbsp; Thanks, Thomas

回复:RE: Question: How to get the special engineId?

2010-09-17 Thread lie_0
the special engineId? Dear Sir/Madam, I tried to set a special engine ID by adding a configure line into snmpd.conf, just like below: engineID 0x8064031edfaabbcc. After starting up snmpd, I found that I got an unexpected result, just like below, 80.00.1F

Question: How to get the special engineId?

2010-09-16 Thread lie_0
Dear Sir/Madam, I tried to set a special engine ID by adding a configure line into snmpd.conf, just like below: engineID 0x8064031edfaabbcc.After starting up snmpd, I found that I got an unexpected result, just like below, 80.00.1F

Migrating to another EngineID

2010-05-27 Thread Mishustin Kirill
Hello, all. I need to change net-snmp agent's EngineID to another value. The problem is, there are few users already configured, and It will be very bad if those will be lost. Is there any way to migrate already generated user keys from one EngineID to another? If it can't be done by means

Re: Migrating to another EngineID

2010-05-27 Thread Wes Hardaker
On Thu, 27 May 2010 12:09:32 +0700, Mishustin Kirill mishus...@eltex.nsk.ru said: MK I need to change net-snmp agent's EngineID to another value. The MK problem is, there are few users already configured, and It will be MK very bad if those will be lost. MK Is there any way to migrate already

Re: source of snmptrapd engineID

2010-05-06 Thread Wes Hardaker
On Fri, 30 Apr 2010 16:59:06 -0400, Ed Babin edba...@21stcenturyexplorer.com said: EB I'm a little confused with the enginedID in the snmptrapd.conf file. I was EB able to generate my own engineID in the /var/net-snmp/snmpd.conf file via EB engineID this is my engineID specifier

source of snmptrapd engineID

2010-05-04 Thread Ed Babin
I'm a little confused with the enginedID in the snmptrapd.conf file. I was able to generate my own engineID in the /var/net-snmp/snmpd.conf file via engineID this is my engineID specifier. The snmptrapd.conf engineID does not seem to work the same way. I have been able send and recieve V3 traps

Agent with separate engineId for traps?

2010-02-12 Thread Daniel Goertzen
We've been developing a network appliance with an SNMP agent and have had troubles with time window errors. A solution suggested by this link... http://www.mail-archive.com/net-snmp-users@lists.sourceforge.net/msg06691.html ... is to use a separate engineId for the trap sender. This is an easy

Re: EngineID

2010-01-29 Thread Dave Shield
On 29 January 2010 06:22, sanjaykumar sanjay.ku...@globaledgesoft.com wrote: Now as every time device reboot EngineID is Changing, Hence the engine Time reset to zero[0] and Engine Boot to 1. Does it correct that  EngineID should also Change  ? Or  it should  change only in case of  Power OFF

Re: EngineID

2010-01-29 Thread Dave Shield
On 29 January 2010 11:26, sanjaykumar sanjay.ku...@globaledgesoft.com wrote:    As in case of net-snmp EngineId generated based on random number and  current time. Hence every time system will reboot both the above DATA will change. Right. Hence EngineId will change ? No. The engine

Re: EngineID

2010-01-29 Thread sanjaykumar
Hi Dave, As in case of net-snmp EngineId generated based on random number and current time. Hence every time system will reboot both the above DATA will change. Hence EngineId will change ? Am I right ? /* * Here we've desigend our own ENGINEID that is not based on * an address which

EngineID

2010-01-28 Thread sanjaykumar
Hi All, I have a doubt regarding the EngineID. As I have Ported the Net-SNMP-5.4.2.1 as a thread. Now as every time device reboot EngineID is Changing, Hence the engine Time reset to zero[0] and Engine Boot to 1. Does it correct that EngineID should also Change ? Or it should

Help needed on EngineID.

2009-02-16 Thread Ragesh V
snmpd.conf with these details. But I am unable to get the expected results. The snmpd.conf contents are as below. rwuser MYUSER noauth syslocation 127.0.0.1 syscontact Root r...@localhost master agentx sysobjectid MY ENT OID authtrapenable 1 AgentXTimeout 60 engineID 0xHex value created

Re: Help needed on EngineID.

2009-02-16 Thread Wes Hardaker
). Using IP addresses for engineIDs can be problematic if you ever change the IP address of the machine (which is almost certainly likely to happen with some devices on your network). RV engineID 0xHex value created with ENT OID and IP + trailing zeros That method (if you read the snmpd.conf

RE: Help needed on EngineID.

2009-02-16 Thread Ragesh V
Thanks a lot Wes. It worked perfectly for me!!! -Original Message- From: Wes Hardaker [mailto:harda...@users.sourceforge.net] Sent: Monday, February 16, 2009 9:48 PM To: Ragesh V Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Help needed on EngineID. On Mon, 16 Feb 2009 15

RE: SnmpV3 traps and engineID

2008-07-23 Thread Mike Ayers
. For SNMPv3 informs, the authoritative engine is the engine *receiving* the inform, so the discovery operation will be performed and the PDU will contain the engine ID of the target system, i.e. snmpd, which is constant. Is there any way to fix the engineId being used in the snmptrap

SnmpV3 traps and engineID

2008-07-22 Thread Lewis, Debbie
snmpwalk but I still get random engine ids when I set it in snmptrapd.conf. Is there any way to fix the engineId being used in the snmptrap command other than by specifying it on the command line with the -e option? Thanks for your help. Debbie

Re: USM engineID and the snmpd engineID?

2008-02-05 Thread Dana Burns
JM == Jeff Miller Miller writes: JM - Changing the snmpd engineID will make the previous JM localized engineID for a given security name incorrect JM and render those users in the USM table unusable. Dave is right, the engineID itself is not localized. localization refers to how master

Re: USM engineID and the snmpd engineID?

2008-02-05 Thread Thomas Anders
Dana Burns wrote: So by using the system clock, does the engineID change at each boot? Of course not. The system clock is used as one source during the *initial* generation of the engineID. Once it has been generated, it's persistent. I can still authenticate if I use the -e option

snmp v3 trap and engineID

2007-12-06 Thread Shelley, Mike
I am using net-snmp to send v3 traps from the command line. I understand that the manager must know the engine id of the trap sender prior to receiving the trap. Is there an accepted way of setting the engineID in this situation? The random generation of engineID at startup will not work

Re: USM engineID and the snmpd engineID?

2007-05-09 Thread Wes Hardaker
JM == Jeff Miller Miller writes: JM - Changing the snmpd engineID will make the previous JM localized engineID for a given security name incorrect JM and render those users in the USM table unusable. Dave is right, the engineID itself is not localized. localization refers to how master keys

USM engineID and the snmpd engineID?

2007-05-08 Thread Miller, Jeff (eng)
Perhaps I am using things wrong but I seem to be having problems with my USM users if I change the systems engineID. If I use snmpusm to add users to the system and then stop snmpd I can see that the users exist in the /var/net/snmpd.conf file and if I restart snmpd I can still access the system

RE: USM engineID and the snmpd engineID?

2007-05-08 Thread Miller, Jeff (eng)
OK. One final scenario for clarification. My understanding is that: - Changing the snmpd engineID will make the previous localized engineID for a given security name incorrect and render those users in the USM table unusable. - The engineID in the USM table is not accessible so

Re: USM engineID and the snmpd engineID?

2007-05-08 Thread Dave Shield
On 08/05/07, Miller, Jeff (eng) [EMAIL PROTECTED] wrote: My understanding is that: - Changing the snmpd engineID will make the previous localized engineID for a given security name incorrect and render those users in the USM table unusable. Ummm... Not sure. I'd need to check through

Discovering peer engineID while sending INFORMS

2006-10-06 Thread Enric Bel Prim
inform to it anymore. After that, this message appears in the log everytime a new inform need to be sent: snmpd: send_trap: USM unknown security name (no such user exists) After digging deeply into the code I've found that the agent only tries to discover the peer engineID once per 'session

Re: trapsess SNMPv3, authoritative engine, wrong engineId

2006-02-07 Thread Birgit Arkesteijn
on user authUser trace: usm_get_user_from_list(): snmpusm.c, 3004: usm: no match on engineID () trace: usm_rgenerate_out_msg(): snmpusm.c, 1403: usm: Unknown User trace: _sess_async_send(): snmp_api.c, 4816: sess_async_send: encoding failure snmpd: send_trap: USM unknown security name (no such user

trapsess SNMPv3, authoritative engine, wrong engineId

2006-02-06 Thread Birgit Arkesteijn
, since I don't set the -e -Z flags in snmpd.conf.) *** snmpd.log: trace: usm_get_user(): snmpusm.c, 2982: usm: getting user noAuthUser trace: usm_get_user_from_list(): snmpusm.c, 2998: usm: match on user noAuthUser trace: usm_get_user_from_list(): snmpusm.c, 3004: usm: no match on engineID () trace

Re: trapsess SNMPv3, authoritative engine, wrong engineId

2006-02-06 Thread Wes Hardaker
traps in SNMPv3, the engine acts as an authoritative engine Birgit and should therefor sends its own (!) authoritative engine ID, Birgit engine boots and engine time, and not the synchronisation Birgit parameters of the other party. That's true, the agent should be sending it's own engineid, boots

Re: EngineId (Manager and Agent) in case of Informs

2005-10-13 Thread Thomas Anders
Jeyachitra Ramshankar wrote: I am using net-snmp manager to receive informs. The engineId String value is being logged as some junk value dumph_recv: msgAuthoritativeEngineID dumpx_recv:04 0D 2E 2E 2E E5 2E 35 2E 2E 2E ED 2E 4E 43 dumpv_recv: String: ...å.5...í.NC

EngineId (Manager and Agent) in case of Informs

2005-10-13 Thread Jeyachitra Ramshankar
Hi, I am using net-snmp manager to receive informs. The engineId String value is being logged as some junk value dumph_recv: msgAuthoritativeEngineID dumpx_recv: 04 0D 2E 2E 2E E5 2E 35 2E 2E 2E ED 2E 4E 43 dumpv_recv: String: ...å.5...í.NC But my custom agent(other than net-snmp) was not able

Re: EngineId (Manager and Agent) in case of Informs

2005-10-13 Thread Jeyachitra Ramshankar
Thanks for the reply. Whats the difference between contextEngineId and authoritativeEngineID? JcOn 10/13/05, Thomas Anders [EMAIL PROTECTED] wrote: Jeyachitra Ramshankar wrote: I am using net-snmp manager to receive informs. The engineId String value is being logged as some junk value dumph_recv

EngineId package structure - Encoding and Decoding

2005-10-07 Thread Jeyachitra Ramshankar
Hi, For Sending Informs, I am using a snmpagent other than net-snmp. But the manager is net-snmp. While decoding the engineId that received in the discovery packet in the agent side, it is null. But the size seems to valid length some +ve integer. To debug the same I want to know in net-snmp

EngineId set by user

2005-10-06 Thread Jeyachitra Ramshankar
Hi All, I am a newbie. I am using net-snmp manager to receive informs. It is generating the engineId by its own. I want to set the engineId to a specific value. How to configure the same? Also I want to print the generated engineId. Where , in which file should I edit to print the engineId. Jc

Re: EngineId set by user

2005-10-06 Thread Thomas Anders
Jeyachitra Ramshankar wrote: I am using net-snmp manager to receive informs. It is generating the engineId by its own. I want to set the engineId to a specific value. How to configure the same? What version are you running? The snmpd.conf(5) manual page in 5.2.2.pre3 documents the following

Fwd: EngineId set by user

2005-10-06 Thread Jeyachitra Ramshankar
-- Forwarded message --From: Jeyachitra Ramshankar [EMAIL PROTECTED]Date: Oct 6, 2005 6:19 PM Subject: EngineId set by userTo: net-snmp-users@lists.sourceforge.netHi All, I am a newbie. I am using net-snmp manager to receive informs. It is generating the engineId by its own. I

snmpcmd - EngineID Discovery And TimeSync

2005-08-15 Thread chinmaya
Hi, I have a unusual case, where the agent and manager exchange engineID/engineTime/engineBoots before hand !!This is to avoid engineId discovery / time synch packets. These 2 packets are never exchanged in the lifetime. I am trying to use snmpget/snmpset/snmpwalk commands, I 'think

Re: snmpcmd - EngineID Discovery And TimeSync

2005-08-15 Thread Robert Story
On Mon, 15 Aug 2005 12:36:12 -0600 [EMAIL PROTECTED] wrote: CC I am trying to use snmpget/snmpset/snmpwalk commands, I 'think' these are CC stateless applications, they do no persist any of the above (engine CC id/time/boot details). CC Every time these commands do engineID discovery and time

Re: set engineID

2005-06-27 Thread Wes Hardaker
On Mon, 13 Jun 2005 12:15:06 -0700, Fong Tsui [EMAIL PROTECTED] said: Fong Which configuration file should engineID be defined in? regular Fong snmpd.conf or persist snmpd.conf? Regular. Fong I added engineID in regular snmpd.conf, restart snmpd, oldEnginerID Fong seems changed. Fong I

set engineID

2005-06-13 Thread Fong Tsui
Which configuration file should engineID be defined in? regular snmpd.conf or persist snmpd.conf? I added engineID in regular snmpd.conf, restart snmpd, oldEnginerID seems changed. I also tried to add engineID in the persist configuration file after stop agent first and start agent

Re: Setting of EngineID

2004-08-23 Thread Dave Shield
I found some set options at the site whose link is http://www.mkssoftware.com/docs/man5/snmpcmd.5.asp . Which is basically a copy of http://www.net-snmp.org/man/snmpcmd.html Both of these are just online versions of the standard 'snmpcmd' man page. But this link does not

Setting of EngineID

2004-08-22 Thread Sanjay Madan
Hi Dave, I have found out the OID for engine ID as 1.3.6.1.6.3.10.2.1.1 in the SNMP FRAMEWORK MIB. But this object is defined as read only. So if I pass this OID in the snmpset command, naturally it will throw me an error as "this object is not writable". Also I found some set options at

SNMP EngineID

2004-08-17 Thread Sanjay Madan
Hi Dave, I have a requirement to provide cli command "snmp-server engineID" and "Nosnmp-server engineID" for setting and removing engineID configurations.Idon't know how to do this ?Please help me.ThanksSanjay Madan

Re: EngineID

2004-08-03 Thread Dave Shield
The thing is you shouldn't have those tokens [engineBoots and oldEngineID] generally stored in a management app in the first place That's certainly true for a Request Generator application, where the engineID/Boots information will come from the agent being queried. But doesn't a Notification

Re: EngineID

2004-08-03 Thread Narinder Soni
I don't create these tokens myself. I only write createUser(with necessary parameters) in /var/ucd-snmp/snmptrapd.conf (for ucd-snmp-0.4.2.5). After this once I start and then stop my application, I see createUser replaced by three tokens: usmUser engineBoots oldEngineID And then after restarting

engineID

2004-08-03 Thread Tina Agarwal
Hi All, 1) Can any body please tell me how can I get and set EngineID, with string as an argument. Regards! Tina

Re: EngineID

2004-08-02 Thread Narinder Soni
I didn't get your point completely. Why should I call init_agent() from my management application i.e. the code which will either receive traps or make snmpget/set commands only. Also, I didn't find init_agent being called from the code of tools snmptrapd.c and snmpget.c I saw the following

Re: EngineID

2004-08-02 Thread Dave Shield
Why should I call init_agent() from my management application i.e. the code which will either receive traps or make snmpget/set commands only. Because init_agent is the bit that handles some of the persistent configuration information. You don't need that for a

Re: EngineID

2004-08-02 Thread Narinder Soni
I am sorry but still I didn't find init_agent(snmptrapd) in snmptrapd.c of ucd-snmp-0.4.2.5 rather init_snmp(snmptrapd) is there. And I am also calling this function. Does this routine also do same as init_agent?? or should I explicitly use init_agent instead od init_snmp or BOTH? Thanks Soni

Re: EngineID

2004-08-02 Thread Dave Shield
I am sorry but still I didn't find init_agent(snmptrapd) in snmptrapd.c of ucd-snmp-0.4.2.5 OK. Both Wes and I will have been looking at the v5 code. The v4 line is rather old now, and is no longer being developed. init_snmp(snmptrapd) is there. And I am also calling this function. Does

Re: EngineID

2004-08-02 Thread Narinder Soni
Ya, I am also trying to find out the same i.e. why my app. doesn't pick up these tokens automatically. May be - while mixing up the code of snmpget and snmptrapd I have eaten up something(I did this 2 years back) or I have called the initialization routines in different order or this is happening

Re: EngineID

2004-08-02 Thread Wes Hardaker
On Mon, 02 Aug 2004 14:26:22 +0200, Narinder Soni [EMAIL PROTECTED] said: Narinder Ya, I am also trying to find out the same i.e. why my Narinder app. doesn't pick up these tokens automatically. May be - Narinder while mixing up the code of snmpget and snmptrapd I have Narinder eaten up

Re: EngineID

2004-07-30 Thread Narinder Soni
the same request two or three times, in the sure and certain expectation that the first one(s) will fail. But the error reports that are returned from such failures will include the missing information (engineID and boot time/count) Try running snmpget -d or snmpget -Ddump

Re: engineID

2004-07-29 Thread Thomas Anders
Wes Hardaker wrote: Net-SNMP uses a combination of time and random number values to seed the engineID. Doing it any other way (like the common IP address way) is generally bad practice. Are you willing to elaborate on the latter statement? The SnmpEngineID TC from RFC3411 defines and allows

EngineID

2004-07-28 Thread Narinder Soni
Hi, How and where does snmpget application discover the engine ID of agent's machine? Thanks Soni --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic

Re: EngineID

2004-07-28 Thread Dave Shield
that are returned from such failures will include the missing information (engineID and boot time/count) Try running snmpget -d or snmpget -Ddump to watch what goes on. Dave --- This SF.Net email is sponsored by BEA