Hi,
The app is running as master and sub-agent model. Master is being run in the
following fashion "/usr/local/sbin/snmpdv3 -I -ifTable -I -ifXTable -Lsd -c
/etc/snmp/snmpd.conf -p /var/run/snmpd -a -Dagentx". In "/var" "net-snmp"
folder is not present.
In the follwoing path "/usr/local/snmpd.conf" engineboot and engineID are
maintained by the snmpd, when engineid is modified snmpd updated this file.
Upon start of the system snmpd reads engineboot and engineID from this file,
and used this engineboot value in the snmp response messages. After some time
engineboot value is reset to 1 in the snmpd response messages. But this value 1
is not updated in the file "/usr/local/snmpd.conf"
Do i need to add net-snmp folder in /var ?
Regards,
Sasikumar.B
________________________________
From: Wes Hardaker <[email protected]>
To: Sasikumar <[email protected]>
Cc: netsnmp <[email protected]>
Sent: Wednesday, 10 August 2011 7:27 PM
Subject: Re: Facing issue with engineBoots
>>>>> On Tue, 9 Aug 2011 19:14:32 +0530 (IST), Sasikumar
>>>>> <[email protected]> said:
S> I am using following version of net-snmp 5.4.2.1, in this version I
S> am facing following issue when agent runs for certain period of time
S> the engineBoot in the snmp response packet is getting reset to value
S> 1. But the value in the snmpd.conf file is 23
How are you running the agent? It sounds like that file isn't being
read. If you're setting the configuration path in any way (with the
SNMPCONFPATH environment variable or via the -c/-C switches) then you'll
need to make sure to include the /var/net-snmp directory.
--
Wes Hardaker
Please mail all replies to [email protected]
------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities and model configuration. Take
the hassle out of deploying and managing Subversion and the
tools developers use with it.
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders