Re: EngineID
sanjaykumar <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
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 may change and may even become conflicting * in the future like most of the default v3 engineID types * suffer from. * * Ours is built from 2 fairly random elements: a random number and * the current time in seconds. This method suffers from boxes * that may not have a correct clock setting and random number * seed at startup, but few OSes should have that problem. */ Rgds, Sanjay Dave Shield wrote: On 29 January 2010 06:22, sanjaykumar <[email protected]> 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 ? The engine ID uniquely identifies an SNMP engine, and should be persistent - not only across reboots, but also when power is removed and restored. >From the definition of the snmpEngineID MIB object This information SHOULD be stored in non-volatile storage so that it remains constant across re-initializations of the SNMP engine. (RFC3411 - p49) Dave ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ 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