Time Period Missing

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jandrews-flhi
Posts: 13
Joined: Wed Aug 02, 2017 9:05 am

Time Period Missing

Post 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.
kyang

Re: Time Period Missing

Post 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
jandrews-flhi
Posts: 13
Joined: Wed Aug 02, 2017 9:05 am

Re: Time Period Missing

Post 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.
You do not have the required permissions to view the files attached to this post.
kyang

Re: Time Period Missing

Post 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.
jandrews-flhi
Posts: 13
Joined: Wed Aug 02, 2017 9:05 am

Re: Time Period Missing

Post by jandrews-flhi »

Kyang,

Thank you for the update. That works perfect.
kyang

Re: Time Period Missing

Post by kyang »

Glad that works for you!

Do you have any more questions or are we okay to close this thread?
jandrews-flhi
Posts: 13
Joined: Wed Aug 02, 2017 9:05 am

Re: Time Period Missing

Post by jandrews-flhi »

Nope, that was it. Close away.
kyang

Re: Time Period Missing

Post 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!
Locked