Skip to main content

I wanted to install a new central server V23.04 based on an ALMALinux 9 installation.

I used the command found on the download page for centreon:

curl -L -s https://raw.githubusercontent.com/centreon/centreon/23.04.x/centreon/unattended.sh | sh 

After that i migrated my existing database (ALMALinux 8 + Centreon 23.04) to my new Central Server (ALMALinux 9 + Centreon 23.04)

For a brief moment everything was working but I havent updated the centreon plugins which I use.

After installing nearly 700 packages including the plugins and dependencies all monitored hosts and services stopped working and giving me the error code “Cannot execute command”

Are there any known problems ?

 

I also noticed that when using:

dnf install centreon-plugins*

that these errors appear:

Error:
 Problem 1: cannot install the best candidate for the job
  - nothing provides perl(JSON::Path) needed by centreon-plugin-Applications-Protocol-Jmx-20230706-100638.el9.noarch
 Problem 2: package centreon-plugin-Operatingsystems-Windows-Wsman-20230706-100638.el9.noarch requires perl(openwsman), but none of the providers can be installed
  - cannot install the best candidate for the job
  - nothing provides libwsman1 = 2.6.8-22.el9 needed by openwsman-perl-2.6.8-22.el9.x86_64
 Problem 3: package centreon-plugin-Applications-ActiveDirectory-Wsman-20230706-100638.el9.noarch requires perl(openwsman), but none of the providers can be installed
  - cannot install the best candidate for the job
  - nothing provides libwsman1 = 2.6.8-22.el9 needed by openwsman-perl-2.6.8-22.el9.x86_64
 Problem 4: package centreon-plugin-Virtualization-Vmware2-Esx-Wsman-20230706-100638.el9.noarch requires perl(openwsman), but none of the providers can be installed
  - cannot install the best candidate for the job
  - nothing provides libwsman1 = 2.6.8-22.el9 needed by openwsman-perl-2.6.8-22.el9.x86_64
 Problem 5: package centreon-plugin-Applications-Iis-Wsman-20230706-100638.el9.noarch requires perl(openwsman), but none of the providers can be installed
  - cannot install the best candidate for the job
  - nothing provides libwsman1 = 2.6.8-22.el9 needed by openwsman-perl-2.6.8-22.el9.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

 

ignore them?

 

dnf install centreon-plugins* -x=*Jmx* -x=*Wsman*

 


Actually the way around it is 
sudo yum install centreon-plugin\* --exclude=centreon-plugin-Applications-ActiveDirectory-Wsman,centreon-plugin-Virtualization-Vmware2-Esx-Wsman,centreon-plugin-Operatingsystems-Windows-Wsman,centreon-plugin-Applications-Iis-Wsman,centreon-plugin-Applications-Protocol-Jmx

with the caveat that youll miss the excluded plugins.


Reply