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
105726
File | Description |
---|---|
loadlogs.pl | Load nagios log files v2.1 |
loadconfig.pl | Load nagios configuration |
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!