#---------------------------#
# Installation Instructions #
#   SLA Reporting Plugin    #
#---------------------------#

Prerequisites
-------------

To install the SLA Reporting Plugin, the following is necessary:

- a running Nagios installation
- a running MySQL server
- a working Perl installation

Preferably you should also think about using the "NDOUtils", future
releases will make further use of them.

Installation
------------

1.) Copy the .pm files somewhere in your Perl @INC directories
    for example /usr/lib/perl5/[release]/.

2.) Copy the check_sla.pl and event_handler.pl to where your
	$USER1$ variable in Nagios points (usually this is 
	/usr/local/nagios/libexec/). The location of the
	report_script.pl doesn't really matter.
	
3.) Generate the database with the following command:

	mysql < sla.sql
	(if you have passwords for users set, modify this command
	accordingly [e. g.: mysql -uroot -pxxx < sla.sql])
	
4.) Create a user that has access to the sla_user database
	previously created and modify the evend_handler.pl and 
	report_script.pl accordingly (future releases will use
	a joint config file).
	
5.) Modify the Nagios configs accordingly, so you have an event
	handler and a new service check.

6.) Report found bugs! :-)

7.) Have fun!