How to turn off email notifications between specific time

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
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.
You do not have the required permissions to view the files attached to this post.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: How to turn off email notifications between specific tim

Post by mcapra »

You could schedule a recurring period of downtime every day between 20:00 and 03:00.

I've attached an internal document that discusses this topic. Refer to the "The Recurring Scheduled Downtime Menu" section. This allows you to schedule downtime on a regular basis, so it sounds like it should be perfect for your use case.

With the "Add Recurring Downtime Schedule" tool, you would set your Start Time at 20:00 and the duration to 420 for 7 hours.
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
https://www.mcapra.com/
blaha
Posts: 19
Joined: Fri Jul 01, 2016 6:01 am

Re: How to turn off email notifications between specific tim

Post by blaha »

Hi, I have only item Downtime and I don't know how to set it, more in picture.
Recurring Downtime is not there.
You do not have the required permissions to view the files attached to this post.
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 are using the Nagios Core interface, thats why it's not there.

You need to use the Nagios XI interface to be able to add recurring downtime.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
blaha
Posts: 19
Joined: Fri Jul 01, 2016 6:01 am

Re: How to turn off email notifications between specific tim

Post by blaha »

Hi, how to use Nagios XI interface? Can I something install?
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: How to turn off email notifications between specific tim

Post by mcapra »

It's worth asking, are you sure you did a Nagios XI installation and not a Nagios Core installation? This question was asked in the Nagios XI section; The process is a bit different for Nagios Core.

Are you able to access the http://<server address>/nagiosxi/ path? Essentially, switching between the XI and Core interfaces is as easy as using the /nagios or /nagiosxi paths.
Former Nagios employee
https://www.mcapra.com/
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: How to turn off email notifications between specific tim

Post by eloyd »

Either way, I'd say SKIP the recurring downtime, and just use a notifications_period entry that excludes your backup timeframe window. You're not "down" you just don't want notifications during that timeframe.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: How to turn off email notifications between specific tim

Post by mcapra »

Let us know if you need additional assistance @blaha!
Former Nagios employee
https://www.mcapra.com/
blaha
Posts: 19
Joined: Fri Jul 01, 2016 6:01 am

Re: How to turn off email notifications between specific tim

Post by blaha »

Hi, I tried URL http://192.168.100.103/nagiosxi and output is: Not Found

The requested URL /nagiosxi was not found on this server.
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 do not have Nagios XI and hence you do not get the advanced features of scheduling recurring downtime.

You could set it up as a cron job using the command pipe. This web page has some examples:

http://sites.box293.com/nagios/guides/t ... e-and-cgis

See the example "Scheduling Downtime On The Nagios Host - Recurring"
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked