"Dynamic" agent configuration

Jing Guan <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
According to the FAQ document in Net-SNMP website, "The location is used for information set during the running of the agent, which needs to be persistent between one run of the agent and the next."

I copied the trap directive "monitor lmFanSensorsDevice "FanSpeed" lmFanSensorsValue < 2000" from the /usr/local/share/snmp/snmpd.conf and paste it to the /var/net-snmp/snmpd.conf.  Then I used "snmpset" to change the value from 2000 to 3000.  Verified it's changed by "snmpget".

But when I turned off the snmpd agent and restarted it again, the "monitor" line is not in the "/var/net-snmp/snmpd.conf" any more. And "snmpget" is not able to get the value 3000 any more.

Anybody could help this? 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.