[Nagiosplug-help] check_citrix ?
Phil Costelloe
philc at foundation-it.com
Mon May 12 19:05:22 CEST 2003
> From: Rasmus Plewe [mailto:rplewe at hpce.nec.com]
>
> On Sun, May 11, 2003 at 09:47:09PM +0200, Brian Ipsen wrote:
> >
> > I have a very strange problem. I try to monitor a citrix
> distributed
> > application. If I in a shell (in the plugsions-directory) use the
> > command:
> >
> > ./check_citrix -B 192.168.1.255 -P Explorer -W Explorer
> [...]
> > But the status of the service in Nagios is "Critical" with "(No
> > output!)"
> >
> > Any suggestions to what the problem can be ??
Just been having a look at this and discovered what the problem is
... and then discovered that Johannes Dagemark actually posted the
solution a few weeks ago. :)
As it stands, check_citrix.pl needs to be _run_ in the directory where
the utils.pm library resides. As changing directory in a
checkcommands.cfg
command is inelegant (and doesn't seem to work anyway :), the best
solution is to add the line
use lib "/path/to/your/nagios/libexec/dir";
to check_citrix.pl somewhere before the "use utils" line, e.g.
use lib "/usr/local/nagios/libexec";
use utils qw(%ERRORS &print_revision &support &usage);
Phil
-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com
_______________________________________________
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