more check_citrix nonreturning woes

Jarett DeAngelis Jarett_DeAngelis at fujifilm.com
Thu Feb 13 19:25:37 CET 2003


Stanley,

Thanks for your prompt reply.

I didn't realize the plugin could take quotes that way.  Thanks :)

Glad I could help with bug-stomping!  Does this mean I have to *include* all those apps in the published application list between A1 and A5 (in your example)?  Or do I just have to make sure they're in the correct order, i.e. A1, A5 as opposed to A5, A1?

I really don't want to make multiple command definitions for checking multiple #s of published apps if I can avoid it.... so the -P A1 -P A2 thing is definitely a last resort.

Also, I recently recompiled Nagios WITHOUT ePN support, so that's not it, and yes, I would be interested in testing a new version of check_citrix :)  

Do let me know at your earliest convenience...

Thanks,
Jarett DeAngelis

>>> Stanley Hopcroft <Stanley.Hopcroft at IPAustralia.Gov.AU> 02/12/03 09:03PM >>>
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



-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
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