diff options
author | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2010-03-31 02:31:20 (GMT) |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2010-03-31 02:31:20 (GMT) |
commit | 120985853e71d6f20d598d1968f0df9db5163957 (patch) | |
tree | 32a7d29fd68cea965b1df25ae261d6a204ff169a /contrib/check_nagios_db.pl | |
parent | 08d8d119411fc875de56fac645b17152425eee46 (diff) | |
download | monitoring-plugins-120985853e71d6f20d598d1968f0df9db5163957.tar.gz |
check_snmp: Fix regression introduced in #1867716
Bug #1867716 fixed what it meant to fix: broken perfdata strings.
Unfortunately some users relied on half-broken perfdata string where at
least the first token was OK. This patch do a two-way conversion
(string to double then back to string) instead and use the conversion
result for the performance data.
A possible caveat is that the string may change where it normally
shouldn't but the result should be somewhat similar.
Diffstat (limited to 'contrib/check_nagios_db.pl')
0 files changed, 0 insertions, 0 deletions