Date: Tue, 08 Sep 2015 16:47:40 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 202973] net-mgmt/nagios-plugins : check_file_age can not find utils.pm Message-ID: <bug-202973-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202973 Bug ID: 202973 Summary: net-mgmt/nagios-plugins : check_file_age can not find utils.pm Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: mat@FreeBSD.org Reporter: freebsd@jeroen.se Assignee: mat@FreeBSD.org Flags: maintainer-feedback?(mat@FreeBSD.org) Created attachment 160842 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=160842&action=edit Patch to fix check_file_age check_file_age can not find utils.pm when not run from the plugins directory. Patch attached. root@host:~ # /usr/local/libexec/nagios/check_file_age -w 259200 -c 345600 /var/db/clamav/daily.cld Can't locate utils.pm in @INC (@INC contains: . /usr/local/lib/perl5/site_perl/mach/5.16 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.16/mach /usr/local/lib/perl5/5.16 /usr/local/lib/perl5/site_perl/5.16 /usr/local/lib/perl5/site_perl/5.16/mach) at /usr/local/libexec/nagios/check_file_age line 30. BEGIN failed--compilation aborted at /usr/local/libexec/nagios/check_file_age line 30. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202973-13>