Notifications are not working after migrating to check mk 2.0 raw edition. Noticing the below error related to livestatus in nagios.log . The nagios config files under /omd/sites/nagios/etc/nagios/conf.d are same in both versions.
[1641450296] livestatus: Timeperiod cache not updated, there are no timeperiods (yet)
Please advise how to overcome this issue to send the notifications.
By default time period settings 24x7 is already available . However, I have added new time period as shtime_period_1_1 as shown in attached screenshot . But still notifications are not working . var/log/nagios.log has below error message.
notifications test, please ignore
[1641897080] livestatus: Timeperiod cache not updated, there are no timeperiods (yet)
[1641897140] livestatus: Timeperiod cache not updated, there are no timeperiods (yet)
[1641897200] livestatus: Timeperiod cache not updated, there are no timeperiods (yet)
[1641897260] livestatus: Timeperiod cache not updated, there are no timeperiods (yet)
Hi,
on my test site there’s no file timeperiods.cfg in etc/nagios/conf.d/. I can find the file check_mk_objects.cfg with the section define timeperiod. Do you have this section in check_mk_objects.cfg?
Can you find your new timeperiod in one of the nagios configuration files?
In your example output I can’t see the new timeperiod always1.
Yes, Its available in below file. Do you think that copying all the contents of etc/nagios/conf.d/timeperiods.cfg to etc/nagios/conf.d/check_mk_objects.cfg will work?
I have defined the time period (time_period_1) I have created in check_mk dashboard in service for which i’m testing the notifications but still its not working.
So in my case the time period defined from check_mk dashboard which added entries to etc/nagios/conf.d/check_mk_objects.cfg and my time period config from previous version which is under etc/nagios/conf.d/timeperiods.cfg both these options not sending the notifications.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.