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

Utils.metrics added functionality #204

Merged
merged 3 commits into from
Dec 15, 2014
Merged

Utils.metrics added functionality #204

merged 3 commits into from
Dec 15, 2014

Conversation

palli
Copy link
Member

@palli palli commented Dec 12, 2014

(This is a remake of #200 but getting rid of those 2 extra commits that sneaked into it by accident)

2 patches changes in this pull request:

a) states.PerfdataMetric.split_value_and_uom() moved to be a module level function instead of a method of PerfdataMetric

b) new function get_base_value() designed for common arithmetic like convert gigabytes into bytes.

Pall Sigurdsson added 3 commits December 8, 2014 22:29
It is now a module level function so it can be used
universally outside of perfdatametrics.

Conflicts:
	pynag/Plugins/relational_thresholds.py
	pynag/Utils/metrics.py
palli added a commit that referenced this pull request Dec 15, 2014
Utils.metrics added functionality
@palli palli merged commit 8c59b19 into master Dec 15, 2014
@tomas-edwardsson tomas-edwardsson deleted the add-module-states-v3 branch December 28, 2014 11:01
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.

None yet

1 participant