We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If the file count of the checked directory is zero the following error under nagios embedded perl appears:
**ePN /usr/lib/nagios/plugins/check_files.pl: "Use of uninitialized value $oldest_filetime in concatenation (.) or string at (eval 4) line 755,".
Using normal perl interpreter it works without problems.
nagios core (3.x) - 3.5.0-79.1.x86_64 (2013-06-28)
define service{ use local-service hostgroup_name elma-server servicegroups elma-services service_description Syslog Queue check_command check_local_files!'Syslog Queue /var/spool/rsyslog'!/var/spool/rsyslog!'dbq.*'!10!100 }
define command{ command_name check_local_files command_line $USER1$/check_files.pl -a -f -L $ARG1$ -D $ARG2$ -F $ARG3$ -w $ARG4$ -c $ARG5$ }
The text was updated successfully, but these errors were encountered:
should be fixed in 0.417 version of check_files I committed to github yesterday
Sorry, something went wrong.
Another issue appears if the file count of the checked directory is zero (error under nagios embedded perl):
**ePN /usr/lib/nagios/plugins/check_files.pl: "Use of uninitialized value $oldest_secold in concatenation (.) or string at (eval 1) line 777,".
Fixed in check_file v0.421 that has just been committed.
**ePN /usr/lib/nagios/plugins/check_files.pl: "Use of uninitialized value $largest_filesize in concatenation (.) or string at (eval 1) line 797,".
No branches or pull requests
If the file count of the checked directory is zero the following error under nagios embedded perl appears:
**ePN /usr/lib/nagios/plugins/check_files.pl: "Use of uninitialized value $oldest_filetime in concatenation (.) or string at (eval 4) line 755,".
Using normal perl interpreter it works without problems.
nagios core (3.x) - 3.5.0-79.1.x86_64 (2013-06-28)
Define a service to check rsyslog queue.
define service{
use local-service
hostgroup_name elma-server
servicegroups elma-services
service_description Syslog Queue
check_command check_local_files!'Syslog Queue /var/spool/rsyslog'!/var/spool/rsyslog!'dbq.*'!10!100
}
'check_local_files' command definition
define command{$USER1$ /check_files.pl -a -f -L $ARG1$ -D $ARG2$ -F $ARG3$ -w $ARG4$ -c $ARG5$
command_name check_local_files
command_line
}
The text was updated successfully, but these errors were encountered: