Installing the Autodiscovery module
To install packages, execute the following command on the Central server:
yum install -y centreon-auto-discovery-server
Connect to the Centreon web interface using an account allowed to install products and go to the Administration > Extensions > Manager menu.
Make sure that the License Manager and Plugin Packs Manager modules are up-to-date before installing the Auto Discovery module.
Click on the installation icon corresponding to the Auto Discovery module:
The module is now installed:
To get ready-to-use discovery rules, go to the Configuration > Plugin Packs page and install the plugin packs for the discovery providers you want.
Setting up a dedicated autodiscovery account
We recommend that you set up a dedicated technical account (e.g.
autodisco) that will execute the discovery jobs in the background (different from the one you use to create and launch jobs in the interface).
On page Configuration > Users > Contacts/Users, create a dedicated user. On the Centreon Authentication tab, give it the following rights:
- Reach Centreon front-end: No
- Admin: Yes
- Reach API Configuration: Yes.
In the Central server's terminal, edit the following file:
Replace the default username and password by the credentials of your dedicated autodiscovery account.
gorgone: tpapi: - name: centreonv2 base_url: "http://127.0.0.1/centreon/api/beta/" username: autodisco password: XXXXXXXXXXXXXXXX - name: clapi username: autodisco password: XXXXXXXXXXXXXXXX
Restart the gorgoned service:
systemctl restart gorgoned