Automatically pause notifications during certain times

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
justingl
Posts: 2
Joined: Thu Jul 25, 2019 5:14 am

Automatically pause notifications during certain times

Post by justingl »

Hi all,

I have a couple of SQL servers monitored via Nagios Core that get absolutely smashed during the backup windows. Is there anyway to stop notifications during the backup period? I've had a look around within the settings, and also googled the question but can't find anything that helped.

ta.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Automatically pause notifications during certain times

Post by scottwilkerson »

Setup a timeperiod that excluded those times and set this config directive for the service

Code: Select all

notification_period      new_timeperiod_name
https://assets.nagios.com/downloads/nag ... timeperiod
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
justingl
Posts: 2
Joined: Thu Jul 25, 2019 5:14 am

Re: Automatically pause notifications during certain times

Post by justingl »

Perfect, that worked, thanks.

All my googling and it was in the basic documentation. smh.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Automatically pause notifications during certain times

Post by scottwilkerson »

justingl wrote:Perfect, that worked, thanks.

All my googling and it was in the basic documentation. smh.
Great!

Locking
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked