Page 1 of 1

Nagios complains that a named period is not defined

Posted: Mon Mar 14, 2022 11:13 pm
by russell.park
When we try to apply our config Nagios complains that the Service Notification Period "nagiosadmin_notifications_times" is not defined anywhere. In the Time period's tab I can see that time period so it does exist. Any way I can track this issue and see what's triggering it?

Thanks.

Re: Nagios complains that a named period is not defined

Posted: Tue Mar 22, 2022 3:38 pm
by gsmith
Hi

First try this process:
The configuration is stored in the database, then written to the config files, and Nagios
imports the config files. If you think your config files are out of sync with your database
do this to get the latest from the database:
1. Configure, Core Config Manager
2. Under Tools in the left-hand menu select "Config File Management"
3. Hit the red "Delete Files" button
4. Hit the blue "Write Configs" button
5. Hit the white "Verify Files" button
6. Under Quick Tools in the left-hand menu hit the "Apply Configuration" link
After performing the above see if you can assign "nagiosadmin_notifications_times" to one of your
Services, and then "Apply Configuration" to see if you still get the error.

You can also see the full output that occurs when you "Apply Configuration" by clicking on the file icon as shown:
Image022.jpg
If none of the above helps then please send us a System Profile so I can take a look:
1. Login to the Nagios XI GUI using a web browser.
2. Click the "Admin" > "System Profile" Menu
3. Click the "Download Profile" button
4. Save the profile.zip file and share the file in a private message and then reply to this post to bring it up in the queue.

Thanks