centreon / centreon-archived

Centreon is a network, system and application monitoring tool. Centreon is the only AIOps Platform Providing Holistic Visibility to Complex IT Workflows from Cloud to Edge.
https://www.centreon.com
GNU General Public License v2.0
574 stars 240 forks source link

Centreon Livestatus Log #8246

Open haknaa opened 4 years ago

haknaa commented 4 years ago

Hello, I have trouble seeing the centreon log with livestatus after the rotation, I can only see the logs of the current day. I've been looking for weeks, but I can't find the solution. Do you have any ideas?

Centreon 19.04.4 livestatus 1.4.0p37

Thank

lpinsivy commented 4 years ago

Hi @haknaa, what livestatus are you talking about?

haknaa commented 4 years ago

Hi @lpinsivy ,

I'm using Thruk, getting the data through MK Livestatus. Livestatus is an API developed by Mathias Kettner

https://checkmk.com/cms_livestatus.html

Thanks.

Krounth commented 4 years ago

Hi all, I'm trying to create a installation of Centreon and Thruk using MK Livestatus too, i get the same problem. I'm using Centreon 19.04.1 y MK Livestatus 1.6.0p8.

The one problem i can see in the logs is: [1580381432] livestatus: Cannot open log archive '' It's like the module can't recive the correct path to the archive path.

Nor can I keep comments and acknowledgements after a restart of centengine.

Thanks for your attention.

BenoitPoulet commented 4 years ago

@Krounth as far as i know the last mklivestatus fully working with centreon-engine is : mk-livestatus-1.2.6p16

@haknaa Just add a restart of centreon-engine after the log rotation in logrotate

Please all note , sadly, that centreon engine in not compatible with any version ok mklivestatus after 19.04. And it's not provide any API like that.