6.8. Alerting

InCenter provides the ability for the administrator to be made aware when certain events occur, including the option to receive alarms for specified events via email. In describing the alerting subsystem. the following terms will be used:

The alerting feature is managed through the Alerting menu options in the navigation pane, which are shown below.

Alerting Menu Options

Figure 6.52. Alerting Menu Options

When the Ticket Types option is selected, a list of all available ticket types is presented. An example of the first few lines of this list is shown below.

Alerting - Ticket Types List

Figure 6.53. Alerting - Ticket Types List

Each line in the list corresponds to a particular event or ticket type that InCenter will create a ticket for from incoming log messages. The slider on the right allows the administrator to choose if that ticket type should be monitored or not. By default, all ticket types are enabled. The pencil icon on the left indicates an On/Off change that has not yet been activated.

When a monitored event occurs, it is added to the Open Tickets list and the number of unacknowledged tickets in the list is indicated by a number next to the alerts icon in the toolbar.

Alerts Icon with Unacknowledged Tickets

Figure 6.54. Alerts Icon with Unacknowledged Tickets

Displaying the Ticket List

The current ticket list is displayed either by clicking the alters icon in the toolbar or by selecting the Tickets option in the navigation menu. As shown in the example below, the list displays how many times that ticket type's log event has occurred for a given node in the Events column. The Created column shows when the ticket first occurred for that node and the Updated column shows when it last occurred for the node.

Alerting - Open Tickets List

Figure 6.55. Alerting - Open Tickets List

The ticket list can be extensive so filtering is possible by type, severity or node. Below, only the tickets with Medium severity are being selected.

Alerting - Ticket Filters

Figure 6.56. Alerting - Ticket Filters

Each open ticket line corresponds to a given ticket type for a given node. Tickets remain in the Open list until they are acknowledged. This is done by first selecting a line in the Open list to open the Ticket Details dialog. An example of this dialog is shown below.

Alerting - Ticket Details Dialog

Figure 6.57. Alerting - Ticket Details Dialog

By pressing the Acknowledge button, the entire ticket is moved to the Acknowledged list (accessed through the Acknowledged tab). The acknowledged tickets will persist as an historical record for 30 days before being automatically deleted by InCenter.

Unacknowledged Tickets Limit

There is a limit of 1000 unacknowledged tickets across all ticket types and nodes. When this is reached, the oldest unacknowledged ticket will be auto-acknowledged when a new ticket occurs. Similarly, the maximum number of unacknowledged tickets across all ticket types and nodes is 1000. When the maximum is reached, the oldest acknowledged ticket is deleted when a new ticket acknowledgement occurs.

Viewing Log Messages

The Events link in the dialog shown above allows the administrator to view the individual received log messages that caused the event count for this ticket type and this node to be incremented. However, not all logs may be saved by InCenter. Some may be discarded when they duplicate previous log events or do not add extra information to them.

Alerting - Ticket Details Events

Figure 6.58. Alerting - Ticket Details Events

The Information link will provide a brief summary description of the ticket type, as shown in the example below.

Alerting - Ticket Details Information

Figure 6.59. Alerting - Ticket Details Information

Setting Up Alarms

If an email is to be sent when a specific event occurs, an alarm can be created by selecting Alarms from the Alerting menu and then pressing the Add button.

Alerting - Adding an Alarm

Figure 6.60. Alerting - Adding an Alarm

The new alarm dialog is then presented. An example of this is shown below.

Alerting - Adding an Alarm Dialog

Figure 6.61. Alerting - Adding an Alarm Dialog

In the above dialog, the administrator can select the ticket types for which alarms are to be generated and the email addresses of the recipients. An email is generated whenever any of the selected tickets occurs and sent to all the recipients.

SMTP server setup will be required in order for InCenter to send emails. Doing this is described in Section 6.9, SMTP Server Setup.

Note that an alarm is only sent the first time a ticket is generated for a given ticket type and node. In other words, only once per ticket type per node. If that ticket is then acknowledged by the administrator, it becomes possible for the same alarm to be sent again if the same ticket types occurs again.

Managing Alerting Using the CLI

Alerting can be managed using the CLI. First, change the CLI context to be Alerting and use the set command to disable the ticket types that are not of interest. For example:

admin@InCenter:/> cc Alerting 
admin@InCenter:/Settings> set TicketType virus-detected Enabled=No

The command alerting can be used to display and acknowledge tickets. For example, the following command will display all unacknowledged tickets with a high severity by using the -list option:

admin@InCenter:/> alerting -list -severity=high

The following command will list all unacknowledged tickets that have a high severity for the node called my-node1:

admin@InCenter:/> alerting -list -severity=high -node=my-node1

To show the details for a ticket, the ticket number must be specified using the -show option:

admin@InCenter:/> alerting -show=5

The -acknowledge option is used to acknowledge a specific ticket number:

admin@InCenter:/> alerting -acknowledge=106