Skip to main content

Alert Manager

The Alert Manager uses the Empty Moolet to enable Moogsoft Enterprise administrators or implementers to incorporate additional alert processing not handled by the Alert Builder, Maintenance Window Manager or Alert Rules Engine. You can use the Alert Manager in standalone mode or as part of the alert processing workflow.

Configure the Alert Manager

You can edit the Alert Manager configuration file at $MOOGSOFT_HOME/config/moolets/alert_manager.conf

Alert Manager properties

The configurable Alert Manager properties are as follows. Do not edit the name and classname properties in the file.

run_on_startup

Determines whether Alert Manager runs when Moogsoft Enterprise starts. If set to true, the Alert Manager performs its background tasks from the moment the system starts, without you having to configure or start it manually.

Type

Boolean

Default

true

metric_path_moolet

Determines whether Alert Manager is factored into the event processing metric for Self Monitoring. See Moogfarmd Reference for more information.

Type

Boolean

Default

false

moobot

A single Moobot or comma-separated list of Moobots the Alert Manager will run. Specify a JavaScript file or files located in $MOOGSOFT_HOME/moobots.

Type

String

Default

AlertMgr.js

standalone_moolet

Determines whether the Alert Manager is run as a standalone process or whether it is a component within the alert processing workflow.

Type

Boolean

Default

true

event_handlers

Configure the Alert Manager to receive the specified event types. See Constants for more information on event types.

Type

String

Default

[ "AlertClose", "AlertUpdate", "Alert" ]

Example configuration

The default configuration file contains an example implementation of the Empty Moolet functionality in the form of the Alert Manager Moolet. For example:

{
   run_on_startup     : false,
   metric_path_moolet : false,
   standalone_moolet  : true,
   moobot             : "AlertMgr.js",
   event_handlers     : [ "AlertClose", "AlertUpdate", "Alert" ]
}

Alert Manager Moobot

Moogsoft Enterprise provides a Moobot for the Alert Manager Moolet named AlertMgr.js. You can use this Moobot to enable a specific action on different alert types. For example, to update a Situation's services when an alert that contains certain attributes is updated.

Empty Moolet

For further information on customizing Moogsoft Enterprise using the Empty Moolet, see Empty Moolet.