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
memory check is done in % instead of KB #12
Conversation
This breaks backwards compatibility. Would you be able to add two new options that make the check use % instead instead of replacing the kB ones. Thanks! |
@analytically sure !! ...my applogies didn't think of compatibility. 😲 |
No, best to keep it in the same file, but using options. |
Actually, yes, put it in a separate check file. |
There is a small issue to adress regarding %, I will try push the changes asap. P.S: @analytically how do you guys test the plugins, I am doing it with manual process with some hit-and-trial method. Any words of wisdom you want to share ? |
It would be great if you could add some specs. Beyond that, do a smoke test against a real instance. |
Any updates on this? |
@eheydrick kinda occupied, I will try my best push changes this weekend |
Old file is reverted back.
@eheydrick /cc @analytically Here is snapshot results in my notification channel. that check threshold 2% is too clumsy... but i am getting lazy these days.. |
@eheydrick, @zerOnepal Is this pull request still under consideration to be merged? |
@envintus i have pushed the changes.. |
# | ||
# Released under the same terms as Sensu (the MIT license); see LICENSE | ||
# for details. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you add the standard header per http://sensu-plugins.io/docs/developer_guidelines.html#coding-style
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure... my bad
@zerOnepal can you add the new plugin to the CHANGELOG and README and we'll get this merged. |
changes: 1. added standard header 2. edit: CHANGELOG and README.md
@eheydrick done |
memory check is done in % instead of KB
Thanks @zerOnepal! |
I have some humble changes here, to address my own issue