Centreon is a famous French monitoring solution based on Nagios, which can also be used with Shinken.
Below is the configuration you should set (there is already sample configuration files in your ‘’/etc/shinken/’’ directory)
The module simple_log puts all Shinken’s logs (Arbiter, Scheduler, Poller, etc.) into a single file.
In ‘’/etc/shinken/modules/simple-log.cfg’‘:
define module{
module_name Simple-log
module_type simple_log
path /var/lib/shinken/shinken.log
archive_path /var/lib/shinken/archives/
}
The module ndodb_mysql exports all data into a NDO MySQL database.
It needs the python module MySQLdb (Debian: ‘’sudo apt-get install python-mysqldb’‘, or ‘’easy_install MySQL-python’‘)
In ‘’/etc/shinken/modules/ndodb_mysql.cfg’‘:
define module{
module_name ToNdodb_Mysql
module_type ndodb_mysql
database ndo ; database name
user root ; user of the database
password root ; must be changed
host localhost ; host to connect to
character_set utf8 ;optional, default: utf8
}
The module service_perfdata exports service’s perfdata to a flat file.
In ‘’/etc/shinken/modules/perfdata-service.cfg’‘:
define module{
module_name Service-Perfdata
module_type service_perfdata
path /var/lib/shinken/service-perfdata
}
In ‘’/etc/shinken/brokers/broker-master.cfg’’ find the object Broker, and add the above modules to the modules line:
define broker{
broker_name broker-1
[...]
modules Simple-log,ToNdodb_Mysql,Service-Perfdata
}
Shinken’s “Scheduler” is called a “Poller” in Centreon. If you keep the sample Scheduler name, you won’t see any data in the Centreon interface.
So edit ‘’/etc/shinken/schedulers/scheduler-master.cfg’’ and change the Scheduler name to match the Centreon’s Poller name (“default”):
define scheduler{
scheduler_name default
[...]
}