Skip to main content
Version: ⭐ 24.10

Unattended installation of a poller

To install a poller quicker, you can use a script. This will perform all installation steps. You must then register the poller and attach it to the central server or the remote server.

Installation procedure

  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-8-x86_64-rpms

Replace my_username and my_password with the credentials of your RedHat account.

  1. Download the script using the following command:
curl -L https://download.centreon.com/24.10/unattended.sh --output /tmp/unattended.sh
  1. Run the following command as root:
bash /tmp/unattended.sh install -t poller -v 24.10 -r stable -l DEBUG  2>&1 |tee -a /tmp/unattended-$(date +"%m-%d-%Y-%H%M%S").log

You will get a full log file with all errors in your tmp folder, named unattended(date).log.

  1. Once the script has run, carry out steps 3 to 5 of the standard installation procedure for a poller.

Help

To get help on the script, use the following command:

bash unattended.sh -h