-
Notifications
You must be signed in to change notification settings - Fork 2
Adding new cycle for nagios notifications
Freddie Akeroyd edited this page Feb 27, 2024
·
8 revisions
Nagios has a file that lists time periods that notifications will be emailed in, many are "all the time" but some are set to be within cycle only, particularly ones that notify scientists. The service will always go red in nagios web display, but not send an email alert unless the current time is within the linked timeperiod. So this file needs to be updated with new isis cycle dates as appropriate. To do this:
- log onto control-mon.isis.cclrc.ac.uk linux machine
- cd /usr/local/nagios/etc/objects
- edit
timeperiods.cfgwith your favourite editor. At the bottom of the file, find the timeperiod calledisis_cycleand add a new line in teh same format as the rest. We add friday before start of cycle for start and end of cycle for end of timeperiod. - run
sudo service nagios reloadto load changes