Created attachment 160842 [details] 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.
A commit references this bug: Author: mat Date: Tue Sep 8 21:20:33 UTC 2015 New revision: 396440 URL: https://svnweb.freebsd.org/changeset/ports/396440 Log: Fix check_file_age. PR: 202973 Sponsored by: Absolight Changes: head/net-mgmt/nagios-plugins/Makefile head/net-mgmt/nagios-plugins/files/patch-plugins-scripts_check__file__age.pl
Thanks, seems like this nagios release was not well tested...