check_citrix doesn't return any data?

Stanley Hopcroft Stanley.Hopcroft at IPAustralia.Gov.AU
Thu Feb 13 03:03:08 CET 2003


Dear Sir,

I wm writing to thank you for your letter and say,

On Wed, Feb 12, 2003 at 07:55:50PM -0500, Jarett DeAngelis wrote:
> Hi all,
> 
> I'm at my wits' end over here... been struggling with getting check_citrix to work.
> 
> I can do ./check_citrix -C <host> -W "service","service" -P "service","service" from the command line and it works just fine.
> 

1 The docco on the plugin needs to be corrected since it will accept -W
and -P options of "app1,app2,app3,..". To-do.


> My check definition looks like this:
> 
> define command{
> command_name check_citrix
> command_line $USER1$/check_citrix -C $HOSTADDRESS$ -W $ARG1$ -P $ARG2$
> }
> 
> My service definitions look like this:
> 
> # Service definition
> define service{
> 	use				generic-service		; Name of service template to use
> 
> 	host_name			host.example.com
> 	service_description		citrix
> 	is_volatile			0
> 	check_period			24x7
> 	max_check_attempts		3
> 	normal_check_interval		3
> 	retry_check_interval		1
> 	contact_groups			admins
> 	notification_interval		120
> 	notification_period		24x7
> 	notification_options		w,u,c,r
> 	check_command			check_citrix!"App1","App2"!"App3","App4"
> 	}
> 
> What am I doing wrong?

I think the check_command line is wrong in the service definition. I 
suggest either

1 check_citrix!"App1,App2"!"App3,App4" or

because there is a nasty bug (Thanks !) in check_citrix that makes the
order of applications important (ie you have to specify the apps in the
same order as specified in the browse list eg if browse list returns
them A1,A2,A3,A4,A5 then

Bad:  -P "A1,A5"

Good: -P "A1,A2,A3,A4.A5".

Are you interested in testing a new version ?

2 

2.1 Change the command_line in checkcommands.cfg to

command_line $USER1$/check_citrix -C $HOSTADDRESS$ -W $ARG1$ -W $ARG2$ 
-P $ARG3 -P $ARG4$.

Pretty slack I know.

2.2 Change check_command in services.cfg to

check_citrix!"App1"!"App2"!"App3"!"App4"

> The ping services on these hosts work fine, but citrix keeps coming 
> back critical and the web interface says  (No output!)  under Status 
> Information. 

No output means the plugin failed to write any output. This usually 
means that 

1 The plugin failed to compile under the tricky ePN environment

2 The plugin failed to handle the options and wigged out disgracefully. 

Bad plugin. No Biscuit.


> I'm really at a complete loss here.  Is it a problem 
> with 
> quotes not being passed properly?  Everything was going so 
> beautifully, too :-/
> 
> Thanks.

You'll get there. At least one huge Citrix site is running this plugin 
Ok.

HTH.

Yours sincerely.

-- 
------------------------------------------------------------------------
Stanley Hopcroft
------------------------------------------------------------------------

'...No man is an island, entire of itself; every man is a piece of the
continent, a part of the main. If a clod be washed away by the sea,
Europe is the less, as well as if a promontory were, as well as if a
manor of thy friend's or of thine own were. Any man's death diminishes
me, because I am involved in mankind; and therefore never send to know
for whom the bell tolls; it tolls for thee...'

from Meditation 17, J Donne.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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