Skip to main content
Question

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

  • May 30, 2022
  • 3 replies
  • 535 views

Forum|alt.badge.img+4

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

Forum|alt.badge.img+16
  • Steward **
  • May 31, 2022

Hello Mat,

Which version of centreon are you ?


Forum|alt.badge.img+4
  • Author
  • Steward **
  • May 31, 2022

Hello

Centreon 18.10.2

(commit f1decf464)

D

Forum|alt.badge.img+16
  • Steward **
  • May 31, 2022

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