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?