Bosun

Silencing and Squelching Alerts

Squelching a host

If one does not want to receive any alert for a specific host or service - at least momentarily - one can squelch it.

alert thisis.down {
  macro = host.mymacro
  template = mytemplate
  $notes = This alert will...
  $metric = "avg:os.service.running{host=*,name=...
  warn = min( a($metric, ...

  squelch = host=sqldev01,flavor=amq
  squelch = host=test01
}

This alert won’t appear in the dashboard for service amq on host sqldev01, and won’t appear at all for any service running on host test01.


This modified text is an extract of the original Stack Overflow Documentation created by the contributors and released under CC BY-SA 3.0 This website is not affiliated with Stack Overflow