How to turn off email notifications between specific time

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
blaha
Posts: 19
Joined: Fri Jul 01, 2016 6:01 am

How to turn off email notifications between specific time

Post by blaha »

Hi, how can I turn off email notifications between specific time of backup servers. For example, I backup every day between 20:00 - 03:00. How to exclude this time. Every day I have a lots of mail notification with alerts in mailbox. My timeperiods is in attachemnt.
Thank you
Jan.
Attachments
timeperiods.cfg
(3.11 KiB) Downloaded 239 times
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: How to turn off email notifications between specific tim

Post by Box293 »

You could make the backup server schedule downtime before it starts.

Otherwise you could setup a daily cron job to create the recurring downtime.

This page has some examples on how to do this:

http://sites.box293.com/nagios/guides/t ... e-and-cgis
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked