On the Centreon web interface I have many services like (Disk-Global, Packet-Errors-Global and Traffic-Global) that return the following error message:
UNKNOWN: No entry found (maybe you should reload cache file)
However, if I run these same commands from the console all the statuses are OK.
Moreover, when I launch a check from the web interface I have the following message: Oops, something went wrong
I specify that I checked the rights of the folder and files /var/lib/centreon/centplugins and that everyone belongs to centreon (folder) and centreon-engine (files).
What to do ?
Best answer by Intence-Tech
My centreon server being virtualized and the disks configured in LVM I followed this tutorial to extend my partition /dev/sda2 in order to extend the mount /var/lib/centreon : Link
I made some progress on the problem, it is indeed the cache files that cause me all my worries: unknown status, impossibility of rechecking a service from the web interface.
if I apply an rm -rf /var/lib/centreon/centplugins/* I have the ok status again for all of my services, the same goes for the recheck which starts again.
But when the cache files are recreated it makes the mess again.
So by creating a script that deletes files from /var/lib/centreon/centplugins in a loop I recovered the ok status of all my services.
But it's not clean at all to do like that, could centreon be prevented from writing cache files in this folder?
My centreon server being virtualized and the disks configured in LVM I followed this tutorial to extend my partition /dev/sda2 in order to extend the mount /var/lib/centreon : Link
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.