[Nagiosplug-help] Re: Citrix plugin - no output ?

manfred.lauer at kob.de manfred.lauer at kob.de
Wed Dec 11 07:53:03 CET 2002


I have had the same problem.

It's a problem of locating 'utils.pm'.
If exceuted from a shell-prompt in the directory 'libexec' utils.pm is 
found, because '.' is in '@INC'.
Executed in another directory you see the following error:

./libexec/check_cit -C 10.128.24.13 -w Desktop\ KOB
Can't locate utils.pm in @INC (@INC contains: 
/usr/lib/perl5/5.00503/i386-linux
/usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux 
/usr/lib/perl5/
site_perl/5.005 .) at ./libexec/check_cit line 35.
BEGIN failed--compilation aborted at ./libexec/check_cit line 35.


Insert in the perl scipt check_cit the line:

use lib "/usr/local/nagios/libexec/";

before the line

use utils qw(%ERRORS &print_revision &support &usage);

and all works fine.
-- 
Mit freundlichen Gruessen
Manfred Lauer






More information about the Help mailing list