[Nagiosplug-devel] check_ntp

Subhendu Ghosh sghosh at sghosh.org
Mon Jan 26 16:25:17 CET 2004


On Fri, 23 Jan 2004, Karl N. Barber wrote:

> Am having problems with check_ntp.
> version is 1.19
> The output is as follows:
> 
>   ./check_ntp -help
> Bareword "utils" not allowed while "strict subs" in use at ./check_ntp line 65.
> Bareword "pm" not allowed while "strict subs" in use at ./check_ntp line 65.
> BEGIN not safe after errors--compilation aborted at ./check_ntp line 66.
> 

While it is a perl script, it is a part of the distribution and needs to 
run thru configure and make in order to set useful path and paramters...

Looks like your instance has not been...

the "use lib utils.pm" line should be transformed into:
use lib /path/to/nagios/libexec/utils.pm;



-- 
-sg





More information about the Devel mailing list