aakansha rajvi wrote:
I *replaced persistDir with "persistentDir"*.. But even then *the same warning is displayed*...

Tell us the exact warning, please. Also, what's the output of "snmpd -H 2>&1 | grep -i persistentDir"?

export SNMPCONFPATH=/usr/local/share/snmp/agent1:/usr/local/share/snmp:/var/net-snmp/agent1

echo "persistentDir /var/net-snmp/agent1" > /var/net-snmp/agent1/snmpd.conf

I'd recommend

echo "persistentDir /var/net-snmp/agent1" > /usr/local/share/snmp/agent1/snmpd.conf

instead. Not sure why Robert's FAQ says differently. I think it shouldn't.

If it still doesn't work, run the agent(s) with "-Dread_config" and post the output here.


+Thomas

--
Thomas Anders (thomas.anders at blue-cable.de)


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to