check_nt: Could not parse arguments
Palle L Jensen
palleje at gmail.com
Thu Jan 31 16:46:44 CET 2008
That worked perfect, thanks much for your help!
Thanks,
Palle
> > -----Original Message-----
> > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> > bounces at lists.sourceforge.net] On Behalf Of Hollick Matthew - ICT
> Systems
> > Sent: Wednesday, January 30, 2008 11:07 PM
> > To: nagios-users at lists.sourceforge.net
> > Subject: Re: [Nagios-users] check_nt: Could not parse arguments
> >
> > Hi there
> >
> > >Date: Wed, 30 Jan 2008 15:25:29 -0500
> > >From: "Palle L Jensen" <palleje at gmail.com>
> > >Subject: Re: [Nagios-users] check_nt: Could not parse arguments
> > >To: <nagios-users at lists.sourceforge.net>
> > >Message-ID: <004201c8637e$42815360$98ad38a6 at na.dsmain.com>
> > >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
> > 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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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