Template:FAQ:Agent 03

From Net-SNMP Wiki
Jump to: navigation, search

That's a somewhat ambiguous question, as there are two very different stages where it is possible to "configure" the agent.

Firstly, you can determine what capabilities and defaults are included within the library and agent, at the time that the software is first built. This uses suitable flags to the configure script, before compiling the source. As far as the agent is concerned, the most significant option is '--with-mib-modules' (or '--with-out-mib-modules') to control which MIBs will be supported by the agent. See the next few entries for details.

You can also control various aspects of the agent behaviour (and the information it returns) at run time, via the snmpd.conf configuration file. Various aspects of this are touched on throughout this FAQ. Or see the snmpd.conf(5) manual page for full details. The "snmpconf" script can help in creating this config file. Start off with 'snmpconf -g basic_setup' to get you going.