Skip to main content

Hi,

I tried today to setup a new centreon central server using the latest Rocky Linux 8.6 as the host, since i was under the assumption that RL was the standard followup to centos, and i found reference to it in the unattended script.

I found it perfectly working (only had a simple issue regarding permissions in /etc/centreon-engine and /etc/centreon-broker), but i still have one issue that i cannot find a solution for, i cannot reload configuration of restart centengine from the webui. If i generate and move configuration files, then restart manually centengine, all is good and monitoring works fine. But trying to reload or restart from webui result in this log in gorgoned.log

2022-07-08 18:17:49 - INFO - [legacycmd] Handling command 'ENGINERELOAD', Target: '1'
2022-07-08 18:17:49 - ERROR - [action] validate plugins - unsupported operating system
2022-07-08 18:20:00 - INFO - [cron] Launching job 'broker_stats'
2022-07-08 18:20:00 - INFO - [cron] Launching job 'engine_stats'
2022-07-08 18:20:00 - INFO - [statistics] Collecting Engine statistics from target '1'
2022-07-08 18:20:06 - INFO - [autodiscovery] -class- host discovery - sync started
2022-07-08 18:20:10 - INFO - [core] Setcoreid changed 1
2022-07-08 18:20:26 - INFO - [legacycmd] Handling command 'ENGINERESTART', Target: '1'
2022-07-08 18:20:26 - ERROR - [action] validate plugins - unsupported operating system
So it does appear that (i know, i was asking for trouble by not following os requirements) Rocky Linux 8 is indeed not supported.

So my question is the following : is there any plan to officially support Rocky Linux 8? It should work just as well as other RHEL8 derivatives, shouldn’t it?

For my situation, i’m thinking about switching to Oracle Linux 8 on this server, but i wanted to stay as far from Oracle as i could as i don’t quite like the company...

Hi, 


Can you share the result of: 

 

cat /etc/os-release 

 

please


Hi, of course, here it is :

NAME="Rocky Linux"
VERSION="8.6 (Green Obsidian)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.6"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Rocky Linux 8.6 (Green Obsidian)"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:rocky:rocky:8:GA"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
ROCKY_SUPPORT_PRODUCT="Rocky Linux"
ROCKY_SUPPORT_PRODUCT_VERSION="8"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8"


 

Thanks for your help!


Thanks, but sorry my mistake, the result of: 

 

lsb_release -a

 

 


Thanks, but sorry my mistake, the result of: 

 

lsb_release -a

 

 

Sure, i didn’t have redhat-lsb so at first i got a command not found, anyway here it is :

LSB Version:    :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID: Rocky
Description: Rocky Linux release 8.6 (Green Obsidian)
Release: 8.6
Codename: GreenObsidian

 


Ok, we’ll add it. 

 

You can in the mean time patch it manually here: https://github.com/centreon/centreon-gorgone/blob/baefa45a4bd39d80eec883b955a00ae8ccf095da/gorgone/modules/core/action/class.pm#L157 

 

Just add “|Rocky” to the regex expression should do the tricks. You have to restart gorgone after this modification. 


Ok, we’ll add it. 

 

You can in the mean time patch it manually here: https://github.com/centreon/centreon-gorgone/blob/baefa45a4bd39d80eec883b955a00ae8ccf095da/gorgone/modules/core/action/class.pm#L157 

 

Just add “|Rocky” to the regex expression should do the tricks. You have to restart gorgone after this modification. 

Awesome! It works perfectly now with the patch made! I tried reload and restart, both work fine now.

Thanks a lot!!!


Great, will be shipped with the next gorgone release. 


You’re welcome.


Reply