Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_logs2
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
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.
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.
Reviews (0)
Be the first to review this listing!