Question

Centreon Upgrado to 22.10

  • 27 December 2022
  • 8 replies
  • 402 views

Badge +3

Hello,

After i upgrade Centreon to 22.10 the Plugin Broker-Stats (App-Monitoring-Centreon-Broker-Stats-Poller-custom) stop working and give this error:

/usr/lib/centreon/plugins//centreon_centreon_central.pl --plugin=apps::centreon::local::plugin --hostname=10.80.247.210 --mode=broker-stats --broker-stats-file='/var/lib/centreon-engine/*-module-stats.json' --filter-name='' --warning-speed-events='' --critical-speed-events='' --warning-queued-events='' --critical-queued-events='' --warning-unacknowledged-events='' --critical-unacknowledged-events='' --warning-status='' --critical-status='%{type} eq "output" and %{queue_file_enabled} =~ /true|yes/i' --verbose --remote --ssh-option='-l=centreon'
Unknown option: remote at /usr/lib/centreon/plugins//centreon_centreon_central.pl line 2230.

 

Can you help please?
 


8 replies

Badge +6

Hello,

I have the same problem

Userlevel 5
Badge +14

quick question for both of you

did you update the plugin packs, plugin pack manager etc… after upgrading centreon?

and did you “update” the extension in the extension manager

and did you update the pack in the plugin pack manager 

and after that, did you upgrade the plugin themselves (the actual perl command)

(phew)

(do this : 

yum update centreon-pp-manager

yum update centreon-license-manager

yum install centreon-pack-*

then verify that you did this step

Update a Centreon 22.10 platform | Centreon Documentation

)

 

on your central server can you run this and show the output

rpm -qa | grep -i centreon-central

 

as you have the unknow option error, you plugin is up to date, but the plugin pack that configure the command is either not up to date, or simply bugged

if you did all the “update” I listed above, then it’s a plugin pack bug, it happens sometimes and the support should handle that (but they will ask all I said here)

Badge +3

Hi,

I have everything updated.

Is the output:

[root@sysvoicecentral ]# rpm -qa|grep -i centreon.central
centreon-plugin-Applications-Monitoring-Centreon-Central-20221215-102705.el7.centos.noarch
centreon-central-22.10.2-12.el7.centos.noarch
 

Best Regards

Badge +6
Hello,For me this is not a platform update.I installed at the latest maintenance level.centreon-pp-manager.noarch 22.10.0-6.el8centreon-license-manager.noarch 22.10.0-5.el8centreon-license-manager-common.noarch 22.10.0-5.el8centreon-pack-* does not exist on the repositories.rpm -qa|grep centreon-centralcentreon-central-22.10.2-12.el8.noarchis it a bug?Thank you
Userlevel 5
Badge +14

@nunomla and  @LEBRETON 

you will both need to open a support ticket, they may already be aware of the problem

they wil ask you some stuff about your setup

 

I see that both of you don”t have the “pack” (as in centreon plugin pack), this should be installed

 

I may be confused because I am using CES(business) which come with plugin and plugin pack and the plugin pack install all the command and template to use the “plugins”

I don’t know if you use CES or another version of centreon and don’t have access to the pack or if centreon changed something. the “IT” version should allow you to get plugin packs, the “open source” doesn’t according to the webpage

so if you have the “App-Monitoring-Centreon-Broker-Stats-Poller-custom” service, it comes from a pack

 

=> support https://support.centreon.com/ 

 

Userlevel 3
Badge +9

Hi,

 

The plugin is using a new ssh backend but the changes were not applied in the Plugin Pack yet. Sorry for the inconvenience

 

For the service template App-Monitoring-Centreon-Broker-Stats-Central-custom, you will need to do the SSH key exchange between the centreon@<IP central server> and centreon-engine@<IP of the poller monitoring the central server> users and add “--ssh-username=centreon” to the EXTRAOPTION macro.

For the service template App-Monitoring-Centreon-Broker-Stats-Poller-custom, replace “--verbose --remote --ssh-option='-l=centreon'” by “--verbose --ssh-username=centreon” in EXTRAOPTIONS macro.

 

Regards,

itoussies.

Badge +6

Hello,

Here is my Centreon configuration:
- A centreon Central with a centreon-engine in charge of monitoring all the pollers of my infrastructure
- A poller-infra with centreon-engine responsible for monitoring the Central and the remote base.

For the service template App-Monitoring-Centreon-Broker-Stats-Poller-custom, i make SSH key exchange between the centreon-engine@<IP central server> and centreon-engine@<IP of the poller monitoring my infrastructure> users and EXTRAOPTIONS is empty

For the service template App-Monitoring-Centreon-Broker-Stats-Central-custom,i make SSH key exchange between the centreon-engine@<IP of the poller monitoring the central server> and centreon-engine@<IP Central server> users and EXTRAOPTIONS is empty.

I don't know if this setup is correct, but it works.

Thanks

Userlevel 3
Badge +9

Yeah this one works too.

Reply