API for Recurring Downtime

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
mkeey
Posts: 199
Joined: Mon Sep 25, 2017 11:13 am

API for Recurring Downtime

Post by mkeey »

Looking for an easy way to dump the Recurring Downtime for all Hosts on all XI's. Need Day, Start Time, End Time and Host. Checked the supplied API's but don't supply recurring downtime info. Assuming that's in a different table or database. Unless it's in a file that I could download and create a CSV.

Want to put all this info in our new CMDB.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: API for Recurring Downtime

Post by scottwilkerson »

Unfortunately we do not have an API for this, but all of the info can be found in this file

Code: Select all

/usr/local/nagios/etc/recurringdowntime.cfg
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked