Skip to content

Alerting

Dieter Plaetinck edited this page Mar 12, 2014 · 6 revisions

Graph Explorer provides basic alerting based on your graphite metrics or GEQL expressions. It supports flap supression but no fancyer things like escalation schemes. screenshot alert rule definition

Set up

look in the config.py for database location, alert command, backoff time interval, etc. run process_alerting.py in a crontab

Expression types

  • GEQL queries: from the main GEQL input, you can click the button to create an alerting rule based on your GEQL. Normally GEQL builds one or more graphs with each one or more targets. When using your query as the rule's expression, all the resulting targets will be checked individually. This provides great power and flexibility because not only can you use the GEQL features (such as averaging, automatic derivation, unit conversion, ...), you can also control the granularity of the checks (i.e. check 1 aggregated result, check individual smaller aggregations, or every target by itself?)

  • when looking at graphs, you can also click on a graph line on a plot, to get the "add new rule" menu. In this case the expression will be a plain graphite string. We currently only support one graphite target per rule.

  • you can also go through the main menu to enter a graphite target or GEQL query directly. (or go through the main menu)

Alert email

set destination to one or more email addresses separated by comma. alert email