Tutorial by Examples

This data is collected by the http_unit and scollector. It warns when an alert is going to expire within a certain amount of days, and then goes critical if the cert has passed the expiration date. This follows the recommended default of warn and crit usage in Bosun (warn: something is going to fail...
In Bosun templates can reference other templates. For emails notifications, you might have a header template to show things you want in all alerts. Header Template template header { body = ` <style> td, th { padding-right: 10px; } </style> <p s...
Template Definition template linux.bonding { subject = {{.Last.Status}}: {{.Eval .Alert.Vars.by_host}} bad bond(s) on {{.Group.host}} body = `{{template "header" .}} <h2>Bond Status</h2> <table> <tr><th>Bond</th><th>Slave&...

Page 1 of 1