check_citrix and no output

Chris Gill cgill at newworldapps.com
Wed Feb 18 15:35:53 CET 2004


Strangely, I was working on this just yesterday. I think the problem is it can't find the 'utils.pm' perl module. What I did was just symlink /usr/local/nagios/libexec/utils.pm to the system perl library location. That fixed it. Not sure if it's the 'right' fix, but it worked for me. Should solve similar problems with other modules that use utils.pm, too.

-----------------------------------------------------------------
Christopher P. Gill, Systems Engineer, New World Apps
cgill at newworldapps.com
703-856-7268 (Cell/Business)


-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of
MEriksson at Interquad.com
Sent: Wednesday, February 18, 2004 8:18 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] check_citrix and no output


Hi all,

I've been looking through the mailing list archive and I have found loads of
references to people who have experienced the same problem as me. However, I
have not found any replies that actually solves the problem. 

The problem is that the check_citrix plugin works fine from the command line
but as soon as I try to automate if from Nagios the service ends up being
flagged as critical with the status information of (No output!). I've su'ed
to the nagios users and ran it under that user from the command line with no
problems as well.

I am running version 1.3.1 of the plugins under Linux.

Hopefully someone can help me with this one since it's quite important for
me get this one running.

Thanks in advance, Mike

<- Output from checkcommands.cfg ->

# 'check_citrix' command definition
define command{
	command_name	check_citrix
	command_line	$USER1$/check_citrix -C $HOSTADDRESS$ -P Desktop 
	}
<- Output from checkcommands.cfg ->

<- Output from hosts.cfg ->
# 'citrix3' host definition
define host{
	use			generic-host		; Name of host
template to use

	host_name		citrix3
	alias			Citrix 3 Server
	address			x.x.x.x <- Proper value is normally there ;)
	parents			sl-proxy
	check_command		check-host-alive
	max_check_attempts	10
	notification_interval	120
	notification_period	24x7
	notification_options	d,u,r
	}
<- Output from hosts.cfg ->

<- Output from services.cfg ->
define service{
	use				generic-service		; Name of
service template to use

	host_name			citrix3
	service_description		CITRIX
	is_volatile			0
	check_period			24x7
	max_check_attempts		3
	normal_check_interval		5
	retry_check_interval		1
	contact_groups			MIS
	notification_interval		120
	notification_period		24x7
	notification_options		c,r
	check_command			check_citrix
	}
<- Output from services.cfg ->




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
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


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
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