Hi there

>Date: Wed, 30 Jan 2008 15:25:29 -0500
>From: "Palle L Jensen" <[EMAIL PROTECTED]>
>Subject: Re: [Nagios-users] check_nt: Could not parse arguments
>To: <[email protected]>
>Message-ID: <[EMAIL PROTECTED]>
>Content-Type: text/plain; charset="us-ascii"
>
>Thanks for the help,
>
>> the -l is not needed since it is in the check command
>
>I also tried with and without the -l
>
> 
>
>Unfortunately did this not work either, any other suggestions?
>
> 
>
> 
>
>Thanks,
>
>Palle

Maybe you need something like the following:

Service Definition:

define service{
       use                  generic-service
       host_name            host001
       service_description  CPU load
       servicegroups        load
       check_command        check_nt_cpu!5,80,90
       }

Command Definition:

define command{
        command_name    check_nt_cpu 
          command_line    $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s
%USER7% -v CPULOAD -l %ARG1%
          }


Mat.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
[email protected]
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