Skip to main content
Guide

How to install a Centreon poller on Raspberry Pi running on Debian 11

  • September 27, 2023
  • 23 replies
  • 1819 views

lpinsivy
Centreonian
Forum|alt.badge.img+21

Raspberry Pi Poller Installation for Centreon 23.10 (Testing and Unstable Repository)


Before we dive into the installation process, here's a handy tip: You can easily set up a Raspberry Pi collector, even if your central server runs version 23.04.x of Centreon.


Step 1: Download the Unattended.sh Script

Begin by downloading the essential script. Open your terminal and navigate to the temporary directory:

cd /tmp
wget https://raw.githubusercontent.com/centreon/centreon/develop/centreon/unattended.sh

 

Step 2: Install Centreon

Install Centreon with a breeze using the following command. It's as simple as running this script:

bash /tmp/unattended.sh install -t poller -v 23.10 -r unstable -l DEBUG  2>&1 |tee -a /tmp/unattended-$(date +"%m-%d-%Y-%H%M%S").log

 

Step 3: Register Your Poller

Connect your poller to the central server with this quick command. Replace <API_ACCOUNT>, <IP_TARGET_NODE>, and <POLLER_NAME> with your specific details:

bash /usr/share/centreon/bin/registerServerTopology.sh -u <API_ACCOUNT> -t poller -h <IP_TARGET_NODE> -n <POLLER_NAME>

 

Step 4: Continue with Centreon's Official Documentation

Now that your poller is up and running, it's time to explore Centreon's official documentation for more in-depth guidance.

 

Step 5: Start Monitoring Resources

Follow the documentation's instructions to kickstart your resource monitoring journey. You're on your way to efficient Raspberry Pi-based monitoring with Centreon!

With these simplified steps, you'll have your Raspberry Pi poller set up and ready to monitor in no time.

Enjoy monitoring with Centreon 23.10!

23 replies

Forum|alt.badge.img+7
  • Steward **
  • October 8, 2023

installed debian, installed centreon poller on raspberry pi3 debian 11

everything seems ok but registration FAILS…

 

i also noticed that 

systemctl status gorgoned
● gorgoned.service - Centreon Gorgone
     Loaded: loaded (/lib/systemd/system/gorgoned.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Sun 2023-10-08 16:04:29 UTC; 2s ago
    Process: 710 ExecStart=/usr/bin/perl /usr/bin/gorgoned $OPTIONS (code=exited, status=217/USER)
   Main PID: 710 (code=exited, status=217/USER)
        CPU: 8ms
 


lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Author
  • Centreonian
  • October 9, 2023

Hi @Fanto your poller can contact the Centreon central server on HTPS?

Regards,


Forum|alt.badge.img+7
  • Steward **
  • October 30, 2023

Hi everyone,

i fixed https configuration (i missed all certificate chain)

but now i have a general issue to prepare a pending poller registration (require javascript)

but if i registre the poller (rasp pi too) everything is ok.

 

raspberry pi3 poller works fine at moment :)

 

 


Forum|alt.badge.img+2
  • Steward *
  • October 31, 2023

Good morning @Laurent i had some issues installing centreon on my raspberry pi3. I installed debian 11 but the unattended.sh script fails with this error message:

E: Failed to fetch https://packages.centreon.com/apt-standard-23.10-unstable/pool/perl-libssh-session-arm64/libssh-session-perl_0.8-2_arm64.deb  404   [IP: 52.49.160.245 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
2023-10-31 07:03:34+00:00 - ERROR - Could not install Centreon (package centreon)

 

I got into https://packages.centreon.com/apt-standard-23.10-unstable/pool but i could not find perl-libssh-session-arm64/libssh-session-perl_0.8-2_arm64.deb package


lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Author
  • Centreonian
  • October 31, 2023

HI @AselDonlo7 , we are releasing Centreon 23.10.0 stable, can you retry with ‘-r stable’ option (instead or ‘-r unstable’)?


Forum|alt.badge.img+2
  • Steward *
  • October 31, 2023

HI @AselDonlo7 , we are releasing Centreon 23.10.0 stable, can you retry with ‘-r stable’ option (instead or ‘-r unstable’)?

Hi @Laurent i tried it with the ‘stable’ option but this is the output that i have now

I noticed this in the apt-standard-23.10-stable/dists/bullseye/main/binary-arm64/Packages file:
 

 

Maybe this could be the problem?


lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Author
  • Centreonian
  • November 10, 2023

Hi @AselDonlo7 did you retry to reinstall a poller on your Raspberry?


Forum|alt.badge.img+2
  • Steward *
  • November 15, 2023

Hi @Laurent i did it and worked fine but now I have some errors when I run the script.

 

It seems that gives an error when does chown and chmod to /etc/centreon/conf.pm file because does not exist:

chmod: no se puede acceder a '/etc/centreon/conf.pm': No existe el fichero o el directorio
fallo al cambiar el modo de '/etc/centreon/conf.pm' de 0644 (rw-r--r--) a 0664 (rw-rw-r--)

 

chown: no se puede acceder a '/etc/centreon/conf.pm': No existe el fichero o el directorio
fallo al cambiar el propietario de '/etc/centreon/conf.pm' a centreon:centreon


lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Author
  • Centreonian
  • November 15, 2023

Hi @AselDonlo7 thank you for the feedback, I will forward this to our team.

Regards,


Forum|alt.badge.img
  • Steward *
  • November 24, 2023

Hi all, is it possible to register a Raspberry poller to a Cloud instance of Centreon ?

Thanks a lot !


Forum|alt.badge.img+11
  • Centreonian
  • November 24, 2023

Hello Mouvertus,

It is possible to register poller running on Alma8, 9 and Debian 11.

If I decrypt your pseudonym, I think we have a meet next Tuesday during which we can cover this.

Best Regards,

Nils


Forum|alt.badge.img+2
  • Steward *
  • January 4, 2024

Hi @Laurent,

 

I´m having some issues when running the unattended.sh script. This are the error messages:

 

W: Sources disagree on hashes for supposely identical version '6.16-1' of 'libhttp-daemon-perl:arm64'.
W: Sources disagree on hashes for supposely identical version '6.16-1' of 'libhttp-daemon-perl:arm64'.
W: Sources disagree on hashes for supposely identical version '0.2-bullseye' of 'libkeepass-reader-perl:arm64'.
W: Sources disagree on hashes for supposely identical version '0.2-bullseye' of 'libkeepass-reader-perl:arm64'.
E: Failed to fetch https://packages.centreon.com/apt-standard-23.10-stable/pool/perl-cpan-libraries/libhttp-daemon-perl_6.16-1_all.deb  File has unexpected size (22068 != 22048). Mirror sync in progress? [IP: 54.155.195.212 443]
   Hashes of expected file:
    - SHA256:83a99451234f06cbbb643b17d91affb5ba3774c3ec5c44d7574d16fce74d2b1c
    - SHA1:9b9655f19c763b0eb576d018dc45136664b2ed28 [weak]
    - Filesize:22048 [weak]
E: Failed to fetch https://packages.centreon.com/apt-standard-23.10-stable/pool/perl-cpan-libraries/libschedule-cron-perl_1.05-1_all.deb  File has unexpected size (36248 != 36268). Mirror sync in progress? [IP: 54.155.195.212 443]
   Hashes of expected file:
    - SHA256:6a32c3330b8b462861b54bf47b67e7121f28f19cfe39450648aae428ba136649
    - SHA1:cee18608f1860de0cf16366725a98a074b3d97f7 [weak]
    - Filesize:36268 [weak]
E: Failed to fetch https://packages.centreon.com/apt-standard-23.10-stable/pool/perl-cpan-libraries/libhttp-proxypac-perl_0.31-1_all.deb  File has unexpected size (15496 != 15484). Mirror sync in progress? [IP: 54.155.195.212 443]
   Hashes of expected file:
    - SHA256:c54628b1753f4b0b4274182c1e45d34320bdc55dbb42767f58bd689022bf4bf9
    - SHA1:6e890c55fac75b178b34cc6cb79f10906cf1e61a [weak]
    - Filesize:15484 [weak]

 

I noticed this in the apt-standard-23.10-stable/dists/bullseye/main/binary-arm64/Packages file

 

¿Would it be possible to fix this?

 

Regards.


lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Author
  • Centreonian
  • January 4, 2024

Hi @AselDonlo7 can you retry with:

apt clean
apt update

 


Forum|alt.badge.img+2
  • Steward *
  • January 5, 2024

I tried it, but the error messages still there


lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Author
  • Centreonian
  • January 5, 2024

We update APT repo, can you retry?


zegutfan
Forum|alt.badge.img
  • Steward *
  • January 29, 2024

Hi Laurent
I have tried t install a poller on a Raspberry pi 4 running following Raspberry OS:

PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian

But I get the following issue when running the unattended.sh script:

root@pollerpi:/tmp# bash /tmp/unattended.sh install -t poller -v 23.10 -r stable -l DEBUG  2>&1 |tee -a /tmp/unattended-$(date +"%m-%d-%Y-%H%M%S").log                                    
2024-01-29 19:28:59+01:00 - INFO - Requested topology: 'poller'
2024-01-29 19:28:59+01:00 - INFO - Requested version: '23.10'
2024-01-29 19:28:59+01:00 - INFO - Requested repository: 'stable'
2024-01-29 19:28:59+01:00 - ERROR - Unsupported distribution Raspbian GNU/Linux detected
2024-01-29 19:28:59+01:00 - ERROR - This 'unattended.sh' script only supports Red-Hat compatible distribution (v8 and v9) and Debian 11. Please check https://docs.centreon.com/docs/installation/introduction for alternative installation methods.

I also tried to modify /etc/os-release to change NAME with Debian 11 but it also failed :

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

16 packages can be upgraded. Run 'apt list --upgradable' to see them.
2024-01-29 19:34:30+01:00 - INFO - Systemd is running
2024-01-29 19:34:30+01:00 - INFO - Poller installation from 23.10-stable

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

E: Unable to locate package centreon-poller
2024-01-29 19:34:31+01:00 - ERROR - Could not install Centreon (package centreon)

any idea ?
Thanks


Forum|alt.badge.img+2
  • Steward *
  • August 4, 2025

Hello everyone,

I would like to know if it's possible to install the Centreon poller packages on Debian 12 running on a Raspberry Pi.
Has anyone tried this or knows if it's officially supported ?

Thank you in advance for your help !

 


Forum|alt.badge.img+2
  • Steward *
  • September 22, 2025

Good morning ​@fducos 

I´ve just tried it with the unattended script but it fails:

2025-09-22 10:51:31+02:00 - INFO - Poller installation from 24.10-stable

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 centreon-gorgone : Depends: libnet-curl-perl but it is not installable
                    Depends: libssh-session-perl but it is not installable
E: Unable to correct problems, you have held broken packages.
2025-09-22 10:51:35+02:00 - ERROR - Could not install Centreon (package centreon)

@Laurent could be possible to solve this problem?

Regards!


lpinsivy
Centreonian
Forum|alt.badge.img+21
  • Author
  • Centreonian
  • September 22, 2025

Hi ​@AselDonlo7 I forwarded this issue to my colleagues.

Regards,


Forum|alt.badge.img+3

Hi,

i try also install poller on new Rpi5 with RaspiOS/ Debian 12.

i get the same error with stable release 24.10.

The following packages have unmet dependencies:
 centreon-gorgone : Depends: libnet-curl-perl but it is not installable
                    Depends: libssh-session-perl but it is not installable
E: Unable to correct problems, you have held broken packages.
2025-10-03 08:08:21+02:00 - ERROR - Could not install Centreon (package centreon)

With unstable there is a lot of errors.

The following packages have unmet dependencies:
 centreon-poller : Depends: centreon-common (>= 24.10~) but it is not going to be installed
                   Depends: centreon-common (< 25.04~) but it is not going to be installed
                   Depends: centreon-trap (= 24.10.13-1759374700.0a37f08+deb12u1) but it is not going to be installed
                   Depends: centreon-engine (>= 24.10~) but it is not installable
                   Depends: centreon-engine (< 25.04~) but it is not installable
                   Depends: centreon-broker-cbmod (>= 24.10~) but it is not installable
                   Depends: centreon-broker-cbmod (< 25.04~) but it is not installable
                   Depends: centreon-connector (>= 24.10~) but it is not installable
                   Depends: centreon-connector (< 25.04~) but it is not installable
                   Depends: centreon-gorgone-centreon-config (>= 24.10~) but it is not going to be installed
                   Depends: centreon-gorgone-centreon-config (< 25.04~) but it is not going to be installed
                   Recommends: centreon-plugin-applications-databases-mysql but it is not going to be installed
                   Recommends: centreon-plugin-applications-monitoring-centreon-central but it is not going to be installed
                   Recommends: centreon-plugin-applications-monitoring-centreon-database but it is not going to be installed
                   Recommends: centreon-plugin-applications-monitoring-centreon-poller but it is not going to be installed
                   Recommends: centreon-plugin-applications-protocol-dns but it is not going to be installed
                   Recommends: centreon-plugin-applications-protocol-ftp but it is not going to be installed
                   Recommends: centreon-plugin-applications-protocol-http but it is not going to be installed
                   Recommends: centreon-plugin-applications-protocol-ldap but it is not going to be installed
                   Recommends: centreon-plugin-applications-databases-mysql but it is not going to be installed
                   Recommends: centreon-plugin-hardware-printers-generic-snmp but it is not going to be installed
                   Recommends: centreon-plugin-hardware-ups-standard-rfc1628-snmp but it is not going to be installed
                   Recommends: centreon-plugin-network-cisco-standard-snmp but it is not going to be installed
                   Recommends: centreon-plugin-operatingsystems-linux-snmp but it is not going to be installed
                   Recommends: centreon-plugin-operatingsystems-windows-snmp but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
2025-10-03 08:00:06+02:00 - ERROR - Could not install Centreon (package centreon)

 

Thanks


Forum|alt.badge.img
  • Steward *
  • November 27, 2025

@lpinsivy did you manage to get any updates from your colleagues ? i am also having libssh-session-perl   when installing  poller on new Rpi5 with RaspiOS/ Debian 12 with stable release 24.10.

Thank you.


Forum|alt.badge.img
  • Steward *
  • November 28, 2025

hi ​@marek.polacik did you manage to get past your error ?


Forum|alt.badge.img+3
  • Steward *
  • November 28, 2025

Hi ​@fendi164, no i have stil this error.

i think, on new raspi OS these packages are not installable