Nagios xi - Disabling Notification and Alerts

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
annbingle
Posts: 3
Joined: Wed Jul 16, 2014 6:08 am

Nagios xi - Disabling Notification and Alerts

Post by annbingle »

Hi,
Good day!
We need to disable all alerts and notifications for everything we monitor in Nagios xi for a specific period of time. We know how to individually but for all, can you help us?
Thanks and have a great day!
Ann :?:
cmerchant
Posts: 546
Joined: Wed Sep 24, 2014 11:19 am

Re: Nagios xi - Disabling Notification and Alerts

Post by cmerchant »

Go into the Process info in the UI and disable it there,

xi --> Admin --> System Information --> Monitoring Engine Status --> Monitoring Engine Process --> click on green colored icon right of Notifications to disable.

The status icon will change to Red to indicate disabled. Click on the same icon to enable notifications.

There is also an external command facility to issue the command through a script via cron or CLI.


http://nagios.sourceforge.net/docs/nagi ... mands.html
http://www.nagios.org/developerinfo/externalcommands/
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagios xi - Disabling Notification and Alerts

Post by ssax »

You can also edit the file below and set enable_notifications=0 and restart nagios.

Code: Select all

/usr/local/nagios/etc/nagios.cfg
annbingle
Posts: 3
Joined: Wed Jul 16, 2014 6:08 am

Re: Nagios xi - Disabling Notification and Alerts

Post by annbingle »

Hello,
Thank you both so much for your response, I appreciate it.
Have a great day!
Ann :D
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Nagios xi - Disabling Notification and Alerts

Post by rajasegar »

How do you disable all monitoring for all hosts from the command line?
How to schedule downtime for all hosts and services from the command line?
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia

Re: Nagios xi - Disabling Notification and Alerts

Post by Box293 »

rajasegar wrote:How do you disable all monitoring for all hosts from the command line?
How to schedule downtime for all hosts and services from the command line?
Using the command pipe (nagios.cmd)

Click on
STOP_EXECUTING_HOST_CHECKS
or
SCHEDULE_HOSTGROUP_HOST_DOWNTIME (put all the hosts in a hostgroup)
for examples
http://old.nagios.org/developerinfo/ext ... ndlist.php
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Nagios xi - Disabling Notification and Alerts

Post by rajasegar »

Box293 wrote:
rajasegar wrote:How do you disable all monitoring for all hosts from the command line?
How to schedule downtime for all hosts and services from the command line?
Using the command pipe (nagios.cmd)

Click on
STOP_EXECUTING_HOST_CHECKS
or
SCHEDULE_HOSTGROUP_HOST_DOWNTIME (put all the hosts in a hostgroup)
for examples
http://old.nagios.org/developerinfo/ext ... ndlist.php
Ok. Thanks
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagios xi - Disabling Notification and Alerts

Post by ssax »

OP, can we mark this as resolved and lock the topic?
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Nagios xi - Disabling Notification and Alerts

Post by rajasegar »

ssax wrote:OP, can we mark this as resolved and lock the topic?
Ok. Please close this case
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation