Re: "Dynamic" agent configuration
"Dave Shield" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On 18/10/06, Jing Guan <[email protected]> wrote: > 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." Although the /var/net-snmp/snmpd.conf file is used to store information from one run of the agent to the next - that doesn't mean you can put arbitrary directives in this file. Different MIB modules work in different ways, but will often use distinct directives for "static" configuration (set up by the N/W admin) and "dynamic" configuration (set up via SNMP SET requests). There's a good reason that the /var/net-snmp/snmpd.conf starts with the comment "DO NOT EDIT THIS FILE" > I copied the trap directive "monitor ...." [into] the /var/net-snmp/snmpd.conf. > Then I used "snmpset" to change the value from 2000 to 3000. Sorry - that's not allowed. >From DISMAN-EVENT-MIB: mteTriggerEntryStatus OBJECT-TYPE DESCRIPTION "The control that allows creation and deletion of entries. Once made active an entry may not be modified except to delete it." <=== Which version of the agent are you using? I've tried this with the 5.3.x agent, which (correctly) refuses to allow this SET. Dave ------------------------------------------------------------------------- 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