Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/bosun: add complete influx cred config, docs: update docs to reflect new config #1345

Merged
merged 1 commit into from
Sep 23, 2015
Merged

Conversation

nathanielc
Copy link
Contributor

Adds configuration so that you can connect to InfluxDB with TLS and/or a username and password.

@gbrayut
Copy link
Contributor

gbrayut commented Sep 23, 2015

LGTM.

Compiled an ran it locally with no changes to bosun/influxdb settings and it still works as expected. Changed /etc/opt/influxdb/influxdb.conf to use auth-enabled = true under the http section, used /opt/influxdb/influx to create a user for bosun, and added the following settings to the bosun config file

[root@gbcentos7 influxdb]# head /home/gbray/go/src/bosun.org/cmd/bosun/gbcentos7.conf
tsdbHost = gbcentos7:4242
influxHost = gbcentos7:8086
influxUsername = bosun
influxPassword = bosun
graphiteHost = gbcentos7:81
smtpHost = gbcentos7:25
emailFrom = bosun@localhost
httpListen = :80
timeAndDate = 202,75,179,136
stateFile = /home/gbray/go/src/bosun.org/cmd/bosun.state

After restarting bosun and influxdb the influx("opentsdb",'''SELECT value from "os.mem.percent_free" group by host''',"5m","") expression still works as expected.

gbrayut added a commit that referenced this pull request Sep 23, 2015
cmd/bosun: add complete influx cred config, docs: update docs to reflect new config
@gbrayut gbrayut merged commit 6f67e1e into bosun-monitor:master Sep 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants