Creating rules

A rule in CloudRadar contains a set of conditions (when to create notifications) and an action (what notification to be created).
  • Rule condition Using the conditions you specify when the results of particular host checks should justify sending a notification.

  • Rule action By setting the action you specify what should happen when the rule conditions are met - for example, raising an alert.

You can define as many rules for your hosts as you need. Every time the results from a host check are available, CloudRadar starts a an internal process for each rule that applies for this check. The process evaluates the data from the check based on the rule conditions, takes the specified action, and ends.

Prerequisites

  • You have logged in to CloudRadar.

  • There are checks defined for your hosts. For details, see Managing checks.

Adding a rule

  1. Choose Rules on the left, then choose the Create button in the top right part of the screen.

  2. For Host, set the hosts for which the rule should be applied.

    Choose Is to select one of your hosts, or Is any to apply the rule to all hosts. You can also specify hosts by name, FQDN, or tag by entering a corresponding string (the * wildcard is allowed). Note: rules would ignore hosts for which the Mute alerting option is turned on.

  3. For Check type, set whether the rule should be applied for service checks, Web site checks, or any checks.

    • If you choose Service or Web site check would, you should also select one of the available check types.

    • If you choose Agent, you should also select one of the checks performed by the agent.

  4. For Check condition, set whether the rule should be triggered when the specified checks fail once, or when it fails several times in a row.

  5. For Action field, select the action CloudRadar should take when all of the conditions you set in the rule are met.

    You can choose between raising an alert, raising a warning, or ignoring the failed checks.

  6. Set the processing mode of the rule:

    • Select Active when the rule should be processed by CloudRadar. You can also activate a rule directly in the list of rules.

    • Select Exit if you need to stop further rule processing when all conditions are met.

  7. Choose Add rule.

Managing rules

The available rules are listed on the Rules page. You can modify a rule using the buttons in the right part of the page:

  • Update: open the rule to modify its conditions or action.

  • Activate: set the rule to be active (processed by CloudRadar) or inactive.

  • Sort: move the selected rule up or down in the list of rules.

  • Delete: remove the selected rule.

More information

Using the rules CloudRadar detects when there are issues with your hosts, and generates alerts or warnings. You also need to set who should receive a notification in such situation, so that the corresponding person can investigate the affected hosts and solve issues as needed. For details on where notifications should be sent, see Adding recipients.