Page 1 of 1

Time Period Missing

Posted: Wed Oct 25, 2017 2:30 pm
by jandrews-flhi
While attempting to deploy new time periods to all of the users, I noticed an error get thrown.
"User does not have a valid timeperiod for deployment. The timeperiod will have to be configured from the Core Config Manager."
After seeing this error I went to my Notification Preferences to see what my current Time Period was setup as and thats when I noticed the following..

Image

Does anyone know a solution to this? I've tried Firefox, Chrome, and Safari. I've tried clearing my cache, restarting the server, etc... The Time Period form is just gone.

Re: Time Period Missing

Posted: Wed Oct 25, 2017 3:38 pm
by kyang
What version of XI are you on and OS?

Do you have time periods in your Core Config Manager? Should be under the alerting tab.

You could run this command from you XI terminal, and show us the output.

Code: Select all

cat /usr/local/nagios/etc/timeperiods.cfg

Code: Select all

cat /usr/local/nagios/etc/contacts.cfg

Re: Time Period Missing

Posted: Thu Oct 26, 2017 9:19 am
by jandrews-flhi
kyang wrote:What version of XI are you on and OS?

Do you have time periods in your Core Config Manager? Should be under the alerting tab.
Yes, that was the first thing I checked when it reported the error mentioned above.

Code: Select all

Nagios XI 5.4.10

Code: Select all

CentOS Linux release 7.4.1708 (Core)
Image

Attached are the outputs you asked for.

Re: Time Period Missing

Posted: Thu Oct 26, 2017 12:31 pm
by kyang
I ran into the same exact issue when assigning the wrong "xxx_notification_times" for a different user.

For example, I created a new one called test_notification_times --> in the Core Config Manager, I went to Contacts --> nagiosadmin --> edit --> alert settings --> host/service time periods and changed both to test_notification_times.

Went back to nagiosadmin in the upper right corner, clicked on notification preferences --> time periods --> and there are no time periods just like yours.


So I would make sure each contact has the same name and same time periods listed for themselves in the contacts --> alert settings --> host/service. like this --> contact = nagiosadmin --> time period = nagiosadmin_notification_times

Let me know how this goes.

Re: Time Period Missing

Posted: Thu Oct 26, 2017 2:22 pm
by jandrews-flhi
Kyang,

Thank you for the update. That works perfect.

Re: Time Period Missing

Posted: Thu Oct 26, 2017 2:32 pm
by kyang
Glad that works for you!

Do you have any more questions or are we okay to close this thread?

Re: Time Period Missing

Posted: Thu Oct 26, 2017 3:52 pm
by jandrews-flhi
Nope, that was it. Close away.

Re: Time Period Missing

Posted: Thu Oct 26, 2017 4:09 pm
by kyang
Sounds great! I'll be closing this topic as resolved!

If you have any more questions, feel free to create another thread!

Thank you for using the Nagios Support Forum!