Download Simple Network Management Protocol (SNMP)
Transcript
Chapter 1: SNMP User's Guide snmp multi threaded = bool() <optional> If true, the agent is multi-threaded, with one thread for each get request. Default is false. snmp req limit = integer() | infinity <optional> The number of simultaneous requests (get, get-next and get-bulk) the agent will allow. Default is infinity. snmp priority = atom() normal. <optional> Defines the Erlang priority for all SNMP processes. Default is <optional> Defines if the agent shall speak SNMPv1. Default is true. v2 = bool() <optional> Defines if the agent shall speak SNMPv2c. Default is true. v3 = bool() <optional> Defines if the agent shall speak SNMPv3. Default is true. snmp local db auto repair = false | true | true verbose <optional> When starting v1 = bool() snmp local db it always tries to open an existing database. If false, and some errors occur, a new datebase is created instead. If true, erroneous transactions (in the logfile) are ignored. If true verbose, erroneous transactions (in the logfile) are igored and an error message is written. Default is true. snmp mibentry override = bool() <optional> If this value is false, then when loading a mib each mib- entry is checked prior to installation of the mib. The perpose of the check is to prevent that the same symbolic mibentry name is used for in different oid's. Default is false. snmp trapentry override = bool() <optional> If this value is false, then when loading a mib each trap is checked prior to installation of the mib. The perpose of the check is to prevent that the same symbolic trap name is used for in different trap's. Default is false. snmp error report mod = atom() <optional> Defines an error report module, other then the default. Two modules are provided with the toolkit: snmp error and snmp error io. Default is snmp error. snmp master agent verbosity = silence | info | log | debug | trace the startup verbosity for the SNMP master agent. Default is silence. <optional> Specifies snmp symbolic store verbosity = silence | info | log | debug | trace <optional> Specifies the startup verbosity for the SNMP symbolic store. Default is silence. snmp note store verbosity = silence | info | log | debug | trace the startup verbosity for the SNMP note store. Default is silence. snmp net if verbosity = silence | info | log | debug | trace startup verbosity for the SNMP net if. Default is silence. <optional> Specifies <optional> Specifies the snmp mibserver verbosity = silence | info | log | debug | trace the startup verbosity for the SNMP mib server. Default is silence. <optional> Specifies snmp mib storage = ets | fdets,Dirg | fdets,Dir,Actiong | fmnesia,Nodesg | fmnesia,Nodes,Actiong Specifies how info retrieved from the mibs will be stored. Default is ets. Dir = string(). Dir is the directory where the (dets) files will be created. Nodes = [node()]. If Nodes = [] then the own node is assumed. Action = clear | keep. Default is keep. Action is used to specify what shall be done if the mnesia table already exist. 1.5.2 Modifying the Configuration Files To to start the agent, the agent configuration files must be modified and there are two ways of doing this. Either edit the files manually, or run the configuration tool as follows. If authentication or encryption is used (SNMPv3 only), start the crypto application. 1> application:start(crypto). 28 Simple Network Management Protocol (SNMP) <option