Question

JSON files not found: module-stats.json No such file or directory


Badge +2

JSON files not found: module-stats.json No such file or directory

In the centcore.log file a lot af lines with this messages:
cat: /centreon/appli/engine/lib/centreon-engine/prod-module-stats.json: No such file or directory
cat: /centreon/appli/engine/lib/centreon-engine/prod-module-stats.json: No such file or directory
cat: /centreon/appli/engine/lib/centreon-engine/prod-module-stats.json: No such file or directory
cat: /centreon/appli/engine/lib/centreon-engine/prod-module-stats.json: No such file or directory
cat: /centreon/appli/engine/lib/centreon-engine/prod-module-stats.json: No such file or directory
cat: /centreon/appli/engine/lib/centreon-engine/prod-module-stats.json: No such file or directory
cat: /centreon/appli/engine/lib/centreon-engine/prod-module-stats.json: No such file or directory

And by checking on the poller the json file is really missing

ll /centreon/appli/engine/lib/centreon-engine/prod-module-stats.json
ls: cannot access /centreon/appli/engine/lib/centreon-engine/prod-module-stats.json: No such file or directory

I need to restart broker module or centengine to recreate this file but this issue often comes back
and my centcore.log file is polluted

How can i definitly solve this issue without restart each time the broker?
Is a way to recreate the json file by  commande line?
 


3 replies

Userlevel 5
Badge +16

Hello Mat,

Which version of centreon are you ?

Badge +2

Hello

Centreon 18.10.2

(commit f1decf464)

D
Userlevel 5
Badge +16

Quite old.
I need to check if we get similar issue in this version.
Let’s do some archeology.

Reply