This module implements the instrumentation functions for the SNMP-TARGET-MIB, and functions for configuring the database.
The configuration files are described in the SNMP User's Manual.
configure(ConfDir) -> void()
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 SNMP-TARGET-MIB after agent reboot is the data in the configuration files.
snmp counters are set to zero.
If an error is found in the configuration file, it is
reported using the function
and the function fails with reason
ConfDir is a string including a trailing directory
delimiter, which points to the directory where the
configuration files are found.