Home » Categories » Products » Nagios XI » Documentation » Architecture

Nagios XI - Recurring Downtime System

Recurring Downtime Overview

Nagios XI gives you the ability to schedule downtime that re-occurs on a regular basis.  This is called recurring downtime.  This document describes the components of the recurring downtime system, as well as troubleshooting information.

 

Recurring Downtime Architecture

An architectural overview of the recurring downtime system is shown in the image below.  A detailed description of each step follows later.

 

 

The recurring downtime system shown in the image above works as follows:

  1. When you use the Nagios XI UI to define recurring downtime schedules, the schedules are written to the /usr/local/nagios/etc/recurringdowntime.cfg file on your XI server.

  2. The recurring downtime cron job (/usr/local/nagiosxi/cron/recurringdowntime.pl) reads the config file periodically and determines if any hosts or services should go into downtime.

  3. If the cron job determines that a host or service should enter downtime (based on the schedule you defined in the web UI), it will send a downtime command to the Nagios Core monitoring engine via its external command pipe (/usr/local/nagios/var/rw/nagios.cmd).

  4. The Nagios Core monitoring engine reads the external command pipe and puts the required host or service into scheduled downtime.

 

Troubleshooting Problems

If you have problems with recurring downtime not working properly, check the following items:

 

  • Ensure the recurring downtime configuration file has the correct ownership and permissions, as shown below:

    • -rw-rw-r-- 1 apache nagios 0 Jan  2  2012 /usr/local/nagios/etc/recurringdowntime.cfg
  • Ensure the recurring downtime configuration is being written to the /usr/local/nagios/etc/recurringdowntime.cfg file

  • Make sure the recurring downtime cron job is running properly and not returning errors.  You can do this by examining the recurring downtime log file (/usr/local/nagiosxi/var/recurringdowntime.log)

 

Final Thoughts

For any support related questions please visit the Nagios Support Forums at:

http://support.nagios.com/forum/



Special Offer For Knowledgebase Visitors! Get a huge discount on Nagios Log Server by clicking below.

Get 60% Off Nagios Log Server!

Did you know? Nagios provides complete monitoring of: Windows, Linux, UNIX, Servers, Websites, SNMP, DHCP, DNS, Email, Storage, Files, Apache, IIS, EC2, and more!

0 (0)
Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Nagios XI - Web Interface Architecture
Viewed 8241 times since Wed, Jan 28, 2015
Nagios XI - Architecture Overview
Viewed 12470 times since Tue, Jan 27, 2015
Nagios XI - How XI Works
Viewed 6670 times since Wed, Jul 19, 2017
Nagios XI - Maximizing Performance In Nagios XI
Viewed 6243 times since Thu, Jan 28, 2016
Nagios XI - Command Subsystem Architecture
Viewed 6636 times since Thu, Feb 5, 2015
Nagios XI - Best Practices - NWC15
Viewed 8836 times since Thu, Feb 4, 2016
Nagios XI - Cleaner Cron Architecure
Viewed 4873 times since Sun, Feb 8, 2015
Nagios XI - How to Manage Remote Nagios XI Servers
Viewed 5820 times since Thu, Jan 28, 2016
Nagios XI - Cron Jobs
Viewed 10580 times since Thu, Feb 5, 2015
Nagios XI - Manage MIBs Architecture
Viewed 14790 times since Tue, Feb 10, 2015