Notification periods being ignored

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
turner2151
Posts: 2
Joined: Sun May 03, 2020 7:21 am

Notification periods being ignored

Post by turner2151 »

Good morning,

I have a wonderful setup which is all working fine and I have made some manual additions directly on the server. However, my notification periods are being ignored - emails are being sent at any hours, every hour for non critical servers / devices (which is how I have setup our "Production" notifications).


Example, one of the servers:

Code: Select all

define host {
      host_name                       TESTSERVER
      alias                           TESTSERVER
      address                         192.168.0.2
      use                             linux-server
      check_command                   check-host-alive
      max_check_attempts              1
      check_interval                  1
      retry_interval                  1
      check_period                    workhours
      check_freshness                 1
      contact_groups                  admins
      notification_interval           2
      notification_period             workhours
      notifications_enabled           1
      register                        1
      notification_interval           30

}

Example of timeperiods:

Code: Select all

define timeperiod {

    name                    workhours
    timeperiod_name         workhours
    alias                   Normal Work Hours

    monday                  11:00-17:00
    tuesday                 11:00-17:00
    wednesday               11:00-17:00
    thursday                11:00-17:00
    friday                  11:00-17:00
}
The timeperiods cfg file is also enabled in the nagios config.

Many thanks for any help in advance!
turner2151
Posts: 2
Joined: Sun May 03, 2020 7:21 am

Re: Notification periods being ignored

Post by turner2151 »

This can be closed, its fixed.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Notification periods being ignored

Post by benjaminsmith »

Hi,
This can be closed, its fixed.
Excellent! Glad you were able to get it resolved.

Thanks for trying out Nagios XI and feel free to open another post if you have any new questions.

Benjamin
Nagios Support Team
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked