2012-11-29 12:08:16 +00:00
|
|
|
This document describes the basic steps to setup inGraph.
|
|
|
|
|
|
|
|
|
|
Scripts to configure inGraph can be found in
|
|
|
|
|
/usr/share/doc/packages/inGraph/examples
|
|
|
|
|
The scripts enable_perfdata_processing.sh & add_perfdata_processing_commands.sh
|
|
|
|
|
will activate the processing of perfdata, but it will only work with a default
|
|
|
|
|
configuration. For more complex installations create the entries manually.
|
2012-07-21 13:40:19 +00:00
|
|
|
Check https://www.netways.org/projects/ingraph/wiki for more information
|
|
|
|
|
|
|
|
|
|
inGraph requires its own database e.g. "ingraph".
|
2012-11-29 12:08:16 +00:00
|
|
|
Start the script to create a sample mysql ingraph db.
|
2012-07-21 13:40:19 +00:00
|
|
|
# ./create-mysql-db.sh
|
|
|
|
|
|
|
|
|
|
Enable processing of performance data
|
|
|
|
|
# ./enable_perfdata_processing.sh /etc/icinga/icinga.cfg /var/lib/icinga/perfdata
|
|
|
|
|
|
|
|
|
|
Add perfdata processing commands to commands.cfg
|
|
|
|
|
# ./add_perfdata_processing_commands.sh /etc/icinga/objects/commands.cfg /var/lib/icinga/perfdata
|
|
|
|
|
|
|
|
|
|
Restart Icinga
|
2012-11-29 12:08:16 +00:00
|
|
|
# /etc/init.d/icinga restart
|
|
|
|
|
|
|
|
|
|
Start the services. inGraph will start to collect the performance data.
|
|
|
|
|
It takes some minutes until results are visible.
|
|
|
|
|
# /etc/init.d/ingraph start
|
|
|
|
|
# /etc/init.d/ingraph-collector start
|
|
|
|
|
|
|
|
|
|
Enable both services to be restarted after a reboot.
|