Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
check_logs.pl improvement. Added dynamic array ref to support global configuration file
Current Version
Last Release Date
June 16, 2009
Owner
Nagios Exchange
check_logs2.pl
Added dynamic array ref on script to read array from configuration file base on hostname. Wanted to add this existing project \\\"check_logs.pl\\\", but I see no place to upload the file.
eg config file:
$seek_file_template=\\\'/$log_file.seek\\\' @server1 = ( {\\\'file_name\\\' => \\\'/var/log/messages\\\', \\\'reg_exp\\\' => \\\'error\\\'} ); @server2 = ( { \\\'file_name\\\' => \\\'/var/log/http/access.log\\\', \\\'reg_exp\\\' => \\\'404\\\'} );
The idea is that you want a config file for all host you want to monitor log files with and Not all hosts have the same path to log files.
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!