check_citrix issue
Johannes Dagemark
johannes.dagemark at op5.se
Thu Apr 3 11:12:12 CEST 2003
Thanks for all replies
I have tried using "$ARG1" (with quotes) in the checkcommand file but all I get
is "(no output!)" Im starting to think that I have missed something else...
Regards
Johannes Dagemark
----- Original Message -----
From: "Voon, Ton" <Ton.Voon at egg.com>
To: "'Johannes Dagemark'" <johannes.dagemark at op5.se>;
<nagios-users at lists.sourceforge.net>
Sent: Thursday, April 03, 2003 10:50 AM
Subject: RE: [Nagios-users] check_citrix issue
> Try:
> checkcommands.cfg file
> # 'check_citrix' command definition
> define command{
> command_name check_citrix
> command_line $USER1$/check_citrix -C $HOSTADDRESS$ -P
> "$ARG1$"
> }
>
> This should preserve spaces around $ARG1$
>
> Ton
>
> > -----Original Message-----
> > From: Johannes Dagemark [SMTP:johannes.dagemark at op5.se]
> > Sent: Thursday, April 03, 2003 8:12 AM
> > To: nagios-users at lists.sourceforge.net
> > Subject: [Nagios-users] check_citrix issue
> >
> > Probably a simple solution to this one...
> >
> > I have been trying out the check_citrix plugin to monitor some published
> > applications. The problem is that I dont know how to handle published
> > applications that has spaces in their names, for example "Acrobat Reader".
> >
> > When I run check_citrix from the commandline everyting is ok
> >
> > ./check_citrix -C x.x.x.x -P "Acrobat Reader"
> >
> > Ok. Citrix master browser "x.x.x.x" reported that the published
> > application
> > "Acrobat Reader" is available.
> >
> > But when I try to implement that in the config files I get problems. Here
> > is
> > what I have got.
> >
> > checkcommands.cfg file
> > # 'check_citrix' command definition
> > define command{
> > command_name check_citrix
> > command_line $USER1$/check_citrix -C $HOSTADDRESS$ -P $ARG1$
> > }
> >
> > services.cfg file
> > # Pulished citrix application 'Acrobat Reader'
> > define service{
> > use generic-service
> > host_name ts1
> > service_description Citrix - Acrobat Reader
> > contact_groups application
> > check_command check_citrix!"Acrobat Reader"
> > }
> >
> > I guess that the problem has to do with the " and the spaces. I have tryed
> >
> > check_command check_citrix!Acrobat\ Reader
> >
> > but that doesnt work either... What should I do to make nagios run the
> > proper
> > command with space in the application name?
> >
> > Regards
> >
> > Johannes Dagemark
> >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: ValueWeb:
> > Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
> > No other company gives more support or power for your dedicated server
> > http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/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 private and confidential e-mail has been sent to you by Egg.
> The Egg group of companies includes Egg Banking plc
> (registered no. 2999842), Egg Financial Products Ltd (registered
> no. 3319027) and Egg Investments Ltd (registered no. 3403963) which
> carries out investment business on behalf of Egg and is regulated
> by the Financial Services Authority.
> Registered in England and Wales. Registered offices: 1 Waterhouse Square,
> 138-142 Holborn, London EC1N 2NA.
> If you are not the intended recipient of this e-mail and have
> received it in error, please notify the sender by replying with
> 'received in error' as the subject and then delete it from your
> mailbox.
>
-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/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