Fixed link and Go version #1609

merged 1 commit into from Feb 23, 2016


None yet

2 participants


I'm trying to use bosun with latest ElasticSearch 2.0.
I've changed Go version to 1.6 because I can't compile latest master :(
Looks like elastic.v3 uses Go 1.6.

cmd/bosun/expr/elastic.go:13:2: cannot find package "" in any of:
    /usr/local/go/src/ (from $GOROOT)
    /go/src/ (from $GOPATH)
2016/02/20 22:20:40 exit status 1
exit status 1

Now looks like working

➜  docker git:(docker-0.5.0-alpha) docker run -d -p 4242:4242 -p 8070:8070 stackexchange/bosun

Also I see strange behavior with frontend. I understand that it's not so stable.

For smoke testing I'm using examples from

tsdbHost = localhost:4242
stateFile = /data/bosun.state

template test {
    subject = {{.Last.Status}}: {{.Alert.Name}} on {{}}
    body = `<p>Alert: {{.Alert.Name}} triggered on {{}}
        {{range .Computations}}
            <tr><td><a href="{{$.Expr .Text}}">{{.Text}}</a></td><td>{{.Value}}</td></tr>
    {{ .Graph .Alert.Vars.metric }}
    <p><strong>Relevant Tags</strong>
        {{range $k, $v := .Group}}

alert {
    template = test
    $metric = q("sum:rate{counter,,1}:os.cpu{host=538abf33e180}", "1h", "")
    $avgcpu = avg($metric)
    crit = $avgcpu > 80
    warn = $avgcpu > 60

Than I see error invalid command param or

Request URL:
Request Method:POST
Status Code:500 Internal Server Error
Remote Address:

Response from api invalid command param
any ideas?


yeah, it should work in go1.5, but better to upgrade anyway. We changed how our dependencies work, so in go15 you need to set GO15VENDOREXPERIMENT=1. I will introduce a more explanatory build failure to require go16 soon.

@captncraig captncraig merged commit 933ca6a into bosun-monitor:master Feb 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment