You use the Databases Administration dashboard to set options for collecting, storing, and displaying data about monitored DB2 instances.
This section covers the following key areas:
You can edit settings for one or more DB2 instances on the Databases Administration dashboard. To open the Databases Administration dashboard:
The Administration dashboard appears that displays settings for all the selected agents. Settings are categorized and organized under a DB2 tree structure. To view the list of selected agents, click Selected Agents.
The Databases Administration dashboard allows settings options for collecting, storing, and displaying data, which apply to all the currently selected agents. Click a category of settings on the left (for example: Connection Details) to display a view containing related settings on the right.
The metrics defined under the Databases Administration dashboard apply to all of the agents that were selected before opening the Databases Administration dashboard. As a result, the same unit of measure and aggregation value for display are enforced for all currently selected agents.
To view the full list of selected agents, click Selected Agents at the upper right corner of the screen. To change the list of agents to which the metrics will apply, exit the Databases Administration dashboard, select the requested agents, and re-open the view.
If the settings vary between the selected agents (for example: one agent uses the measurement unit kilobyte, while another uses megabyte), the fields that contain non-identical values are displayed as empty and marked with an Inconsistent Values () icon.
Changes made to settings should be saved before selecting another category of settings.
To save changes made in an Administration dashboard view:
If you attempt to select instances of more than one type of database, such as an SQL Server database and DB2 instance, an error message is displayed.
The OS Connection Details page allows you to add or edit the OS credentials for database instances and their hosts. Adding OS credentials for a database instance enables Foglight for DB2 LUW to monitor the operating system of the instance.
It is advisable not to modify existing credentials, because such changes affect all agents that share credentials.
To use the host credentials to access the OS:
To create or edit credentials used to access the OS:
The Foglight for DB2 agent always collects and stores data, even when the browser window that displays the data is not active. Use the Collections page to specify:
When you focus on a page, the sampling frequency for all the collections associated with this page automatically switches to Real-Time. The collection frequency setting determines the sampling frequencies of the other collections (collections that are not running in Real-Time mode). The available collection frequencies can be selected from the current collection frequency field of the selected agent located in the middle of the panel.
To change the current collection frequency of the selected agent:
In the Normal collection frequency, when the browser window that displays Foglight for DB2 is active, the collection frequency mode in the active page (for example: the Current Sessions panel in the Activity drilldown) switches to the fastest frequency possible, once every 20 seconds.
The Collections table contains the following columns:
Column | Description |
---|---|
Collection Enabled | Defines whether the selected collections are sampled and stored. |
Collection Name | The name of the collection. This list is sorted in alphabetical order. |
Offline Frequency (Sec) | Allows defining the collection interval, in seconds, in offline mode (for example, 300). Offline frequency is defined as the longest interval possible for sampling the monitored instance. |
Online Frequency (Sec) | Allows defining the collection interval, in seconds, in online mode (for example, 60). |
Real-time Frequency (Sec) | Allows defining the collection interval, in seconds, in real-time mode (for example, 20). Only one collection can be sampled for a real-time frequency at any given moment. |
Query Timeout (Sec) | The amount of time, in seconds, that elapses before the query times out. |
Many Foglight for DB2 LUW Database multiple-severity rules trigger alarms. To improve your monitoring experience, you can use alarm templates to customize when alarms are triggered and whether they are reported. You can also set up email notifications. For more information, refer to Working with Alarms.
The User-defined Collections view in the Databases Administration dashboard allows adding user-defined collections to all of the currently selected agents, to provide for queries not included in Foglight for SQL Server.
Agents must be enabled for user-defined collections. If one or more of the selected agents is not enabled for such collections, this view allows enabling them. To disable or modify the credentials of a currently enabled agent, go to the Connection Details view and click the agent to edit it.
After collections are added, this view displays all of the user-defined collections for all of the agents; for example, if a collection was added to 12 agents during its addition, the view will display 12 rows, showing the collection for each agent.
This view can also be used for configuring the sampling frequency for each collection.
The available sampling frequencies are as follows:
To add user-defined collections:
If one or more of the selected agents is not enabled for user-defined collections, a dialog box appears to notify this issue, displaying a table of the currently disabled collections. Use this dialog box to enable all agents for user-defined collections. To enable only part of these agents, exit the Databases Administration dashboard and select only these agents that are currently enabled or need to be enabled for user-defined collections before entering again the Databases Administration dashboard.
This field can hold up to 4096 characters.
Section | Field | Description |
---|---|---|
Database | ID Column Name Column Type |
The collections’ ID The name of the column The field type, as retrieved by the query (String, Integer and so on) |
Data Storage | Display Name | The column’s display name |
Type | The topology type for storage purposes. This type can be one of the following: String Integer Double Boolean Date Note: When the Frequently modified check box is selected (the default state), the field’s change history is kept, including use of optional functionality such as use of the IntelliProfile mechanism and aggregation type selection. Clearing this check box is recommended only for fields whose values change infrequently, such as IP address of a specific host, as storing the change history of such fields is highly CPUintensive and may degrade the FMS performance. |
|
Unit of Measurement/Indicator | The metric’s Unit of Measurement/Indicator. The possible measurement unit values are: Percent, Count, Millisecond, Second, Minute, Hour, Day, Byte, Kilobyte, Megabyte and Gigabyte. | |
Aggregation | Allows defining the value that is displayed in this metric, out of several values that were returned in the relevant time range. The available aggregation values are: As is- value of the last sample taken during the selected time range Sum- summarized value of all samples taken during the selected time range Average- average value of all samples taken during the selected time range |
|
Is Key | Indicates whether the field is the query’s key for retrieval. Note: Fields that are indicated as keys should correspond with the database result set unique values. Selecting a field which has frequently changing and repeating results as key is allowed, but may result in unexpected behavior from the defined collection. |
|
Configured to use IntelliProfile | Select True in this column to enable the collection of baseline statistics for this metric |
After adding the requested user-defined collections, they can only be deleted or cloned to other agents. If one or more queries need to be modified, delete them and create new ones.
You use the Database Management view on the Databases Administration dashboard to manage the list of monitored databases and validate their connection settings.
You can validate the login credentials and instance properties.
To edit instance credentials and properties:
To edit database credentials:
An instance must have at least one monitored database. If an instance contains no databases you want to monitor, remove the instance.
Use the Diagnostic Log view to configure the retrieval and display settings for the Log panel. In addition, this view is used to define default settings for invoking alarms based on the collected alerts.
Use this view to define the following settings:
Only messages that are explicitly defined in the Match List and not filtered in the ignored list will be displayed.
Both the Match List and the Ignore List panes can be customized by adding, editing or removing messages. Each filter can be enabled or disabled separately by clicking Edit and selecting or clearing the Enabled check box. Alternatively, to enable or disable all of the filters, click Enable All or Disable All.
To add a message to the Match List:
To edit a Filter: