RE: Help needed on EngineID.

"Ragesh V" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <F03F61A4221B9C4E91955E8C29AA9D92B1D41C@chn-hclt-evs05.HCLT.CORP.HCL.IN>
Thanks a lot Wes. It worked perfectly for me!!!   

-----Original Message-----
From: Wes Hardaker [mailto:[email protected]] 
Sent: Monday, February 16, 2009 9:48 PM
To: Ragesh V
Cc: [email protected]
Subject: Re: Help needed on EngineID.

>>>>> On Mon, 16 Feb 2009 15:28:16 +0530, "Ragesh V" <[email protected]>
said:

RV> I have one snmp agent, which should reply to the get/getNext
RV> from an SNMP manager with the contextEngineID and
RV> msgAuthoritativeEngineID as per my requirement (ie Our enterprise ID
+
RV> IP of one machine + Trailing zeros). 

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  0x<Hex value created with ENT OID and IP + trailing zeros>


That method (if you read the snmpd.conf manual page) is for using a
string encoded engineID defined by the SNMPv3 specs.  There isn't a
published engineID mechanism for directly specifying one via hex.

That being said, you could use the internal unpublished one of
"oldEngineID".  If you use this, put it in /var/net-snmp/snmpd.conf
before the first time you start snmpd.
-- 
Wes Hardaker
Sparta, Inc.

DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have 
received this email in error please delete it and notify the sender immediately. Before opening any mail and 
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.