Solved

Broker-retention service 'unknown' not a file or cannot be read

  • 17 February 2022
  • 2 replies
  • 368 views

Userlevel 1
Badge +6

Hi,

A more minor issue I have since a couple of months. If I remember correctly, it started after I did update the plugin.

The service Broker-Centreon give me an unknow status

/usr/lib/centreon/plugins/centreon_centreon_central.pl --plugin=apps::centreon::local::plugin --mode=retention-broker --broker-config='' --broker-config='' --verbose

Statut détaillé
UNKNOWN: '': not a file or cannot be read - '': not a file or cannot be read
Informations d'état étendues
Checking config ''
Checking config ''

 

I did read : https://github.com/centreon/centreon-plugins/issues/1404

And added the two macros with the path in the custom template :

$_HOSTSQLCFGFILE$=/var/lib/centreon-broker/central-broker-master-stats.json
$_HOSTRRDCFGFILE$=/var/lib/centreon-broker/central-rrd-master-stats.json

But the service stays with an UNKNOWN result.

 

Thx for any help you will provide

icon

Best answer by Thibault 17 February 2022, 17:13

View original

2 replies

Userlevel 3
Badge +5

Hello,

This mode is deprecated and replaced by Broker-Stats as provided by the Plugin-Pack Centreon Central, you may wanna use this one instead :)

Hope this helps!

Userlevel 1
Badge +6

Thank you I’ll disable Broker-retention as Broker-Stats was already running.

Reply