The Director aims to be your new favourite Icinga config deployment tool. Director is designed for those who want to automate their configuration deployment and those who want to grant their “point & click” users easy access to the configuration.
Go to file
Eric Lippmann d9b75c4a86 pgsql: Fix unexpected removal of current deployment
The director automatically removes uncollected deployments if they're
older than the running one. Deployments are uncollected if Icinga 2 did
not write a status file or startup log (yet). This happens when you
manage to ship a deployment while Icinga 2 is already preparing to
restart with a deployed configuration. It also removes deployments
which were forgotten by Icinga 2 because of bugs in previous versions.

If there are uncollected deployments, the check whether they are older
than the running one is based on string comparison of the deployments'
start time. While this works for MySQL and MariaDB where the output of
timestamps is always ISO, it may fail for PostgreSQL because there the
output format is configurable. If the output format is set to report
the day first, the string comparison "fails" and removes every first
deployment of a month:

Deployment timestamp: 01-JUN-19 00:03:37 -07:00
Running timestamp: 31-MAY-19 23:54:53 -07:00

The string comparison now reports the deployment as older than the
running one and removes it.

The fix is as easy as to use timestamps for the comparison.
2019-07-01 15:04:19 +02:00
.github IssueTemplate: less noise 2018-01-25 10:14:16 +01:00
application SyncruleCommand: show number of expected changes 2019-05-27 17:46:43 +02:00
contrib Icinga2Agent.psm1: uprade to latest master 2018-10-30 18:11:08 +01:00
doc doc: raise requirements, dependencies 2019-05-22 17:59:26 +02:00
library pgsql: Fix unexpected removal of current deployment 2019-07-01 15:04:19 +02:00
public js: fix autocompletion position when scrolled... 2019-04-18 16:53:46 +02:00
schema schema: Fix migration 163 for certain MySQL versions 2019-04-26 10:13:44 +02:00
test Implement AssignFilterHelper to improve apply/assign matching 2019-05-06 14:19:29 +02:00
.gitignore testing: Move vendor installation to script 2017-09-28 15:12:06 +02:00
.gitlab-ci.yml gitlab: verbose output 2017-08-28 06:09:27 +02:00
.travis.yml ci: Update travis matrix and vendor test helpers 2018-11-27 11:30:19 +01:00
LICENSE LICENSE: add plaintext license file 2016-06-17 23:30:15 +02:00
README.md Fix wrong URL for issue tracker in README 2018-09-27 10:29:33 +02:00
configuration.php configuration: introduce a new permission 2019-02-11 09:57:28 +01:00
module.info module.info: be master once again 2018-12-10 18:57:58 +01:00
phpcs.xml testing: Move PHP_CodeSniffer settings to XML file 2017-09-28 15:12:06 +02:00
phpunit.xml tests: refactor bootstrapping, initial Gitlab-CI.. 2016-11-03 02:50:39 +01:00
run-php5.3.php phperror/error: provide a failsafe error message 2017-07-26 11:49:51 +02:00
run.php ImportSourceRestApi: new generic Import Source 2019-04-04 13:22:39 +02:00

README.md

Icinga Director

Icinga Director has been designed to make Icinga 2 configuration handling easy. It tries to target two main audiences:

  • Users with the desire to completely automate their datacenter
  • Sysops willing to grant their "point & click" users a lot of flexibility

What makes Icinga Director so special is the fact that it tries to target both of them at once.

Icinga Director

Read more about Icinga Director in our Introduction section. Afterwards, you should be ready for getting started.

Documentation

Please have a look at our Installation instructions and our hints for how to apply Upgrades. We love automation and in case you also do so, the Automation chapter could be worth a read. When upgrading, you should also have a look at our Changelog.

You could be interested in understanding how the Director works internally. Working with agents is a topic that affects many Icinga administrators. Other interesting entry points might be Import and Synchronization, our CLI interface, the REST API and last but not least our FAQ.

A complete list of all our documentation can be found in the doc directory.

Contributing

Icinga Director is an Open Source project and lives from your contributions. No matter whether these are feature requests, issues, translations, documentation or code.

Addons

The following are to be considered community-supported modules, as they are not supported by the Icinga Team. At least not yet. But please give them a try if they fit your needs. They are being used in productive environments:

  • AWS - Amazon Web Services: provides an Import Source for Autoscaling Groups on AWS
  • File-Shipper: allows Director to ship additional config files with manual config with its deployments
  • PuppetDB: provides an Import Source dealing with your PuppetDB
  • vSphere: VMware vSphere Import Source for Virtual Machines and Host Systems