Sticky

Centreon is now available on Debian 11

  • 11 July 2022
  • 3 replies
  • 2693 views

Userlevel 5
Badge +11

It’s all in the title: after several months of effort and thanks to the active support of many members in this group, the Centreon monitoring platform is now fully packaged for the Debian 11 Linux distribution. We passed the General Availability status this week!

 

This is applicable to both the open source and commercial editions of Centreon and available for software versions 22.04 and above.

 

Read this chapter in the online documentation to understand how to use the Debian 11 packages.

 

It is now time to rename this group from “Debian Support Beta Program” to “Centreon Debian User Group”.

 

This group is where the community of users hosting their Centreon Platform on a Debian distribution can help each others and share their experience. We’re convinced early beta testers who started this group will be keen in answering questions of newcomers to the world of Centreon x Debian 11!


3 replies

Badge +2

You rocks, great job ! 🎉

 

It seems that there are still some issues on Ubuntu LTS (20.04) :

$ sudo apt install centreon

Lecture des listes de paquets... Fait

Construction de l'arbre des dépendances

Lecture des informations d'état... Fait

Certains paquets ne peuvent être installés. Ceci peut signifier

que vous avez demandé l'impossible, ou bien, si vous utilisez

la distribution unstable, que certains paquets n'ont pas encore

été créés ou ne sont pas sortis d'Incoming.

L'information suivante devrait vous aider à résoudre la situation :

Les paquets suivants contiennent des dépendances non satisfaites :

 centreon : Dépend: centreon-central (>= 22.04~) mais ne sera pas installé

E: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l'état ».

If anyone knows how to solve it, i’m concerned 

Userlevel 1
Badge +11

Voici mes premiers tests:

 

  1. root@centreon-debian-test:/usr/lib/centreon/plugins# su - centreon-engine

    This account is currently not available.

  2.  

    Export configuration from WebUI write permission issue

    2 solutions: chmod a+w or usermod -aG www-data

  3. 14T17:02:40.087+04:00] [process] [info] [14558] Centreon Engine 22.04.0 starting ... (PID=14558)

    [2022-07-14T17:02:40.087+04:00] [process] [info] [14558] Local time is Thu Jul 14 17:02:40 2022

    [2022-07-14T17:02:40.087+04:00] [process] [info] [14558] LOG VERSION: 2.0

    [2022-07-14T17:02:40.095+04:00] [events] [info] [14558] Event broker module '/usr/lib64/centreon-engine/externalcmd.so' initialized successfully

    [2022-07-14T17:02:40.127+04:00] [events] [info] [14558] Event broker module '/usr/lib64/nagios/cbmod.so' initialized successfully

    [2022-07-14T17:02:40.127+04:00] [events] [info] [14558] INITIAL HOST STATE: centreon-debian-test;UP;HARD;1;OK - localhost: rta 0.048ms, lost 0%

    [2022-07-14T17:02:40.127+04:00] [events] [info] [14558] INITIAL SERVICE STATE: centreon-debian-test;Swap;UNKNOWN;HARD;3;UNKNOWN: SNMP Session: unable to create

    [2022-07-14T17:02:40.127+04:00] [events] [info] [14558] INITIAL SERVICE STATE: centreon-debian-test;Memory;UNKNOWN;HARD;3;UNKNOWN: SNMP Session: unable to create

    [2022-07-14T17:02:40.127+04:00] [events] [info] [14558] INITIAL SERVICE STATE: centreon-debian-test;Load;UNKNOWN;HARD;3;UNKNOWN: SNMP Session: unable to create

    [2022-07-14T17:02:40.127+04:00] [events] [info] [14558] INITIAL SERVICE STATE: centreon-debian-test;Cpu;UNKNOWN;HARD;3;UNKNOWN: SNMP Session: unable to create

    [2022-07-14T17:02:40.127+04:00] [events] [info] [14558] INITIAL SERVICE STATE: centreon-debian-test;Ping;OK;HARD;1;OK - localhost: rta 0.027ms, lost 0%

    [2022-07-14T17:02:40.155+04:00] [configuration] [info] [14558] Event loop start at Thu Jul 14 17:02:40 2022

    [2022-07-14T17:02:40.155+04:00] [process] [info] [14558] Configuration loaded, main loop starting.

    [2022-07-14T17:04:25.214+04:00] [process] [info] [14558] Caught SIG TERM, shutting down ...

    [2022-07-14T17:04:25.215+04:00] [process] [info] [14558] Successfully shutdown ... (PID=14558)

    [2022-07-14T17:04:25.220+04:00] [events] [info] [14558] Event broker module '/usr/lib64/centreon-engine/externalcmd.so' deinitialized successfully

    [2022-07-14T17:04:25.386+04:00] [events] [info] [14558] Event broker module '/usr/lib64/nagios/cbmod.so' deinitialized successfully

  4. root@centreon-debian-test:/usr/lib/centreon/plugins# /usr/lib/centreon/plugins/centreon_linux_snmp.pl --plugin=os::linux::snmp::plugin --mode=swap --hostname=localhost --snmp-version='3' --privprotocol=AES --privpassphrase=centreon2 --authprotocol=SHA256 --authpassphrase=centreon1 --snmp-username=centreon

    UNKNOWN: SNMP Session: unable to create

     

    root@centreon-debian-test:/usr/lib/centreon/plugins# snmpget -aSHA256 -Acentreon1 -xAES -Xcentreon2 -u centreon -l authpriv localhost .1.3.6.1.2.1.1.5.0

    SNMPv2-MIB::sysName.0 = STRING: centreon-debian-test

  5. During installation, you need to add snmp-mibs-downloader (from non-free debian repos) to have the mibs imported.

     

    In order to avoid mib issues, you need to comment the mib line in etcsnmp/snmp.conf as below:

     

    # As the snmp packages come without MIB files due to license reasons, loading

    # of MIBs is disabled by default. If you added the MIBs you can reenable

    # loading them by commenting out the following line.

    #mibs :

Badge +2

You rocks, great job ! 🎉

 

It seems that there are still some issues on Ubuntu LTS (20.04) :

$ sudo apt install centreon Lecture des listes de paquets... Fait Construction de l'arbre des dépendances Lecture des informations d'état... Fait Certains paquets ne peuvent être installés. Ceci peut signifier que vous avez demandé l'impossible, ou bien, si vous utilisez la distribution unstable, que certains paquets n'ont pas encore été créés ou ne sont pas sortis d'Incoming. L'information suivante devrait vous aider à résoudre la situation :

Les paquets suivants contiennent des dépendances non satisfaites :  centreon : Dépend: centreon-central (>= 22.04~) mais ne sera pas installé E: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l'état ».

If anyone knows how to solve it, i’m concerned 

Install works now for 22.04.7, solved.

Reply