Page 1 of 1

Warning alerts

Posted: Mon Jun 15, 2020 12:49 am
by RIDS_I2MP
H team,

We want to suppress warning alerts for all services in Nagios Core.
Could you please help me on the same?

I don't know about the path of service definition and from where we need to remove them.

Thanks in advance!!

Re: Warning alerts

Posted: Mon Jun 15, 2020 11:33 am
by jbrunkow
There are a couple ways to do this, depending on what the situation is. You can mass acknowledge unwanted alerts or schedule downtime for planned maintenance.

Click on Mass Acknowledge under Incident Management on the left pane of your home page in XI > then choose the appropriate values for Command Type, Time, and Comment > click Submit Commands.

You could also click on Scheduled Downtime under Incident Management on the left pane if you would like to suppress a future notification.

[urlhttps://assets.nagios.com/downloads/nagiosxi/docs/Configuring-Downtime-In-Nagios%20XI.pdf]DOWNTIME DOCUMENT[/url]

Re: Warning alerts

Posted: Mon Jun 15, 2020 5:02 pm
by benjaminsmith
Hi,
We want to suppress warning alerts for all services in Nagios Core.
Just to clarify, is this an XI or Core question? You can also use the Bulk Mods Tool in XI, to remove the Warning option from all your services. Choose the Change Single Configuration Option and select Notification Options.

Re: Warning alerts

Posted: Tue Jun 16, 2020 5:51 am
by RIDS_I2MP
Hello,

This question is for Nagios Core.
Please help!!

Re: Warning alerts

Posted: Tue Jun 16, 2020 10:10 am
by scottwilkerson
RIDS_I2MP wrote:Hello,

This question is for Nagios Core.
Please help!!
There is no way to do this globally in Core, what you can do is add the following to each of the service definitions:

Code: Select all

notification_options     c,u,r,f,s
w = send notifications on a WARNING state,
u = send notifications on an UNKNOWN state,
c = send notifications on a CRITICAL state,
r = send notifications on recoveries (OK state),
f = send notifications when the service starts and stops flapping, and
s = send notifications when scheduled downtime starts and ends.

Re: Warning alerts

Posted: Mon Jun 22, 2020 7:38 am
by RIDS_I2MP
Hi,

can you please provide the path of service definition?

Thanks

Re: Warning alerts

Posted: Mon Jun 22, 2020 2:28 pm
by lmiltchev
The path would depend on how you configured your Nagios Core server. Usually, the configs are under the "/usr/local/nagios/etc/objects" directory.