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
-
Update your system:
- RHEL 9
- Alma / Oracle Linux 9
- RHEL 10
- Alma / Oracle Linux 10
- Debian 13
dnf updatesubscription-manager register --username my_username --password my_password --auto-attach --forcesubscription-manager repos --enable codeready-builder-for-rhel-9-x86_64-rpmsReplace my_username and my_password with your Red Hat account credentials.
dnf updatednf updatesubscription-manager register --username my_username --password my_password --auto-attach --forcesubscription-manager repos --enable codeready-builder-for-rhel-10-x86_64-rpmsReplace my_username and my_password with your Red Hat account credentials.
dnf updateapt update && apt upgrade -
Download the script:
curl -L https://download.centreon.com/26.10/unattended.sh --output /tmp/unattended.sh
Installation procedure
-
Run the following command as root:
bash /tmp/unattended.sh install -t poller -v 26.10 -r stable -l DEBUG 2>&1The script writes a full log, including any errors, to
/var/log/centreon-unattended-<date>.log. -
Once the script has run, attach the poller to the central server or a remote server.