Question

"Event log" stop working after upgrade to 22.10.2

  • 26 December 2022
  • 2 replies
  • 178 views

Badge +3

Hi,
We had a Centreon 21.04 with CentOS 7 and recently we decide to follow this guide https://docs.centreon.com/docs/migrate/migrate-from-el-to-el/
in order to migrate to Oracle Linux 8 and upgrade to 22.10.2.
All seems fine, but we realize that “Event logs” section isn’t working properly.
The main problem is that "next page" is not warning and, we need to refresh the page in order to make work the "Apply period" botton: after the first click it stop working.

When the section work, all data seems be present.

With Chrome debugger, this is the exception when we click on "next page":

"Preview" section of the debugger
 


 

"Response" section of the debugger


 



The url is:

[URL]/centreon/include/eventLogs/xml/data.php?output=&oh=false&warning=true&unknown=true&critical=true&ok=true&unreachable=true&down=true&up=true&num=1&error=1&alert=true&notification=false&search_H=&search_S=&period=&StartDate=12/26/2022&EndDate=12/26/2022&StartTime=00:00&EndTime=24:00&limit=30&id=-1


Another problem is that “System Logs” doesn’t show nothing.

I note that before the update everything worked fine.
Hope someone can help us.
Thanks in advance.

Emanuele.


2 replies

Badge +3

Update:
If i take the data.php from the old server (from a backup) and i put it here (on the new one):
/usr/share/centreon/www/include/eventLogs/xml/data.php


All sections back to work fine.
Honestly, I don't know if that's a good thing.

Userlevel 1
Badge +7

We also have this thread here

 

Reply