Skip to main content

Hello,

I am using centreon 24.10.6.

I have created recurring downtimes on certain services (as seen below), however they do not work and do not show up in Monitoring>Downtimes. 

On the server itself, manipulating recurring downtimes do not generate any logs anywhere, however it does affect the database and I can see the different entries. 

When creating regular downtimes however, it does work normally, showing up in the Monitoring section and in the logs on the server.

 

It might be a problem with rights on certain files as I’ve been having problems with that recently or that the process which is supposed to retrieve information from the database is not functional, but I haven’t been able to figure it out.

 

 

Thank you !

Hi ​@Jeankien 

Can you check /var/log/centreon/downtimeManager.log?


That file is empty, however /var/log/centreon/downtimeManager.log.1 contained this error :

PHP Warning:  file_put_contents(/var/lib/centreon/centcore/1739497801-downtimes): Failed to open stream: Permission denied in /usr/share/centreon/www/class/centreonDowntime.Broker.class.php on line 534

And when I checked the rights, everything from /var/lib/centreon/ is owned by centreon-broker: with permissions at 775.

 

 


Which are the rights on /var/lib/centreon/centcore directory?

# ls -lah /var/lib/centreon/centcore
total 0
drwxrwxr-x 2 centreon centreon 6 Jun 10 19:45 .
drwxrwxr-x 12 centreon centreon 171 Apr 18 15:14 ..

 


Every file and folder in /var/lib/centreon/* are the same:

-rwxrwxr-x centreon-broker centreon-broker …

 

 


did you change rights manually?

please use:

chown -R centreon:centreon /var/lib/centreon/centcore

 


Reply