check_load issue

Aaron Segura Aaron.Segura at cabelas.com
Thu Oct 16 23:03:09 CEST 2008


Please, always reply on-list.

If the check is running via nagios, the command is defined somewhere.
Find it and send it.  We can't help without that information.

Also, you would benefit from reading the documentation pertaining to
service/command definitions.

-----Original Message-----
From: jeremiah [mailto:jeremiah.jester at panasonic.aero] 
Sent: Thursday, October 16, 2008 2:57 PM
To: Aaron Segura
Subject: RE: [Nagios-users] check_load issue

Aaron,

Thanks for your response. Here's the message I sent to the list.


                              Date: 
Thu, 16 Oct 2008 13:49:17 -0700


I checked my commands.cfg file and noticed the command wasn't defined so
I went  and put this in there...

define command {
        command_name    check_load
        command_line    libexec/check_load -w $ARG1$ $ARG2$ $ARG3 -c
$ARG4$ $ARG5$ $ARG6$
}

However, when i restarted nagios it told me the command was already
defined. So, i then commented it out and restarted..it started but still
the same error/problem: ""Warning threshold must be float or float
triplet! "

Thoughts?

JJ



On Thu, 2008-10-16 at 13:40 -0700, Aaron Segura wrote:
> Going to at least need to see the command definition.
> 
> -----Original Message-----
> From: jeremiah [mailto:jeremiah.jester at panasonic.aero]
> Sent: Thursday, October 16, 2008 2:33 PM
> To: Nagios
> Subject: [Nagios-users] check_load issue
> 
> 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;
> 
> 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?
> 
> Thanks,
> JJ
> 
> 
> 
> 
> Disclaimer: The information contained in this transmission, including
> any
> attachments, may contain confidential information of Panasonic
> Avionics
> Corporation.  This transmission is intended only for the use of the
> addressee(s) listed above.  Unauthorized review, dissemination or
> other
> use
> of the information contained in this transmission is strictly
> prohibited.
> If you have received this transmission in error or have reason to
> believe
> you are not authorized to receive it, please notify the sender by
> return
> 
> email and promptly delete the transmission.
> 
> 
> 
>
------------------------------------------------------------------------
> -
> 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
> 
> 
> 

-------------------------------------------------------------------------
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