This module implements instrumentation functions for the OTP-SNMPEA-MIB, and functions for initializing and configuring the database.
The configuration files are described in the SNMP User's Manual.
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 data. Accordingly, the data in the OTP-SNMPEA-MIB after agent reboot is the data in the configuration files.
If an error is found in the configuration file, the
function snmp_error:config_err/2
is used to report the
error, and the function fails with reason
configuration_error
.
ConfDir
is a string including a trailing directory
delimiter which points to the directory where the
configuration files are found.
This function is called from the supervisor at system start-up.
Creates the necessary objects in the database if they do not exist. It does not destroy any old values.