Skip to main content

Cookbook and Recipe Examples

The following examples provide further explanation of the functionality within your Cookbook and Recipe configurations. See Configure a Cookbook and Configure a Cookbook Recipe for further details.Configure a CookbookConfigure a Cookbook Recipe

Cook For auto-extension example

The Cook For auto-extension functionality uses the Cook For, Cook For Extension and Max Cook For properties in the Cookbook and Recipe configurations. These configuration properties help to ensure that Cookbook continues to cluster alerts together that are related to the same failure.

Consider the following example:

  • Cook For is set to 1 hour.

  • Cook For Extension is set to 30 minutes.

  • Max Cook For is set to 2 hours.

Moogsoft Enterprise receives an alert which meets the Cookbook and Recipe criteria so Cookbook starts a cluster. If Moogsoft Enterprise receives a new related alert 40 minutes after Cookbook started clustering alerts, Cookbook extends the total clustering time by 30 minutes from that time to 1 hour and 10 minutes, then:

  • If Moogsoft Enterprise receives another alert 1 hour and 5 minutes after Cookbook started clustering, because Moogsoft Enterprise received it within the extended time of 1 hour and 10 minutes, Cookbook further extends the total clustering time to 1 hour and 35 minutes. Cookbook continually extends the total clustering time as it receives more related alerts, provided that they are received within the extended time. Cookbook can extend the total clustering time until the Max Cook For time is reached. If Cookbook receives further related alerts after the Max Cook For time of 2 hours has elapsed, the Recipe resets and Cookbook adds them to a new cluster.

  • If Moogsoft Enterprise does not receive any further alerts, Cookbook stops clustering alerts after the extended time of 1 hour and 10 minutes elapses. If Moogsoft Enterprise then receives another alert after this time has elapsed, Cookbook starts a new cluster.