Fix for check_load plugin
Laurence P Dawson
larry.dawson at vanderbilt.edu
Wed Mar 23 23:12:51 CET 2005
There is a minor problem in the check_load.c plugin. It checks for
is_intnonneg for the values of parameters that are supplsed to be
floats.
There is a definite advantage for us in allowing float values, as using
a value like 1.9 instead of 2 reduces notifications due to 'flapping'.
/************************************************/
189c189
< if (is_intnonneg (optarg)) {
---
> if (is_numeric (optarg)) {
205c205
< if (is_intnonneg (optarg)) {
---
> if (is_numeric (optarg)) {
/************************************************/
-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
More information about the Developers
mailing list