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

NAME

6       snmp_standard_mib  -  Instrumentation  Functions  for  STANDARD-MIB and
7       SNMPv2-MIB
8

DESCRIPTION

10       The module snmp_standard_mib implements the  instrumentation  functions
11       for  the STANDARD-MIB and SNMPv2-MIB, and functions for configuring the
12       database.
13
14       The configuration files are described in the SNMP User's Manual.
15

EXPORTS

17       configure(ConfDir) -> void()
18
19              Types:
20
21                 ConfDir = string()
22
23              This function is called from the supervisor at system start-up.
24
25              Inserts all data in the configuration files  into  the  database
26              and  destroys  all  old rows with StorageType volatile. The rows
27              created from the configuration file will have  StorageType  non‐
28              Volatile.
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 the 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: standard.conf.
40
41       inc(Name) -> void()
42       inc(Name, N) -> void()
43
44              Types:
45
46                 Name = atom()
47                 N = integer()
48
49              Increments a variable in the MIB with N, or  one  if  N  is  not
50              specified.
51
52       reconfigure(ConfDir) -> void()
53
54              Types:
55
56                 ConfDir = string()
57
58              Inserts  all  data  in the configuration files into the database
59              and destroys all old data, including the rows  with  StorageType
60              nonVolatile.  The  rows created from the configuration file will
61              have StorageType nonVolatile.
62
63              Thus, the data in the SNMP-STANDARD-MIB  and  SNMPv2-MIB,  after
64              this function has been called, is from the configuration files.
65
66              All snmp counters are set to zero.
67
68              If  an  error is found in the configuration file, it is reported
69              using the function config_err/2 of the error report module,  and
70              the function fails with the reason configuration_error.
71
72              ConfDir is a string which points to the directory where the con‐
73              figuration files are found.
74
75              The configuration file read is: standard.conf.
76
77       reset() -> void()
78
79              Resets all snmp counters to 0.
80
81       sys_up_time() -> Time
82
83              Types:
84
85                 Time = int()
86
87              Gets the system up time in hundredth of a second.
88
89
90
91Ericsson AB                      snmp 5.2.11.1            snmp_standard_mib(3)
Impressum