Manually configuring a poller

Configuring the server

Once the installation is complete, you must integrate this remote poller into the Centreon configuration.

  1. Go into the menu: Configuration > Pollers.

  2. Duplicate the central server and edit it.

  3. Change the following settings, and save:

  • Change the name of Poller Name.

  • Enter the IP address of the poller in the IP Address field.

  • Enable the poller by clicking on Enabled in the Status field.

../../_images/07addpoller.png

Note

If your poller is attached to a Remote Server, please choose this one in the Attach to Remote Server list.

Note

If your poller is attached to a Remote Server, but you prefer to send externals commands and configuration directly from the Central server to this poller, please disable the Use the Remote Server as a proxy for SSH option.

  1. Go to the Configuration > Pollers > Engine configuration menu.

  2. Select your last added configuration.

  3. Change the following settings, and save:

  • In the Files tab:

    • Modify Configuration Name.

    • Check that Linked poller is the previously created poller.

    • Change if necessary Timezone / Location.

../../_images/07addengine.png
  • In the Data tab - Multiple Broker Module fields check / add the following entries:

    /usr/lib64/centreon-engine/externalcmd.so
    
    /usr/lib64/nagios/cbmod.so /etc/centreon-broker/poller-module.xml
    
../../_images/07addpoller_neb.png

Centreon Broker configuration

You must generate a configuration file for Centreon Broker:

  1. Go into the menu: Configuration > Pollers > Broker configuration.

  2. click on Add.

  • In the General tab:

    • Select the Requester.

    • Set Name of the configuration.

    • Set Config file name that must be exactly the same as the one defined in Centreon Engine configuration (for example, poller-module.xml).

    • Check the value No for the Link to cbd service option.

../../_images/07_Addbroker.png
  • In the Output tab:

    • Add a new TCP - IPv4 output.

    • Set the Name.

    • Set the distant TCP port, by default to 5669.

    • Set the IP address of the Central server (Host to connect to).

../../_images/07_Addbroker_output.png
  • Save the configuration.