Skip to content

exception handling, database nil, body name key#21

Open
jcmartins wants to merge 2 commits intoseegno:masterfrom
jcmartins:master
Open

exception handling, database nil, body name key#21
jcmartins wants to merge 2 commits intoseegno:masterfrom
jcmartins:master

Conversation

@jcmartins
Copy link
Copy Markdown

Multiplied time by 1000 to match influxdb timescale
exception handling on http request
Check if database is nil -> using settings
Change Body "name" => key.gsub!('-','') to name => key

joao.martins added 2 commits July 8, 2015 11:29
exception handling on http request
check if database is nil -> using settings
change Body  "name" => key.gsub!('-','') to name => key
@BarthV
Copy link
Copy Markdown

BarthV commented Jul 30, 2015

🆙

but the others enhancements are great 👍

@alfredopalhares
Copy link
Copy Markdown

@jcmartins could you please resolve the conflicts with #20 ?

@BarthV
Copy link
Copy Markdown

BarthV commented Jul 30, 2015

@jcmartins :
https://github.com/jcmartins/sensu-influxdb-extension/blob/master/influxdb.rb#L42

If you need to use host "name" from raw data without modifying it with existing gsub('-',''), maybe you can simply enhance the if / elseif statement (L32) to make this gsub conditional upon a variable ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants