author | Florian Forster <octo@huhu.verplant.org> | |
Thu, 13 Jan 2011 07:57:24 +0000 (08:57 +0100) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Thu, 13 Jan 2011 07:57:24 +0000 (08:57 +0100) | ||
commit | 77732cd2a61b8230a033bed8f82fe10d68e64da5 | |
tree | 6f1371c07fb982fcc781dce96282295c7da65ee9 | tree | snapshot |
parent | 589c5f25f9cb723575fa16dd22e73dc9e7af0cfd | commit | diff |
src/utils_threshold.c: Fix creation of percentage notifications.
Joey Hess has reported a problem when creating notifications from
percentage thresholds. Because the (percentage) minimum value is
compared to the (raw) DS value, the following message is possible:
Message: Host XXX, plugin df type df (instance root): Data source
"free" is currently 1773072384.000000. That is above the warning
threshold of nan%.
A new section will handle this case correctly. In the inverted case, the
problem should not exist.
Joey Hess has reported a problem when creating notifications from
percentage thresholds. Because the (percentage) minimum value is
compared to the (raw) DS value, the following message is possible:
Message: Host XXX, plugin df type df (instance root): Data source
"free" is currently 1773072384.000000. That is above the warning
threshold of nan%.
A new section will handle this case correctly. In the inverted case, the
problem should not exist.
src/utils_threshold.c | diff | blob | history |