Hi everyone,
I'm trying to run check_snmptraps.pl which comes out with NagTrap, at the moment it gives me the same error even after installing the needed dependencies such as p5-DBI, here is the error:
Here is the code:
Thank you in advance.
I'm trying to run check_snmptraps.pl which comes out with NagTrap, at the moment it gives me the same error even after installing the needed dependencies such as p5-DBI, here is the error:
Code:
Global symbol "@monitoring_libexecdir" requires explicit package name at /usr/local/libexec/nagios/check_snmptraps.pl line 66.
Here is the code:
Code:
# ==================== Load Perl modules ====================
use strict;
use Getopt::Long;
use vars qw($PROGNAME);
use lib "@monitoring_libexecdir@"; # Pfad zur util.pm !!
use utils qw($TIMEOUT %ERRORS &print_revision &support);
use Time::HiRes qw(time);
use DBI();
Thank you in advance.