Moogsoft Docs

Alert Manager

The Alert Manager uses the Empty Moolet to enable Moogsoft AIOps 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 Alert Manager

Edit the configuration file at $MOOGSOFT_HOME/config/moolets/alert_manager.conf.

See Empty Moolet Reference for a full description of all properties. Some properties in the file are commented out by default.Empty Moolet Reference

You can use the following mechanisms to determine Alert Manager behavior:

  • If standalone_moolet = true: The Alert Manager picks up alerts, specified by the event_handlers property, on the Message Bus and processes them.

  • If you set process_output_of to Maintenance Window Manager or Alert Rules Engine: The Alert Manager uses the output of that component.

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:

{
   name              : "AlertMgr",
   classname         : "CEmptyMoolet",
   run_on_startup    : false,
   metric_path_moolet: false,
   moobot            : "AlertMgr.js",
   standalone_moolet : true,
   # Listens for alerts events (on the /alerts topics)
   event_handlers    : [
     "AlertClose",
     "AlertUpdate",
     "Alert"
   ]
}
Alert Manager Moobot

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

Empty Moolet

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