check_citrix
Dale Hobbs
dhobbs at chancery.com
Mon Sep 13 23:16:41 CEST 2004
Here it is.
define service{
use generic-service ; Name
of service template to use
host_name citrix
service_description Oulook Published Application
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
contact_groups admins
notification_interval 120
notification_period 24x7
notification_options w,u,c,r
check_command check_citrix!Outlook
}
-----Original Message-----
From: Cook, Garry [mailto:GWCOOK at mactec.com]
Sent: Monday, September 13, 2004 2:15 PM
To: Dale Hobbs; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] check_citrix
OK. So what does the command definition look like in services.cfg?
For each server that you run this command against, you should have lines
containing at least the following:
define service{
host_name <some_host>
check_command check_citrix!<application>
}
Where <some_host> is the short hostname of the server to be checked, and
<application> is the app that you want to check with check_citrix.
Disclaimer: I don't use the check_citrix plugin, so I may not be able to
help much more than this. However, it sounds to me like the
check_command is expecting an argument, and maybe this is missing from
the service definition in services.cfg.
Garry W. Cook, CCNA
Network Infrastructure Manager
MACTEC, Inc. - http://www.mactec.com/
303.308.6228 (Office) - 720.220.1862 (Mobile)
Dale Hobbs wrote:
> Sure do. Here it is below
>
> # 'check_citirx' command definition
> define command{
> command_name check_citrix
> command_line $USER1$/check_citrix -C $HOSTADDRESS$ -W
> $ARG1$ }
>
> There was a typo in the checkcommands. Now that the type is corrected
> I'm getting a no output return instead.
>
> -----Original Message-----
> From: Cook, Garry [mailto:GWCOOK at mactec.com]
> Sent: Monday, September 13, 2004 1:53 PM
> To: Dale Hobbs; nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] check_citrix
>
> nagios-users-admin at lists.sourceforge.net wrote:
>> I'm trying to use the check_citrix plugin to monitor the published
>> applications on our citrix server. I can run the command
>> ./check_citrix -C xxx.xxx.xxx.xxx -W application from the command
>> line but when Nagios
>> tries to run it I get the Return code of 127 is out of bounds -
>> plugin may be missing
>>
>> The plugin does exist in the /libexec folder and has the following
>> permissions:
>>
>> -rwxrwxr-x 1 root root 14544 Sep 13 09:56 check_citrix
>>
>> Anyone know why Nagios can't find the plugin?
>
> Do you have a command defined for check_citrix in
> nagios/etc/checkcommands.cfg?
> If so, what does it look like?
>
> Garry W. Cook, CCNA
> Network Infrastructure Manager
> MACTEC, Inc. - http://www.mactec.com/
> 303.308.6228 (Office) - 720.220.1862 (Mobile)
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
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