summaryrefslogtreecommitdiffstats
path: root/contrib/check_uptime.c
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@aei.ca>2010-03-31 02:31:20 (GMT)
committerThomas Guyot-Sionnest <dermoth@aei.ca>2010-03-31 02:31:20 (GMT)
commit120985853e71d6f20d598d1968f0df9db5163957 (patch)
tree32a7d29fd68cea965b1df25ae261d6a204ff169a /contrib/check_uptime.c
parent08d8d119411fc875de56fac645b17152425eee46 (diff)
downloadmonitoring-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_uptime.c')
0 files changed, 0 insertions, 0 deletions