Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
mysql database loader
106057
File | Description |
---|---|
loadlogs.pl | Load nagios log files v2.1 |
loadconfig.pl | Load nagios configuration |
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!
This consists of two perl scripts, which use the DBI and DBD::mysql perl modules, plus the Nagios::Config module (for the config loader).
The loadlogs.pl script load logfiles from the archive directory into a logs table in the database, after filtering them according to your preferences.
The loadconfig.pl script loads the nagios configuration files (including hostextinfo.cfg) via the Nagios::Config perl module into multiple tables in the mysql database.
You can then use the mysql ODBC drivers for windows to report on these tables using Access or Excel.
This is a first version, so no instructions other than the built-in help text. Set up a mysql database and user, configure the scripts, and it should be clear.
The loadlogs.pl script load logfiles from the archive directory into a logs table in the database, after filtering them according to your preferences.
The loadconfig.pl script loads the nagios configuration files (including hostextinfo.cfg) via the Nagios::Config perl module into multiple tables in the mysql database.
You can then use the mysql ODBC drivers for windows to report on these tables using Access or Excel.
This is a first version, so no instructions other than the built-in help text. Set up a mysql database and user, configure the scripts, and it should be clear.
Reviews (0)
Be the first to review this listing!