9.4. Monitoring

Monitoring is supported for dashboards and also for individual reports, charts and maps (let’s call them monitored objects). Monitoring is similar to scheduling. The monitored objects are checked in given time intervals and notifications are sent if alert occurs in some of the monitored objects. This is done in background, so the notifications are sent even if the monitored object is not viewed.

The user interface to set up monitoring is similar to that of scheduling (scheduling described in Section 3.2 - Scheduling & Archiving). If the monitored object has parameters, user can set up several parameter sets (just like for scheduling). Monitoring has the same options for testing intervals as scheduling (i.e. one time, time interval, fixed days, etc.). Monitoring is not supported for drilldowns.

Administrators and designers are the only users who can set up monitoring (only for objects they have read access to). They can also select recipients of notification emails. Viewers are not allowed to set up monitoring.

9.4.1. Alert notifications

Alert notifications are sent via emails. Exported templates can also be uploaded to FTP. Alert notification can be sent every time an alert occurs or it can be send only when an alert starts (i.e. if alert wasn’t triggered during last check, but it is triggered during current test).

You can set email subject and body. They have to be the same for the entire monitoring (for all templates, alerts and parameter sets). Body of the notification email can contain some variables that will be substituted during runtime. List of these variables will be detailed later.

You can set different recipients for different templates and different parameter sets (just like in scheduling). It is not possible to set different recipients for different alerts in one template. If you want that, you have to create another alert monitoring task (you can add as many tasks as you want).

9.4.2. Failed emails

If some of the monitored objects are not available, or their data sources are not available, or if there are any other problems with exporting the monitored objects or alert evaluation (e.g. watched control area was removed), the user can be notified with failed emails.

The UI is exactly the same as the Failed emails dialog in scheduling (described in Section 3.2.1.2.1 - Email Delivery Options). You can set failed email subject and body. Recipients are the same as for the notifications. Error log (with stack traces) can be sent to a selected user (typically admin).

9.4.3. User interface

9.4.3.1. Create/Edit monitoring dialog

Monitoring is set up in the Organizer in a dialog similar to the Schedule dialog (see Section 3.2.1 - Setting a Schedule for more details).

To set up, please use the following steps.

Select alerts -

This step is similar to the first step of the Schedule Package wizard. Select the templates that you want to monitor in this monitoring task. You can select any dashboard, stand-alone report, chart or map.

Click to view larger image

Create monitoring task dialog

Unlike the list in schedule package, the monitored template list is a tree.

The first level of the tree is the selected templates (before the dialog was opened) or templates added using the Add button. The leaf nodes are available alerts (for their parent node). You can check alerts that should be monitored. You have to select at least one alert for each template. If you don't want to monitor any alert of a monitored object, remove the object by selecting it and clicking the Remove button.

If the selected template is dashboard that already have some dashboard alerts defined, the checkboxes are initialized according to the dashboard alerts (the alerts that are watched in the dashboard are checked). If the selected template is not dashboard, all the checkboxes are unchecked by default.

Set timing –

this step is exactly the same as the Set timing in Scheduling (see Section 3.2.1 - Setting a Schedule for more details).

Set parameters –

this step is skipped if there are no parameters in the selected templates. If you have selected to monitor a report, chart, map or dashboard that contains parameters, the next tab will appear allowing you to set the parameter values you want to use.

Click to view larger image

Set parameters dialog

To add a set of parameters, select the Add button. This will bring up the parameter prompt dialog allowing you to select the set of parameter values you want to use. Once you have selected a parameter set, your choices will appear in the dialog. You can add as many different combinations of parameter sets as you like. A separate file will be generated for each set of parameters you specify. Alerts will be evaluated separately for each parameter sets. Only the templates that triggered some alerts will be sent in the notification email or uploaded to FTP.

You can also specify a name for each parameter set by double clicking on the first column. The name specified here will be used in later dialogs to help you organize your recipients.

Once you specify all parameters, click the Next button to continue.

Set delivery options -

This dialog allows you to configure the delivery options for the alert notifications. It is almost the same as Set Delivery Option tab in the Scheduling dialog (described in Section 3.2.1.2 - Additional Delivery Options).

Click to view larger image

Delivery options dialog

Printer delivery is not available for alert monitoring.

There is an extra option that is not available for scheduling. You can select if you want to perform the delivery (send emails or upload files to FTP) every time an alert occurs or if you only want to perform it when alert starts (i.e. if alert wasn’t triggered during last check, but it is triggered during current test).

There are also two extra runtime variables that can be used in email body. It is <ALERTS> and it is replaced by names of all alerts that have been triggered during the export and <ALERT_DETAILS>. For reports, alert details are replaced by alert details specified in the alert details parameter (see Section 9.2.4 - Reports to learn more). For charts, it shows values of the tooltips that would be displayed on the data points that triggered alerts. For maps, it shows all values from the data source rows associated to the areas that triggered alert.

Email Recipients -

This dialog allows you to set the recipients of the emails. It is almost the same as the Recipients dialog for scheduling (described in Section 3.2.1.3 - Specifying Email Recipients. The only difference is that alert monitoring doesn't support report bursting. Specifying Email Recipients). You can assign different recipients for individual templates and parameter sets.

9.4.3.2. Monitoring list

You can view monitoring list from pull-down menu Schedule/ArchiveView Alert Monitoring Tasks. The dialog allows users to view, edit and remove current monitoring tasks.

Click to view larger image

View alert monitoring tasks dialog

It also displays the following info about each monitoring task.

  • name

  • next check time

  • last check time

  • last check result (alert was triggered or not) – red light means that an alert was triggered, green light means no alerts

  • last triggered time

The Check Now button is similar to the Run Now button in the Schedule list dialog. It checks selected alerts immediately (and sends notifications if necessary).

You can use the Details button to view more details about selected monitoring.

Click to view larger image

Alert monitoring details dialog

The Monitored files list contains list of all monitored files with all monitored alerts (in the square brackets). It also contains all parameter sets if the template is parameterized. If you hold cursor over a template or parameter set in the Monitored files list, you will get a tooltip with more details.