It’s a good idea to have macros for critical/warning levels on the host or its templates. But sometime even with this, it can be hard to manage such cases where you want to have high levels during the night, and lower levels one during the day.

With this definition, the values of the _CRITICAL and _WARNING macros will be set to 5 and 2 during the day, and will automatically be set to 20 and 10 during the night timeperiod. You can have as many modulations as you want.

Note

if some macros modulations overlap, the first modulation enabled will take the lead.

Depending on your configuration you may want to change the business impact of a specific host/service during the night. For example you don’t consider a specific application as business critical during the night because there are no users, so the impact may be lower for this time frame.

Depending on your configuration you may want to change the check_command during the night. As an example, you want to send more packets for a ping during the night because there is less network activity so that you can get more accurate data.