Skip to main content

Unattended installation of a poller

To install a poller quickly, you can use a script.

This is useful when you need to install several pollers with identical settings, when you install from a deployment tool or CI pipeline, or when you have no interactive access to the target machine.

The script will perform all installation steps. You must then attach the poller to the central server or a remote server.

Prerequisites​

  1. Update your system:

    dnf update
    subscription-manager register --username my_username --password my_password --auto-attach --force
    subscription-manager repos --enable codeready-builder-for-rhel-9-x86_64-rpms

    Replace my_username and my_password with your Red Hat account credentials.

  2. Download the script:

    curl -L https://download.centreon.com/26.10/unattended.sh --output /tmp/unattended.sh

Installation procedure​

  1. Run the following command as root:

    bash /tmp/unattended.sh install -t poller -v 26.10 -r stable -l DEBUG 2>&1

    The script writes a full log, including any errors, to /var/log/centreon-unattended-<date>.log.

  2. Once the script has run, attach the poller to the central server or a remote server.