Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

snmp_standard_mib(3erl) [linux man page]

snmp_standard_mib(3erl) 				     Erlang Module Definition					   snmp_standard_mib(3erl)

NAME
snmp_standard_mib - Instrumentation Functions for STANDARD-MIB and SNMPv2-MIB DESCRIPTION
The module snmp_standard_mib implements the instrumentation functions for the STANDARD-MIB and SNMPv2-MIB, and functions for configuring the database. The configuration files are described in the SNMP User's Manual. EXPORTS
configure(ConfDir) -> void() Types ConfDir = string() This function is called from the supervisor at system start-up. Inserts all data in the configuration files into the database and destroys all old rows with StorageType volatile . The rows created from the configuration file will have StorageType nonVolatile . All snmp counters are set to zero. If an error is found in the configuration file, it is reported using the function config_err/2 of the error report module, and the function fails with the reason configuration_error . ConfDir is a string which points to the directory where the configuration files are found. The configuration file read is: standard.conf . inc(Name) -> void() inc(Name, N) -> void() Types Name = atom() N = integer() Increments a variable in the MIB with N , or one if N is not specified. reconfigure(ConfDir) -> void() Types ConfDir = string() Inserts all data in the configuration files into the database and destroys all old data, including the rows with StorageType non- Volatile . The rows created from the configuration file will have StorageType nonVolatile . Thus, the data in the SNMP-STANDARD-MIB and SNMPv2-MIB, after this function has been called, is from the configuration files. All snmp counters are set to zero. If an error is found in the configuration file, it is reported using the function config_err/2 of the error report module, and the function fails with the reason configuration_error . ConfDir is a string which points to the directory where the configuration files are found. The configuration file read is: standard.conf . reset() -> void() Resets all snmp counters to 0. sys_up_time() -> Time Types Time = int() Gets the system up time in hundredth of a second. Ericsson AB snmp 4.19 snmp_standard_mib(3erl)

Check Out this Related Man Page

snmpa_supervisor(3erl)					     Erlang Module Definition					    snmpa_supervisor(3erl)

NAME
snmpa_supervisor - A supervisor for the SNMP agent Processes DESCRIPTION
This is the top supervisor for the agent part of the SNMP application. There is always one supervisor at each node with an SNMP agent (mas- ter agent or sub-agent). EXPORTS
start_sub_sup(Opts) -> {ok, pid()} | {error, {already_started, pid()}} | {error, Reason} Types Opts = [opt()] opt() = {db_dir, string()} | ... Starts a supervisor for the SNMP agent system without a master agent. The supervisor starts all involved SNMP processes, but no agent processes. Sub-agents should be started by calling start_sub_agent/3 . db_dir is mandatory. See configuration parameters for a description of the options. start_master_sup(Opts) -> {ok, pid()} | {error, {already_started, pid()}} | {error, Reason} Types Opts = [opt()] opt() = {db_dir, string()} | {config, ConfOpts()} | ... ConfOpts = [conf_opts()] conf_opts() = {dir, string()} | ... Reason = term() Starts a supervisor for the SNMP agent system. The supervisor starts all involved SNMP processes, including the master agent. Sub- agents should be started by calling start_subagent/3 . db_dir is mandatory. dir in config is mandatory. See snmp config for a description of the options. start_sub_agent(ParentAgent,Subtree,Mibs) -> {ok, pid()} | {error, Reason} Types ParentAgent = pid() SubTree = oid() Mibs = [MibName] MibName = [string()] Starts a sub-agent on the node where the function is called. The snmpa_supervisor must be running. If the supervisor is not running, the function fails with the reason badarg . stop_sub_agent(SubAgent) -> ok | no_such_child Types SubAgent = pid() Stops the sub-agent on the node where the function is called. The snmpa_supervisor must be running. If the supervisor is not running, the function fails with the reason badarg . Ericsson AB snmp 4.19 snmpa_supervisor(3erl)
Man Page