Configuring system events

Prev Next

By default, configured users receive detailed notifications about all enabled system events. Informational events are logged when there is a change in the system. Failure events are logged when there is a failure in the system.

You can use the CLI to change which events are enabled. For example, you could disable informational events, such as system log file rotations, from triggering notifications.

For each recipient, you can specify whether failure notifications, informational notifications, or both are sent. For example, a user might want to know that a disk failed, but not that an excessive temperature condition returned to normal.

You can also specify whether a user receives summarized or detailed notifications.

Prerequisites

  • Operator or Admin access

Configuring system event notifications using the Web UI

Use the Email Settings page to configure the severity of system email event notifications to be sent to each configured recipient.

To enable or disable specific system notifications, you must use the CLI. See Configuring system event notifications using the CLI.

All_Notifications_scap.PNG.png

EX_Settings_EmailRecipients_scap.PNG

To configure severity of system event notifications to be sent to recipients:

  1. Click the Settings tab.

  2. Click Email in the sidebar.

  3. Locate the Email Recipients section.

  4. Select or clear the Info and Fail checkboxes to specify the severity of events for which the user receives notifications.

  5. Select or clear the Detail checkbox to specify whether the user receives detailed or summarized notifications.

  6. Select or clear the Scan checkbox to specify whether or not the user receives an email once a configured scan has completed.

  7. Click Update to save your changes.

Note

See Configuring MTA event notification thresholds for information about MTA event notifications.

Configuring system event notifications using the CLI

Use the commands in this topic to customize system event notifications for each user and to configure which events trigger notifications.

Important

You cannot view most Central Management System high availability (HA) events as described in this topic, and cannot configure which of those events trigger notifications. For a list of the HA events and their severity, see the Central Management System High Availability Guide.

Viewing system events

You can view all system events, or the system events that are currently enabled to trigger notifications, ordered by their severity.

To view all system events:

  1. Go to CLI configuration mode:

    hostname > enable
    hostname # configure terminal
  2. View the events:

    hostname (config) # email notify event ?

To view enabled system events and their severity:

  • View the events by severity:

    hostname > show email events

Configuring system event notifications for each user

To configure system event notifications for each user:

  1. Go to CLI configuration mode:

    hostname > enable
    hostname # configure terminal
  2. View the current configuration:

    hostname (config) # show email
  3. Specify the severity of events for which each user should receive notifications.

    • To receive "info" events:

      hostname (config) # email notify recipient <emailAddress> class info
    • To stop receiving "info" events:

      hostname (config) # no email notify recipient <emailAddress> class info
    • To receive "failure" events:

      hostname (config) # email notify recipient <emailAddress> class failure
    • To stop receiving "failure" events:

      hostname (config) # no email notify recipient <emailAddress> class failure
  4. Specify the notification format:

    • To receive detailed notifications:

      hostname (config) # email notify recipient <emailAddress> detail
    • To receive summarized notifications:

      hostname (config) # no email notify recipient <emailAddress> detail

Configuring which events trigger notifications

To configure which events trigger notifications:

  1. Go to CLI configuration mode:

    hostname > enable
    hostname # configure terminal
  2. View the current configuration as described in Viewing system events .

  3. To enable an event:

    hostname (config) # email notify event <event>
  4. To disable an event:

    hostname (config) # no email notify event <event>
  5. Verify your changes:

    hostname (config) # show email events
  6. Save your changes:

    hostname (config) # write memory

Examples

This example stops admin@acme.com from receiving "info" notifications and changes the message format to a summary.

hostname (config) # show email
...
Email notification recipients:
  admin@acme.com (all events, in detail)
  operator@acme.com (failure events only, in detail)
  user3@acme.com (all events, in detail)
...
hostname (config) # no email notify recipient admin@acme.com info
hostname (config) # no email notify recipient admin@acme.com detail
hostname (config) # show email
...
Email notification recipients:
  admin@acme.com (failure events only, summarized)
  operator@acme.com (failure events only, in detail)    
  user3@acme.com (all events, in detail) 

This example disables log file rotations from triggering event notifications:

hostname (config) # no email notify event syslog-rotation

This example disables DOP (depth of processing) overloads from triggering event notifications:

hostname (config) # no email notify event avc-overload

The avc-overload event is an "info" level event that is generated for DOP overloads. DOP overloads occur when there is CPU contention for an MVX engine. If an overload occurs often, it can affect email and file analysis and potentially result in false negatives. If an appliance consistently has less than 30% DOP, it is overloaded. This may not be an issue if an overload happens for only a few minutes a week, but if there are overloads for several hours of every work day, the MVX engine should be allotted more CPU time.