Commit Graph

257 Commits

Author SHA1 Message Date
Alexander Aleksandrovič Klimov 63fca8faa1
Merge pull request #9000 from haxtibal/feature/journaldlogger
JournaldLogger - log to systemd journal
2021-10-01 17:42:10 +02:00
RincewindsHat 767464f947 Correct typos in documentation and examples 2021-09-24 14:33:44 +02:00
Tobias Deiminger 4d678fcef0 Add available feature journald.conf in /etc
Similar to the other loggers, add a predefined object JournaldLogger in
features-available that will log messages >= warning, with default facility
LOG_USER. It is disabled by default, and can be enabled with:
$ sudo icing2 feature enable journald
2021-09-23 16:08:39 +02:00
Alexander A. Klimov 9d4b0f1268 Introduce Influxdb2Writer
refs #8711
2021-07-20 16:21:36 +02:00
Alexander A. Klimov d26aa9fb34 InfluxdbCommonWriter: abstract InfluxdbWriter
refs #8711
2021-07-20 16:21:36 +02:00
Julian Brost aa423d80ac Change WindowsEventLogLogger default severity to information
As this is intended to replace the mainlog feature which logged severity
information, this should be the default for this logger.
2021-06-23 17:05:05 +02:00
Julian Brost 23aa628665 Windows: automatically migrate from mainlog to windowseventlog 2021-06-21 15:15:54 +02:00
Julian Brost 6de9f58810 Add WindowsEventLogLogger 2021-06-21 15:15:54 +02:00
Alexander A. Klimov db400b3f19 etc/icinga2/scripts/*.sh: explicitly specify shell 2020-03-18 12:30:33 +01:00
Michael Insel c783448395 Revert "set correct utf8 email subject headers (RFC1342)"
This reverts commit 415552f355.
2019-12-09 19:36:35 +01:00
Michael Insel 98f656c266 Revert "service and host mail-notifications, add line-breaks to very long output strings"
This reverts commit c2b6f6b246.
2019-12-09 19:33:15 +01:00
vigiroux 52e09a287d Fix bash line continuation in mail-host-notification.sh 2019-12-06 15:00:42 -05:00
Michael Insel 901d25976d Fix notification scripts string comparison
fixes #7609
2019-11-21 20:01:55 +01:00
Noah Hilverling c8935bf14f IcingaDB: Update Redis port to use Icinga-Redis 2019-11-21 09:59:21 +01:00
Michael Friedrich 1a503b554b
Merge pull request #7357 from Ant1x/feature/opentsdb-tags
OpenTsdbWriter - Custom Tag Support
2019-11-15 14:52:49 +01:00
Michael Friedrich 09892a9cd5
Merge pull request #6822 from unki/change/add-line-breaks-to-service-output
service and host mail-notifications, add line-breaks to very long out…
2019-11-14 13:18:20 +01:00
Michael Friedrich 05971d401c
Merge pull request #6369 from islander/fix/utf8-headers
Set correct utf-8 email subject header (RFC1342)
2019-11-14 13:14:20 +01:00
Alexander Aleksandrovič Klimov 13ab7eb609 Rename redis to icingadb 2019-11-02 14:00:24 +01:00
Alexander Aleksandrovič Klimov f51454af65 git ls-files -z |xargs -0 perl -pi -e 's/RedisWriter/IcingaDB/g' 2019-11-02 14:00:24 +01:00
Gunnar Beutner b75e21a998 Redis support (WIP) 2019-11-02 14:00:23 +01:00
Ant1x 166e79fee1 Added OpenTSDB Metric prefix naming support
Added OpenTSDB Generic Metric functionality
2019-10-24 00:04:12 +11:00
Ant1x 9c5bbdfe10 Added OpenTSDB custom tagging documentation
Added OpenTSDB custom tagging configuration template
2019-10-24 00:04:12 +11:00
Michael Friedrich ac684ec128 Adjust zones.d/README and just point to the docs 2019-09-24 12:57:32 +02:00
Michael Friedrich b837b505e6 Update wrong information in example config for zones.d 2019-09-23 09:46:13 +02:00
kiba eef077a8a3
Merge branch 'master' into fix/utf8-headers 2019-09-20 09:52:55 +11:00
Michael Friedrich 5aa07b51a2 Docs: Rename 'custom attribute' to 'custom variable'
refs #6830
2019-07-19 14:38:59 +02:00
Robert Scheck bb503cce16 Strip '\r' in notification messages to avoid 'Content-Type: application/octet-stream'
Without this patch, an accidential `\r` in e.g. `$NOTIFICATIONCOMMENT`
leads to a `Content-Type: application/octet-stream` header in e-mails.
The accidential `\r` might slip in usually using Icinga/Nagios apps...
2019-05-16 12:44:29 +02:00
Michael Friedrich 37b715baf1 Replace a few more copyright strings 2019-02-25 16:30:40 +01:00
Andreas Unterkircher c2b6f6b246 service and host mail-notifications, add line-breaks to very long output strings 2018-12-05 07:53:04 +01:00
Martijn van Duren a763e74a50 Make mail-{host,service}-notification.sh as POSIX-compliant as possible. 2018-11-16 14:23:56 +01:00
Michael Friedrich 3cb2c1d143 icinga.com: Update everything else 2018-10-18 09:50:53 +02:00
Markus Frosch 9fbc40615a Improve path handling in cmake and daemon 2018-08-07 14:10:26 +02:00
kiba 415552f355 set correct utf8 email subject headers (RFC1342) 2018-06-13 11:18:14 +11:00
Michael Insel 12a40d7244 Implement better way to check parameters in notification scripts
This changes the function for checking required parameters in the notification scripts.
This also enhances the error message.

refs #5812
2018-04-18 19:17:33 +02:00
Max Rosin b34675cae8 Fix description of the NotificationComponent in notification.conf, fix #6122 2018-02-27 14:31:00 +01:00
Jean Flach 87adc88989 Remove need for init.conf 2018-02-20 14:16:43 +01:00
Jean Flach c8c193a9d8 Remove need for RunAsUser/Group
They are now read form the sysconfig file which is owned by root
2018-02-20 14:16:43 +01:00
Dirk Goetz 87f8ca5b79 Fixed URL encoding for HOSTNAME and SERVICENAME in mail notification
Refs #5540
2018-02-20 14:16:43 +01:00
Gunnar Beutner 6506a89db3 Update default config and documentation for the "library" keyword 2018-01-22 08:18:05 +01:00
Michael Insel 158ae2188e Change copyright header for 2018 2018-01-02 12:08:55 +01:00
Michael Friedrich 3673bd2201 Fix default configuration example for ElasticsearchWriter 2017-11-15 18:06:52 +01:00
Michael Friedrich 7c0a09cfb6 Rename ElasticWriter to ElasticsearchWriter
This better reflects its purpose as otherwise it would imply
that you need Elastic Stack for it. Graylog also reads from
Elasticsearch instances, this could serve as additional integration
here.
2017-11-09 15:33:10 +01:00
Gunnar Beutner f2d437e96c Implement support for migrating certificates to /var/lib/icinga2/certs
This commit includes documentation too.

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-10-20 14:06:02 +02:00
Michael Friedrich 2d8607d6b0 Enhance documentation with more details on value types for object attributes
Main focus: Object attributes and their value types. Originates from the
API Event Streams patch to document their value types. Now applied to
the entire configuration objects chapter.

The API chapter and their value types has been changed to capitalized
type identifiers.

Value types are now explicitly told about inside monitoring basics. This
has been adopted into the Icinga 2 training material a long time ago
and finds its way into the docs too.

The CheckResult and PerfdataValue value types have been moved into the
advanced topics chapter. mkdocs doesn't like multiple `#` headings in one file
and did just hide it.

Also moved the Influxdb details into the features documentation where it
belongs.

Many small references and URLs to other chapters added.
E.g. dedicated chapters for object accessor examples, to better link against
time dependent thresholds.

Can serve as patch basis and reference for ITL documentation where the
value types are missing too.

This commit also fixes the non-requirement of "legacy-timeperiod" which
also is a default template import since 2.6.

This also fixes the state mapping issue.

fixes #4015
2017-10-10 17:52:49 +02:00
Michael Friedrich cfd2a93aa6 Remove bottom-up repository.d references
refs #4799
2017-09-22 14:04:59 +02:00
Michael Friedrich 37ea6ab1fc Fix wrong certs path in ApiListener config
refs #5450
2017-09-12 12:52:49 +02:00
Gunnar Beutner b08f5477dc Change PKI path from /etc/icinga2/pki to /var/lib/icinga2/pki
refs #5450
2017-09-12 12:52:49 +02:00
Jean Flach e19d3f57c7 Add ElasticWriter
fixes #5538
2017-09-12 12:52:49 +02:00
Michael e2bf7516bb Notification scripts: Fix duplicate variable in mail-{host,service}-notification 2017-08-14 17:34:39 +02:00
Christian Gut 0f0b6f1df9 Notification scripts: More readable & redundancy cleanup 2017-08-14 17:27:39 +02:00