[Nagiosplug-help] check_sybase
Lars Stavholm
stava at telcotec.se
Mon Jun 25 10:22:00 CEST 2007
Lalita Drolia wrote:
> Hi,
>
> I am trying to use check_sybase on linux machines from the contrib.
> directory. But I am not sure how to configure it.
>
> When I run ./check_sybase it gives me the error-
>
> Can't locate DBI.pm in @INC (@INC contains:
> /usr/lib/perl5/5.8.0/i386-linux-thre
> ad-multi /usr/lib/perl5/5.8.0
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-m
> ulti /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
> /usr/lib/perl5/vend
> or_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0
> /usr/lib/
> perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/5.
> 8.0 .) at ./check_sybase line 26.
> BEGIN failed--compilation aborted at ./check_sybase line 26.
This means that your system lacks a perl module called DBI.
Depending on your system, install prepared rpm, typically
perl-DBI-...rpm, or use perl itself to install the missing
module from the Internet:
# perl -MCPAN -e shell
cpan> install DBI
Good luck
/Lars
More information about the Help
mailing list