Hi 
   I am using net-snmp 5.2.1 and i am getting snmpEngineBoots.0 value as
always 1. I had checked in the snmplib/snmpv3.c file. Every time i
restart the snmpd control goes inside the following if loop and makes
engineBoots value as 1.

 if (engineIDLen != (int) oldEngineIDLength ||
        oldEngineID == NULL || c_engineID == NULL ||
        memcmp(oldEngineID, c_engineID, engineIDLen) != 0) {
        engineBoots = 1;
    }

In snmpd.conf file i had but my engine id as "engineID
0x000000a1030000207503457B". Is this is the correct way to do this? 

I am not changing the engineID for every reboot, then why above codition
is passing and it is making engineBoots as 1?

Once i start snmpd, i am seeing in "oldEngineID
0x80001f88043078303030303030613130333030303032303735303334353742" in
/var/net-snmp/snmpd.conf file which is not same as what i had
configured? Is snmp encripts the engine id and stores, then why it is
not finding after rebooting?

How i can make snmpEngineBoots value as incremented by one with prvious
value if engine id not changed? Am i missing any configuration?

Regards
Kanda



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to