Thanks Dave. It clears most of my doubts. Dave Shield wrote: > > > The Net-SNMP toolkit find it automatically but once I tried to use some > > 3rd party SNMP manager. In order to configure it so that it could > > query/set the values from agent, it asked me to provide the EngineID of > > my UCD-SNMP agent. But I did not know where does agent store the value > > of its EngineID. Is it in /var/uc-snmp/snmpd.conf file? If yes, then > > what is the name of token? > > Firstly, I would regard this a deficiency in the manager, > which might be worth taking up with the developers of that software. > > There are two ways in which you could determine the engineID of the > agent. One is indeed to look in the /var/ucd-snmp/snmpd.conf file, > where this engineID is listed as "oldEngineID". > [Wes - can you confirm that this remains constant > from one run of the agent to the next ? ] > I'm a little surprised that you didn't spot this as the most likely > candidate. > > The other is to make an SNMPv3 request using an empty engineID. > It will fail, of course - but will return a Report PDU which includes > the correct engineID. That can then be used to repeat the request > (hopefully successfully this time). > > That's what the SNMPv3 specs describe and what the UCD- and Net-SNMP > suites implement - just done manually. It also has the advantage > that it will work with *any* SNMPv3 agent, and isn't reliant on > using a vendor-specific configuration file. > > > > > For receiving traps in this 3rd party manager also, I had to give the > > engine ID of Agent. Has this to be given as a param in 'trapsess' > > derivative in snmpd.conf file? OR some other way is also there? > > Please see > http://www.net-snmp.org/tutorial-5/commands/snmptrap-v3.html > which discusses how SNMPv3 engines relate to traps. > > Dave
------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ 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
