AutoPatrol, Bureaucrats, Administrators
683
edits
Line 1: | Line 1: | ||
= | = Summary = | ||
NetXMS subagent for Oracle DBMS monitoring (hereinafter referred to as Oracle subagent) monitors one or more instances of Oracle databases and reports various crucial database-related parameters. | NetXMS subagent for Oracle DBMS monitoring (hereinafter referred to as Oracle subagent) monitors one or more instances of Oracle databases and reports various crucial database-related parameters. | ||
Line 6: | Line 6: | ||
= Configuration = | = Configuration = | ||
Subagent can be configured using XML configuration file (usually created as separate file in configuration include directory), or in simplified INI format, usually in main agent configuration file. | |||
== XML configuration == | |||
There is a sample Oracle subagent configuration file in XML format: | There is a sample Oracle subagent configuration file in XML format: | ||
Line 11: | Line 16: | ||
<config> | <config> | ||
<agent> | <agent> | ||
<subagent> | <subagent>oracle.nsm</subagent> | ||
</agent> | </agent> | ||
<oracle> | <oracle> | ||
Line 34: | Line 39: | ||
You can specify multiple databases in the '''oracle''' section. Each database description must be surrounded by '''database''' tags with the '''id''' attribute. '''id''' can be any unique integer, it instructs the Oracle subagent about the order in which '''database''' sections will be processed. | You can specify multiple databases in the '''oracle''' section. Each database description must be surrounded by '''database''' tags with the '''id''' attribute. '''id''' can be any unique integer, it instructs the Oracle subagent about the order in which '''database''' sections will be processed. | ||
Each database | Each database definition supports the following parameters: | ||
{| class="wikitable" | |||
|- | |||
! Parameter !! Description !! Default value | |||
|- | |||
| Id || Database identifier. It will be used to address this database in parameters. || ''empty'' | |||
|- | |||
| TnsName || Database TNS name. This is a name for Oracle connect string as described in tnsnames.ora. It can also be instant client connection string. || ''empty'' | |||
|- | |- | ||
| | | UserName || User name for connecting to database. || ''empty'' | ||
| | |||
|- | |- | ||
| | | Password || Database user password. || ''empty'' | ||
| | |} | ||
== INI configuration == | |||
= Provided Parameters = | = Provided Parameters = | ||
The Oracle subagent declares and supports a number of Oracle.* DCI parameters. Almost all of them accept a database id (the one specified in “Id” tag in the subagent configuration file) as the only input parameter (with the exception of Oracle.TableSpaces.* which also take a tablespace name). The all supported DCIs are described below. | The Oracle subagent declares and supports a number of Oracle.* DCI parameters. Almost all of them accept a database id (the one specified in “Id” tag in the subagent configuration file) as the only input parameter (with the exception of Oracle.TableSpaces.* which also take a tablespace name). The all supported DCIs are described below. | ||