> -----Original Message-----
> From: Justin Craig [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 02, 2006 8:38 AM
> To: Marc Powell
> Cc: Nagios Users Mailinglist
> Subject: Re: [Nagios-users] Warning threshold must be float or float
> triplet!
> 
> In my checkcommands.cfg for this host in question, I have:
> 


> # 'check_local_load' command definition
> define command{
>         command_name    check_local_load
>         command_line    $USER1$/check_load -w $ARG1$ -c $ARG2$
>         }
> 

Yes, that looks good. I'd --
        - verify that nagios was reloaded after creating this command
definition
        - verify that there aren't multiple nagios daemons running
(stop; kill; start)
        - verify that nagios is executing the command I think is. Modify
command_line to be the following then check the contents of /tmp/nagios
--
                command_line /bin/echo "$USER1$/check_load -w $ARG1$ -c
$ARG2$" >> /tmp/nagios

--
Marc

>       > -----Original Message-----
>       > From: [EMAIL PROTECTED]
[mailto:nagios-
> users-
>       > [EMAIL PROTECTED] On Behalf Of Justin Craig
>       > Sent: Tuesday, August 01, 2006 2:41 PM

[chop]

>       >         check_command
>       > check_local_load!5.0,4.0,3.0!10.0,6.0,4.0
>       >         }



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to