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

Misc check_tsd fixes & improvements #776

Closed
wants to merge 4 commits into from

Conversation

stromnet
Copy link
Contributor

First of all, this unbreaks #760, making the tool usable again.

It also adds a new feature, running with -N for testing against historic data, rather than just the latest data. This is very useful when tweaking parameters such as downsampling, aggregation etc, against historic data. In my case I've used it to find out which parameters would be good to trigger alarm on a temperature sensor which has a normal level, but regularly have some short peaks which I wanted to ignore.
While tweaking, I found out that one of the new downsample algorithms worked best. So I've added all the ones listed on http://opentsdb.net/docs/build/html/user_guide/query/aggregators.html#available-aggregators, both for use as downsampler and aggregator. Also made the verbose output explicitly show what it ignored.

Also break early, relevant when running with -N <utc> mode
@johann8384 johann8384 added the bug label Apr 18, 2016
@johann8384 johann8384 added this to the v2.3.0 milestone Apr 18, 2016
@johann8384 johann8384 self-assigned this Apr 18, 2016
@johann8384
Copy link
Member

Two questions for @stromnet:

  1. Have you submitted the CLA previously? http://opentsdb.net/docs/build/html/development/index.html
  2. Have you submitted the corresponding documentation update? https://github.com/opentsdb/opentsdb.net

@stromnet
Copy link
Contributor Author

stromnet commented Apr 18, 2016

@johann8384:

  1. CLA now signed!
  2. I have not updated the docs. That would be https://github.com/OpenTSDB/opentsdb.net/blob/gh-pages/docs/source/user_guide/utilities/nagios.rst, right?

@johann8384
Copy link
Member

yeah, that looks right. Those docs probably need and overall refresh, update it with your new functionality and I'll save the refresh for another day.

@stromnet
Copy link
Contributor Author

PR for doc above

@johann8384
Copy link
Member

Merging in #779

@johann8384 johann8384 closed this Apr 18, 2016
johann8384 added a commit that referenced this pull request May 24, 2016
check_tsd: unbreak #760, Rebase of #776
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.

None yet

2 participants