check_citrix issue

Johannes Dagemark johannes.dagemark at op5.se
Thu Apr 3 09:11:48 CEST 2003


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





More information about the Users mailing list