check_load issue

Marc Powell marc at ena.com
Thu Oct 16 22:42:26 CEST 2008


On Oct 16, 2008, at 3:32 PM, jeremiah wrote:

> My check_load service keeps on giving me the following error.
>
> "Warning threshold must be float or float triplet! "
>
> However, when i run the command from the system it works just fine.
>
> ./check_load -w 10.0,8.0,5.0 -c 15.0,10.0,8.0
> OK - load average: 0.01, 0.02, 0.00|load1=0.010;10.000;15.000;0;
> load5=0.020;8.000;10.000;0; load15=0.000;5.000;8.000;0;

Then this isn't what nagios has been told to run.

> My services.cfg file looks as such..same values.
>
> check_command       check_load!10.0,8.0,5.0!15.0,10.0,8.0
>
> Any thoughts?

Your check_load command definition doesn't properly use the $ARG1$ and  
$ARG2$ macros, most likely. See Example 2 at http://nagios.sourceforge.net/docs/3_0/macros.html 
.

--
Marc


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list