Refresh control value
As a background task, OnSNMP periodically updates the contents of MIB tables that it derives from catalog information. The refresh control value determines the amount of time that OnSNMP spends refreshing these MIB tables versus the amount of time that it spends responding to queries from the master agent.
Specify the refresh control value with the runsnmp.ksh -s
-r command-line option or the onsrvapd -r command-line
option. The following table lists the MIB tables that this value affects.
| Database-related MIB tables | Table-related MIB tables |
|---|---|
rdbmsDbInfoTable
rdbmsDbTable rdbmsRelTable onBarTable onDatabaseTable |
onActiveTableTable
onFragmentTable onTableTable |
The following table describes the possible values for
the refresh control value.
| Value | Description |
|---|---|
a or all |
Refresh the database-related and table-related tables periodically. |
n or none |
Do not fill or refresh any of the catalog-based tables. Instead, leave the catalog-based tables empty. |
o or once |
Fill the database-related and table-related tables once at startup. |
The following table lists the default refresh control
value for each operating system.
| Operating system | Default refresh control value |
|---|---|
| UNIX | once |
| Windows | all |
The best value to use depends on the environment and how
you use OnSNMP. If the list of tables and databases changes frequently,
it is probably best to use a value of all to make
sure that the MIB tables are accurate. If the environment includes
many tables and databases, it is probably best to use a value of once to
let OnSNMP respond to queries.