]> granicus.if.org Git - icinga2/commit
Update PerfdataValue::Parse to ignore invalid warn, crit, min, and max values
authorJason Young <jyoung15@gmail.com>
Sun, 1 Mar 2015 16:04:48 +0000 (11:04 -0500)
committerMichael Friedrich <michael.friedrich@netways.de>
Mon, 2 Mar 2015 12:52:41 +0000 (13:52 +0100)
commitfaf6ce1a5f2eb5468e6ebb5db4f7fd08419d2c35
tree66754b7c5669466f6bc5c043f2d8de3275328c96
parent5df3010826d02e426f9ee70f0411b50fef975df0
Update PerfdataValue::Parse to ignore invalid warn, crit, min, and max values

... instead of generating exception so that metric values can
still be passed to the graphing backend.
Also update icinga-perfdata tests to reflect these changes.

refs #5043

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
lib/icinga/perfdatavalue.cpp
lib/icinga/perfdatavalue.hpp
test/CMakeLists.txt
test/icinga-perfdata.cpp