plugin_thold icon indicating copy to clipboard operation
plugin_thold copied to clipboard

Allow and correctly handle unit prefix in the context of values

Open click0 opened this issue 7 years ago • 0 comments

Allow and correctly handle unit prefix in the context of values. For example, unit prefixes - k (kilo), M (mega), G (giga), T (tera).

capture_05062017_193254

And after clicking the Save button, I get:

Validation error for variable thold_warning_hi, with value of "65M". See backtrace below for more details. (/plugins/thold/thold.php: 64 save_thold)(/plugins/thold/thold_functions.php: 2980 get_filter_request_var)(/lib/html_utility.php: 423 die_html_input_error)(/lib/html_validate.php: 60 cacti_debug_backtrace)

click0 avatar May 06 '17 16:05 click0