1snmp_framework_mib(3)      Erlang Module Definition      snmp_framework_mib(3)
2
3
4

NAME

6       snmp_framework_mib - Instrumentation Functions for SNMP-FRAMEWORK-MIB
7

DESCRIPTION

9       The  module snmp_framework_mib implements instrumentation functions for
10       the SNMP-FRAMEWORK-MIB, and functions for initializing and  configuring
11       the database.
12
13       The configuration files are described in the SNMP User's Manual.
14

EXPORTS

16       configure(ConfDir) -> void()
17
18              Types:
19
20                 ConfDir = string()
21
22              This function is called from the supervisor at system start-up.
23
24              Inserts  all  data  in the configuration files into the database
25              and destroys all old data.
26
27              Thus, the data in the SNMP-FRAMEWORK-MIB,  after  this  function
28              has been called, is from the configuration files.
29
30              All snmp counters are set to zero.
31
32              If  an  error is found in the configuration file, it is reported
33              using the function config_err/2 of the error report module,  and
34              the function fails with reason configuration_error.
35
36              ConfDir is a string which points to the directory where the con‐
37              figuration files are found.
38
39              The configuration file read is: context.conf.
40
41       init() -> void()
42
43              This function is called from the supervisor at system start-up.
44
45              Creates the necessary objects in the database if they do not ex‐
46              ist. It does not destroy any old values.
47
48       add_context(Ctx) -> Ret
49
50              Types:
51
52                 Ctx = string()
53                 Ret = {ok, Key} | {error, Reason}
54                 Key = term()
55                 Reason = term()
56
57              Adds  a  context  to the agent config. Equivalent to one line in
58              the context.conf file.
59
60       delete_context(Key) -> Ret
61
62              Types:
63
64                 Key = term()
65                 Ret = ok | {error, Reason}
66                 Reason = term()
67
68              Delete a context from the agent config.
69
70
71
72Ericsson AB                        snmp 5.12             snmp_framework_mib(3)
Impressum