Commit graph

25 commits

Author SHA1 Message Date
Alvar Penning
327862c4f2
Rename notifications-source to notifications
Drop the "-source" suffix from the configuration option. Furhtermore,
with the latest IGL release 0.8.1[0], the "api-base-url" is renamed to
just "url".

[0]: https://github.com/Icinga/icinga-go-library/pull/168
2025-11-17 09:22:37 +01:00
Alvar Penning
aa83338786
config.example.yml: Reformat notifications-source 2025-11-17 09:20:07 +01:00
Alvar Penning
7ec28098f8
Document Notification Source
Briefly describe the required configuration for Icinga Notifications
Source next to mentioning it in the About section.
2025-11-17 09:20:07 +01:00
Alvar Penning
37212a2b64
notifications: Send relative Icinga Web 2 URLs
There is no need to let each Icinga Notifications source know the root
URL of Icinga Web 2. Since the latest IGL and IN change, partly URLs
relative to Icinga Web 2 are supported.
2025-11-17 09:20:07 +01:00
Yonas Habteab
95da9ee443
Use the newly introduced notifications event utils from igl
Most of the notifications related code from here were outsourced to
Icinga Go Library, thus removes all the now obsolte ones from here.
2025-11-17 09:20:07 +01:00
Alvar Penning
848807d96c
Initial Icinga Notifications Source
This is the first version to use Icinga DB as an event source for Icinga
Notifications. If configured accordingly, Icinga DB forwards events
crafted from the Redis pipeline to the Icinga Notifications API.

This required a small refactoring of the history synchronization to
allow hooking into the Redis stream. Afterwards, the newly introduced
notifications package handles the rest.

Note: As part of this architectural change, Icinga Notifications offers
filters to be evaluated by Icinga DB. At the moment, these are SQL
queries being executed on the Icinga DB relational database. Either
consider both Icinga DB and Icinga Notifications to be part of the same
trust domain or consider the security implications.

Furthermore, this change requires a change on Icinga Notifications as
well. This will not work with the current version 0.1.1.
2025-11-17 09:20:07 +01:00
Alvar Penning
8532e9a475
Docs: Redis ACL Username and Database
As icinga-go-library v0.4.0 supports these now, it should be documented
in Icinga DB.

Closes #782.
2024-12-17 13:28:51 +01:00
Eric Lippmann
25f39383b1 Docs: Account Redis' trademark policy
See https://redis.io/legal/trademark-policy/
2024-04-11 10:07:51 +02:00
Alvar Penning
f692309e72 config.example.yml: Comment out unmodified blocks
As reported in #726, the default values for `database.options` are
overwritten by go-yaml. By commenting out the key of the
empty/unmodified YAML dictionary, this bug is mitigated. To make this
change consistent, the keys of all other unmodified dictionary blocks
have also been commented out.

Close #726.
2024-04-08 14:35:25 +02:00
Yonas Habteab
a8075ea1d1 Validate wsrep_sync_wait database option 2024-03-28 13:25:23 +01:00
Yonas Habteab
735135ea7b Document wsrep_sync_wait database option 2024-03-28 13:24:57 +01:00
Yonas Habteab
6a14e557ca Document database.options properly 2024-03-27 14:41:47 +01:00
Yonas Habteab
71a8f2d962 Document retention.count & retention.interval options 2024-03-26 15:36:35 +01:00
Eric Lippmann
773923f582 Example config: Add Redis password 2022-06-29 15:42:04 +02:00
Eric Lippmann
cf8e12f391 Set Redis server port to 6380 by default
All Icinga DB components use 6380 as default Redis port.
2022-06-29 15:42:04 +02:00
Eric Lippmann
e71f8b89b1 Example config: Document retention 2022-06-29 14:37:36 +02:00
Eric Lippmann
a4e8df6b3f Example config: Document logging 2022-06-29 14:37:36 +02:00
Eric Lippmann
0ce84f2c5b Example config: retention.options override history-days, not days 2022-06-29 14:37:36 +02:00
Eric Lippmann
e91b165df4 Example config: Add newlines between history- and sla-days 2022-06-29 14:37:36 +02:00
Eric Lippmann
10677256cf Example config: Document database section 2022-06-29 14:37:36 +02:00
Eric Lippmann
406ab0fd89 Example config: Don't specify database type
Database type has a default value.
2022-06-29 14:37:36 +02:00
Eric Lippmann
19e1f49a1a Example config: Don't specify database port
With recent changes, the database port now has reasonable default
values, so it is no longer necessary to specify a port here.
2022-06-29 14:37:36 +02:00
Eric Lippmann
067d8ea1cf Docs: Use CHANGEME as database password
icingadb is not a good default password and CHANGEME gives a clear hint
to set a proper password here.
2022-06-29 14:37:36 +02:00
Alexander A. Klimov
fac9f5e4e5 Write ops/s by op and s to icingadb:telemetry:stats 2022-06-15 09:51:59 +02:00
Julian Brost
f08c67cc1f Rename config.yml.example to config.example.yml
This makes more tools recognize this as a YAML file and enable syntax
highlighting for example.
2022-06-13 13:50:59 +02:00
Renamed from config.yml.example (Browse further)