Informations about rescheduled notifications
Posted: Fri Jul 17, 2015 5:43 am
Hello to all,
I'm using nagios 3.2.3 on my setup.
Looking on the documentation about the notifications and the time_periods I know they are applied at different levels and I've found this:
Hosts-Services Level
This is what I would like to obtain:
- host+service timeperiod 0-24
- contact timeperiod 7-18
- event notification time: 23
The alarm is triggered at 23. host+service timeperiod is valid. contact timeperiod is not valid. The notificaion will send out at 7AM, when it becomes valid.
BTW, readiung the doc, seems that the rescheduling of the notification happens only on host-services timeperiods.
Thanks for the support!
Simon
I'm using nagios 3.2.3 on my setup.
Looking on the documentation about the notifications and the time_periods I know they are applied at different levels and I've found this:
Hosts-Services Level
Contact LevelThe fourth host or service filter that must be passed is the time period test. Each host and service definition has a <notification_period> option that specifies which time period contains valid notification times for the host or service. If the time that the notification is being made does not fall within a valid time range in the specified time period, no one gets contacted. If it falls within a valid time range, the notification gets passed to the next filter... Note: If the time period filter is not passed, Nagios will reschedule the next notification for the host or service (if its in a non-OK state) for the next valid time present in the time period. This helps ensure that contacts are notified of problems as soon as possible when the next valid time in time period arrives.
Does it mean that if a notification has succesfully passed the service and host filters (in particular it's on a valid timeperiod) but on the contact level the contact has a different timeperiod that doesn't accept notifications, this notification is not rescheduled and will never sent out?The last filter that must be passed for each contact is the time period test. Each contact definition has a <notification_period> option that specifies which time period contains valid notification times for the contact. If the time that the notification is being made does not fall within a valid time range in the specified time period, the contact will not be notified. If it falls within a valid time range, the contact gets notified!
This is what I would like to obtain:
- host+service timeperiod 0-24
- contact timeperiod 7-18
- event notification time: 23
The alarm is triggered at 23. host+service timeperiod is valid. contact timeperiod is not valid. The notificaion will send out at 7AM, when it becomes valid.
BTW, readiung the doc, seems that the rescheduling of the notification happens only on host-services timeperiods.
Thanks for the support!
Simon