don't dream your life, live your dreams !
Centreon can link with multiple Nagios.
They speak throw NDOutils.
The following configuration shows how to configure Nagios and NDOutils to communicate with a local Centreon.
Contents
I assume that you have a Centos installation.
You can copy/paste this script and use it to configure automatically your server.
404: Not Found
That’s all 🙂

Install NDOutils:
404: Not Found
In /etc/nagios/ndomod.cfg, check you have theses parameters
instance_name=Central output_type=tcpsocket output=localhost tcp_port=5668 output_buffer_items=5000 |
And check you have the same values in Centreon : Configuration -> Centreon -> ndomod.cfg
In /etc/nagios/ndo2db.cfg, check you have theses parameters
ndo2db_user=nagios ndo2db_group=nagios socket_type=tcp socket_name=/var/run/ndo.sock tcp_port=5668 db_servertype=mysql db_host=localhost db_name=centreon_status db_port=3306 db_prefix=nagios_ db_user=centreon db_pass=centreon |
And check you have the same values in Centreon : Configuration -> Centreon -> ndo2db.cfg
In /etc/nagios/nagios.cfg, configure blockers:
event_broker_options=-1 broker_module=/usr/lib64/nagios/brokers/ndomod.so config_file=/etc/nagios/ndomod.cfg |
And check you have the same values in Centreon : Configuration -> Monitoring Engines -> main.cfg (tab Data)
Now restart services:
/etc/init.d/ndo2db start /etc/init.d/nagios restart |
ndo2db process do not manage to access to ndo2db.cgf file. Execute the following command:
chown apache:apache /etc/nagios/ -R |
Copyright © 2026 My linux world - by Marc RABAHI
Design by Marc RABAHI and encelades.
admin