Icinga DB - Backend moderne
Find a file
Julian Brost 6068ab78d0 Schema: change sort order of history event type enum
This improves the resulting sort order when `ORDER BY event_time, event_type`
is used. `state_change` comes first as it can cause many of the other events
like trigger downtimes, remove acknowledgements and send notifications.
Similarly, `notification` comes last as any other event can result in a
notification. This will result in history events for scenarios like state
changes, triggers downtime, sends downtime start notification being sorted in
that order.

Apart from that, end events sort before the corresponding start events as any
ack/comment/downtime/flapping period should last for more than a millisecond,
therefore if there should be two events within the same millisecond, the end
event corresponds to the older period and is sorted first.
2023-08-04 15:56:53 +02:00
.github GitHub Actions: run Go lint job with at least 1.19 2023-02-21 15:08:56 +01:00
cmd Merge pull request #554 from Icinga/553 2023-07-31 15:00:39 +02:00
doc icingadb-migrate: document TLS support 2023-06-21 16:53:29 +02:00
internal Release 1.1.0 2022-11-07 13:57:34 +01:00
pkg Merge pull request #554 from Icinga/553 2023-07-31 15:00:39 +02:00
schema Schema: change sort order of history event type enum 2023-08-04 15:56:53 +02:00
tests Merge pull request #601 from Icinga/flatten-empty-custom-vars-correctly 2023-07-25 15:28:07 +02:00
tools Update dev_update_schema.sh to fit default icingadb.ini 2019-11-05 12:00:10 +01:00
.gitattributes Add more information to icingadb --version ouput 2022-05-23 16:03:56 +02:00
.gitignore Merge branch 'v1.0.0-rc2-rewrite' 2021-05-25 23:31:13 +02:00
.mailmap Update AUTHORS and .mailmap 2022-06-29 17:48:46 +02:00
AUTHORS Update AUTHORS and .mailmap 2022-06-29 17:48:46 +02:00
CHANGELOG.md Release 1.1.0 2022-11-07 13:57:34 +01:00
config.example.yml Example config: Add Redis password 2022-06-29 15:42:04 +02:00
go.mod Merge pull request #598 from Icinga/dependabot/go_modules/github.com/stretchr/testify-1.8.4 2023-07-25 10:26:29 +02:00
go.sum Merge pull request #598 from Icinga/dependabot/go_modules/github.com/stretchr/testify-1.8.4 2023-07-25 10:26:29 +02:00
LICENSE Add LICENSE 2019-11-04 14:14:15 +01:00
README.md Update README.md 2022-06-29 15:42:04 +02:00

Icinga DB

Icinga DB is a set of components for publishing, synchronizing and visualizing monitoring data in the Icinga ecosystem, consisting of:

  • The Icinga DB daemon, which synchronizes monitoring data between a Redis server and a database
  • Icinga 2 with its Icinga DB feature enabled, responsible for publishing the data to the Redis server, i.e. configuration and its runtime updates, check results, state changes, downtimes, acknowledgements, notifications, and other events such as flapping
  • And Icinga Web with the Icinga DB Web module enabled, which connects to both Redis and the database to display and work with the most up-to-date data

Icinga DB Architecture

Documentation

Icinga DB documentation is available at icinga.com/docs.

License

Icinga DB and the Icinga DB documentation are licensed under the terms of the GNU General Public License Version 2.