src/utils_threshold.c: Change the percentage code so it works with the DataSource...
authorFlorian Forster <octo@huhu.verplant.org>
Mon, 6 Jul 2009 16:57:54 +0000 (18:57 +0200)
committerFlorian Forster <octo@huhu.verplant.org>
Mon, 6 Jul 2009 16:57:54 +0000 (18:57 +0200)
commitbacc5b925ea8c63eb57dc4b55f4b4abbe1b1d07c
treecb17e28088271b3de2fc03643bfbeb15244a6bc5
parent1f6c7a61f6984dc1734838508ed385e92cafc000
src/utils_threshold.c: Change the percentage code so it works with the DataSource option.

The percentage code used to *always* check the first data source. With this
patch, the code honors the `DataSource' option again, checking only the
configured data sources if applicable.
src/utils_threshold.c