Template:FAQ:Agent 03

From Net-SNMP Wiki
Revision as of 15:04, 29 December 2006 by Dts12 (Talk | contribs) (5.4 release synchronisation)

Jump to: navigation, search

That depends on what you want it to do, and what stage of the process you have in mind. There are actually two very distinct ways you can 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.