Bosun is an open-source, MIT licensed, monitoring and alerting system by Stack Exchange. It has an expressive domain specific language for evaluating alerts and creating detailed notifications. It also lets you test your alerts against history for a faster development experience.
Questions tagged [bosun]
76 questions
2
votes
1 answer
Repeating email notifications in Bosun
in notification of Bosun configuration, I set the timeout as 5m i.e. 5 minutes.
I am receiving emails for the interval of either 5 minutes or 10 minutes.
I am not able to debug as why is this happening.
Please help.
notification default {
…

Rohit More
- 23
- 4
2
votes
2 answers
Percentage with used memory in Bosun
I've got a problem with doing a specific graph in Bosun. This graph should contain hosts with the highest memory usage in percentage, but I can't find any usable metric to do that. Of course I have os.mem.used just like os.mem.percent_free, but for…

autobus
- 45
- 4
2
votes
1 answer
Limiting hosts in Bosun graph
I need to create a TOP10 table of memory usage on hosts including a graph. I can do that in expression, by using limit($query, 10), so it's good for alerts and tables, but I've got a problem with limiting hosts on this graph. Limit returns a number…

autobus
- 45
- 4
2
votes
0 answers
Mixing graphite outputs in a alert from bosun
I am working on getting bosun up and running and i ran into the following issue.
I have the following alert
alert total_logins.graphite {
$blue_login = "sumSeries(SESAM.AUDIT.P.AUTH1_SESPL_AUDIT_ING_SES_PL.blue_*.LOGIN.graph)"
$blue_login_hist =…

user2622022
- 65
- 5
1
vote
0 answers
What IS the opentsdb syntax?
Is there a document that actually shows what the OpenTSDB query syntax is meant to be?
I've read http://opentsdb.net/docs/build/html/user_guide/query/index.html it talks about the concepts but doesn't actually explain the format.
I'm using bosun,…

Eric
- 5,686
- 2
- 23
- 36
1
vote
0 answers
How to format epoch() to "20060102" or "yyyyMMdd" in Bosun
Now I want to format the result of epoch() to "yyyyMMdd" in bosun's alert section, I found out tod() cannot achieve it. Can anybody else could help me to solve it, thanks~

邹佳敏
- 11
- 1
1
vote
1 answer
BOSUN : How to get Tag_values for a specific Tag_key from BOSUN?
I have a BOSUN server running which is configured to operate on OPENTSDB. I am sending data to OPENTSDB using SCOLLECTOR every minute. What I am looking for is a way to get all possible Tag_Values for a given Tag_Key and Metric_Name which is present…

Mohd Waseem
- 1,244
- 2
- 15
- 36
1
vote
1 answer
Metrics for Top-n Load, memory, CPU usage by host in Grafana
We are trying to display the following in Grafana using the Bosun/OpenTSDB data source:
a. Hosts in descending order in terms of Top-n Load
b. Top 10 memory consuming processes
c. Top CPU usage consuming processes
However, we could not find suitable…

user3436389
- 71
- 2
- 14
1
vote
0 answers
Oracle Tablespace Predictive alert and template not giving proper result
I am quite new to Bosun and have been trying to configure predictive alerts for tablespace usage. I will paste my template and alert code
template predict_diskspace {
body = `{{template "header" .}}
1
vote
1 answer
How to write bosun alerts which handle low traffic volumes
If you are writing a bosun alert which is based of a percentage error rate for requests handled by your system, how do you write it in such a way that it handles periods of low traffic.
For example:
If I have an alert which looks back over the last…

Craig Warren
- 1,655
- 4
- 23
- 38
1
vote
2 answers
How do I use win.disk.duration in Bosun or how do I downsample a counter type metric?
I'm using Bosun to gather information about the average response time of a hard disk (win.disk.duration), it produces a graph such as:
I understand that this is showing the rate of change of the WMI reported value, AvgDiskSecPerRead.
What I want to…

George Duckett
- 31,770
- 9
- 95
- 162
1
vote
1 answer
'Or' operator for bosun tags in an expression
I am writing a Bosun expression in order to get the number of 2xx responses in a service like:
ungroup(avg(q("sum:metric.name.hrsp_2xx{region=eu-west-1}", "1m", "")))
The above expression gives me the number of 2xx requests of the selected region…

Joan Vilà
- 265
- 5
- 9
1
vote
1 answer
Bosun: Save Information using post url and the get the same information and use it in template
We have a notification which will post data to an application using the application end point.
notification ABC{
post = savedetailsurl
body = {{.|json}}
useBody = true
}
So the end point will save all the details in mysql DB.
Now in…

Devil Cammy
- 11
- 1
1
vote
1 answer
Get multiple ElasticSearch indices in Bosun
We have several different indices in ElasticSearch:
myindex1.messages.ttl60-${date:format=yyyy.MM.dd}
myindex2.messages.ttl60-${date:format=yyyy.MM.dd}
myindex3.messages.ttl60-${date:format=yyyy.MM.dd}
All of them shares the same scheme and is…

Rokas Paičius
- 21
- 1
1
vote
1 answer
bosun with influxdb valid result
Is there a simple test to make sure I have proper influxdb communication?
My configuration looks like this
influxHost = influxhost:8086
smtpHost = mail:25
emailFrom = user@domain.com
template cpu {
body = `Alert definition:
Name:…

NinjaGaiden
- 3,046
- 6
- 28
- 49