Skip to main content
Question

No Notifications in Event Log

  • October 28, 2022
  • 10 replies
  • 649 views

Forum|alt.badge.img+1

Good evening,

I have a strange problem, in the event log I don't see all events. I can see Aknowledge, Hard, Soft Events from Services and Hosts.


But in the event log no noftifications messages appear.
Also in the timeline I can't find any notifications.

What can be the reason for this?

Many greetings
Martin

10 replies

Forum|alt.badge.img
  • Steward *
  • 1 reply
  • November 2, 2022

 

Hello,

By default, the interface does not display notifications.

Did you check the box correctly?

 


Forum|alt.badge.img+1
  • Author
  • Steward *
  • 2 replies
  • November 2, 2022

Hi!

Yes I have checked the check box correctly.
I suspect that the messages are not stored in the database.
But they are sent by the engine.

Thanks
Martin


ponchoh
Centreonian
Forum|alt.badge.img+14
  • Centreonian
  • 531 replies
  • November 2, 2022

hello @loopback maybe set some date ranges? and another with a log period?

 

 


Forum|alt.badge.img+5
  • Steward **
  • 16 replies
  • November 5, 2022

What do you get if you check the last inserts in your `centreon_storage`.notifications table?

SELECT * FROM
(
SELECT * FROM `centreon_storage`.notifications ORDER BY id DESC LIMIT 10
) AS sub
ORDER BY id ASC;

Forum|alt.badge.img+4
  • Steward **
  • 20 replies
  • November 24, 2022

Hello,

I have the same problem as you, my notifications are working fine but there is no trace in the service and host history.

I'm interested if a solution is found.


Forum|alt.badge.img+1

We have the same problem. 


Forum|alt.badge.img+2
  • Steward *
  • 3 replies
  • February 16, 2023

Hello,

I found a work around for this issue:

Configuration  >  Pollers  >  Engine configuration > YOUR ENGINE > Log Option:

Change Logger version from v2 to v1 and export your poller. I think there is something wrong with the new default logging behavior. Maybe changing some logging options on v2 also do the trick.


Forum|alt.badge.img+4
  • Steward **
  • 20 replies
  • April 21, 2023

Hello,

It’s working, thank you !

We can close this topic


Forum|alt.badge.img+6
  • Steward **
  • 33 replies
  • August 25, 2023

Hello everyone,

 

I encountered the same issue with my pollers (no notifications appearing on the event logger).

When I noticed your messages here, I was on the verge of reverting the engine logger version to V1 (legacy, with epoch timestamps). However, I discovered that by default, when you select V2 (ISO-8601, with log level fine-tuning), it sets the "Notifications" to "Error".

Changing it to "Info" and exporting the configuration resolved the issue and allowed us to view notifications in the event logs as it need to be.

 

Best regards,

 

PS: A bit stranger that none from centreon have helped us with this basic stuff after so many months !! ;-(

 


omercier
Centreonian
Forum|alt.badge.img+13
  • Centreonian
  • 278 replies
  • August 25, 2023

Hi,

Sorry, this topic has gone under the radar…

The log level of Notifications has been badly set in the introduction of the improved Engine logger, in 22.04, and has been fixed in 22.10, but only for new installs or upgrades from prior to 22.04 platforms (we avoid changing the existing configurations in the upgrade scripts).

To illustrate:

  • if you created your pollers on a 22.04 platform, or on a previous version and then upgraded to 22.04, you may want to change this setting.
  • If you created your pollers on a platform prior or higher to 22.04, and then upgraded to 22.10 or higher, you should not have to change anything.