Installing NagisoGrapher
========================

REQUIREMENTS
------------

- Nagios with a working webinterface

- Tobi Oetiker's rrdtool (http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/)
  
- perl with at least following modules:
	CGI
	CGI::Carp
	Calendar::Simple
	Carp
	Data::Dumper
	File::Basename
	File::Copy
	GD
	IO::Handle
	Image::Magick
	POSIX
	RRDs
	Storable
	Time::HiRes
	Time::Local
	URI::Escape
  (use make testdeps to check dependencies)

- autoconf for easy installing

Debian-Etch users: use the following apt-get line to install all necessary packages:
   apt-get install autoconf rrdtool perl perl-base perl-modules \
      libcalendar-simple-perl libgd-gd2-perl perlmagick librrds-perl \
      liburi-perl



INSTALLING
----------

The install process has changed! Now we are using autoconf.

1.) Nagios installed from sources under /usr/local/nagios
  a) autoconf
  b) ./configure
  c) make testdeps
  d) fix dependencies if 'make testdeps' displayed errors
     (use "make fixdeps" to get them from CPAN.org)
  e) make install
  f) follow the messages
  g) send us your layout :-)

2.) Nagios installed on different places
  a) alter config.layout to fit your installation (see LAYOUTS for documentation)
  b) autoconf
  c) ./configure --with-layout=[your-layout]
  d) make testdeps
  e) fix dependencies (use "make fixdeps" to get them from CPAN.org)
  f) make install'
  g) follow the messages
  h) send us your layout :-)

For updating nagios use "make update" instead of "make install"

3.) Optional
  a) patch your nagios init script:
     patch -p0 < contrib/nagios.initscript.patch

LAYOUTS
-------

For creating custom layouts see './LAYOUT'

You can use different layouts with the --enable-layout=[your-layout] switch,
maybe based on the --prefix you've given.
