Commit Graph

9860 Commits

Author SHA1 Message Date
Michael Friedrich c0c17fc340 Remove unused timestamp function in DB IDO
refs #6584
2018-09-17 10:06:30 +02:00
Michael Friedrich c9db7a0dac
Merge pull request #6615 from Icinga/feature/docs-distributed-monitoring
Update distributed monitoring docs for 2.10
2018-09-13 18:37:45 +02:00
Michael Friedrich acafe2fbe5 Drop older than 2.8 references in distributed monitoring docs
With 2.10, 2.8 will be the least supported version, older doc
versions can still be found on GH if needed.
2018-09-13 16:33:27 +02:00
Michael Friedrich 2d84588328 Distributed Monitoring Docs: Adopt three level scenario for CA proxy
fixes #6593
2018-09-13 16:19:38 +02:00
Michael Friedrich 2658c2506f Distributed Monitoring Docs: Add versions and upgrade
refs #6612
2018-09-13 15:29:11 +02:00
Michael Friedrich c8d4e785a1
Merge pull request #6519 from Icinga/fix/erroneous-console-exit
Reset terminal on erroneous console exit
2018-09-13 13:34:58 +02:00
Michael Friedrich 850f0b2ac1
Merge pull request #6610 from Icinga/feature/docs-technical-concepts-tls-network-io
Add "TLS Network IO" into technical concepts docs
2018-09-13 13:10:35 +02:00
Michael Friedrich 71b5c5b167
Merge pull request #6527 from Icinga/feature/acknowledgment-notifications-6047
Acknowledgment notifications should only be send if problem notification has been send
2018-09-12 17:27:19 +02:00
Michael Friedrich 354e3c9093 Update notification and upgrading docs for recovery/acknowledgement handling
refs #6047
2018-09-12 17:09:21 +02:00
Michael Friedrich af1f2e0c55 Only check for Problem types in user filers for Recovery/Acknowledgement notifications
refs #6047
2018-09-12 17:09:15 +02:00
Noah Hilverling 834e37d3e2 Still notify on acknowledgement and recovery if user does not get problem notifications at all
refs #6047
2018-09-12 14:54:45 +02:00
Noah Hilverling bfe7d46a68 Only send acknowledgement notification if user received a problem notification
refs #6047
2018-09-12 14:54:45 +02:00
Michael Friedrich 3661705a6e Add "TLS Network IO" into technical concepts docs
refs #6517
2018-09-12 14:45:11 +02:00
Michael Friedrich 0ef6084d1c
Merge pull request #6607 from Icinga/feature/docs-dev-gdb-running-process
Enhance development docs with GDB backtrace and thread list
2018-09-12 12:40:17 +02:00
Michael Friedrich bc4cd50dde Enhance development docs with GDB backtrace and thread list 2018-09-12 12:32:00 +02:00
Michael Friedrich dd59964702
Merge pull request #6596 from Icinga/bugfix/gcc-8-f28-hardening-crash
Fix crash on API queries with Fedora 28 hardening and GCC 8
2018-09-11 20:44:12 +02:00
Michael Friedrich 5b4083a7fb
Merge pull request #6606 from Icinga/feature/enhance-contributing-docs
Enhance contributing docs
2018-09-11 10:55:35 +02:00
Michael Friedrich 8b9aed1c70 Mention 'help wanted' and 'good first issue' in contributing docs 2018-09-11 09:30:33 +02:00
Michael Friedrich 808276131d Rename branch schema from `fix/` to `bugfix/` 2018-09-11 09:23:28 +02:00
Michael Friedrich b06cc79ee2
Merge pull request #6573 from Icinga/bugfix/operator-docs-1
Fix operator precedence table
2018-09-11 09:12:15 +02:00
Jean Flach d09085d72f Fix operator precedence table
Fixes #5573
2018-09-10 09:58:27 +02:00
Michael Friedrich c48da4c280
Merge pull request #6602 from Icinga/fix/improve-tls-handshake-exception-logging
Improve TLS handshake exception logging
2018-09-06 17:01:22 +02:00
Noah Hilverling 3854ed683b Improve TLS handshake exception logging 2018-09-06 15:58:42 +02:00
Michael Friedrich 7e0f2f07a1
Merge pull request #6595 from Icinga/feature/limit-anonymous-rpc-connections
Allow to configure anonymous clients limit inside the ApiListener object
2018-09-06 13:26:46 +02:00
Michael Friedrich 208eb1accc
Merge pull request #6598 from dominik-r-s/patch-1
doc/09-object-types: states filter ignored for Acknowledgements
2018-09-06 10:40:39 +02:00
Michael Friedrich 80337c7814
Merge pull request #6597 from Icinga/feature/docs-development-fedora-debuginfos
Add Fedora to development docs for debuginfo packages
2018-09-06 10:40:11 +02:00
Michael Friedrich 694a992357 Add Fedora to development docs for debuginfo packages 2018-09-06 10:31:26 +02:00
Michael Friedrich 1f4f6282c7 Fix crash on API queries with Fedora 28 hardening and GCC 8
The actual fix is to handle nullptr references differently
for an empty filter expression. The other changes include
oob checks not necesarily involved.

fixes #6533
2018-09-06 09:56:04 +02:00
Michael Friedrich 9a75f47fc5 Allow to configure anonymous clients limit inside the ApiListener object
Previously this was hardcoded, and for security reasons users might want
to adjust this value. This affects CSR signing requests as well as
clients which have not yet been configured as endpoints on the current
node.

refs #6566
2018-09-05 17:45:35 +02:00
Michael Friedrich a1ec919f5b Raise the message size for anonymous client and pki request calls to 1MB
If one sends the full certificate chain, this previous limit of 64KB
could be hit.
2018-09-05 17:44:05 +02:00
dominik-r-s 4afeda4758
09-object-types: notifications: states filter ignored for Acknowledgements! 2018-09-05 16:46:36 +02:00
Michael Friedrich 1c2a59bf63
Merge pull request #6591 from Icinga/bugfix/lto-builds-static-initialize-namespaces
Fix static initializer priority for namespaces in LTO builds
2018-09-04 16:54:30 +02:00
Michael Friedrich 709caaa578
Merge pull request #6590 from Icinga/fix/custom-var-workaround
Update workaround for custom vars
2018-09-04 16:41:55 +02:00
Michael Friedrich 19993df380 Fix static initializer priority for namespaces in LTO builds
fixes #6575
2018-09-04 16:36:22 +02:00
Jean Flach 72cc41d14e
Merge pull request #6356 from sourcejedi/fix/systemd
Fix logging under systemd
2018-09-04 15:24:43 +02:00
Michael Friedrich 18bf1ef519
Merge pull request #6568 from Icinga/feature/commit-order
Ensure that config object types are committed in dependent load order
2018-09-04 13:39:40 +02:00
Jean Flach e1a963f0ac
Update workaround for custom vars
This updates #6572 which did not work
2018-09-04 13:33:48 +02:00
Jean Flach 8fe490f945 Update variable names 2018-09-04 11:45:35 +02:00
Markus Frosch 13a8fa20f9 Ensure that config object types are committed in dependent load order 2018-09-04 11:45:35 +02:00
Michael Friedrich 81b9c9cef0
Merge pull request #6581 from Icinga/fix/speedup-config
Shuffle items before config validation
2018-09-04 11:15:13 +02:00
Jean Flach c721c302cd Shuffle items before config validation 2018-09-04 11:10:27 +02:00
Michael Friedrich b44187fc6b
Merge pull request #6588 from Icinga/bugfix/prepare-dirs-safe-reload-full-path
Fix using full path in prepare-dirs/safe-reload scripts
2018-09-04 11:04:02 +02:00
Michael Friedrich 64305b4466 Fix using full path in prepare-dirs/safe-reload scripts
This won't be visible with packages and overridden paths,
just source builds which invoke the scripts manually.

refs #6506
2018-09-03 16:47:38 +02:00
Michael Friedrich 504b8a17a3
Merge pull request #6583 from maxswjeon/master
Update PostgreSQL library path variable in INSTALL.md
2018-09-03 15:48:55 +02:00
Michael Friedrich 2358c67c3d
Merge pull request #6586 from Icinga/bugfix/centos-7-buildfix-non-unity-builds
Fix non-unity builds on CentOS 7 with std::shared_ptr
2018-09-03 15:47:45 +02:00
Michael Friedrich bc844aca06 Fix non-unity builds on CentOS 7 with std::shared_ptr
refs #6509
2018-09-03 15:32:28 +02:00
Michael Friedrich f0c9098a28
Merge pull request #6574 from gunnarbeutner/fix/move-downtime-constants
Move new downtime constants into the Icinga namespace
2018-09-03 09:28:16 +02:00
Jeon Sang Wan 6fa76ea498 Edited INSTALL.md File
Edited the Mistake of the PostgreSQL_LIBRARY_DIR comment error.
#6582
2018-09-02 22:11:19 +09:00
Gunnar Beutner 17c7131177 Move new downtime constants into the Icinga namespace 2018-08-25 19:35:01 +02:00
Alan Jenkins a21166dcf8 Fix logging under systemd
icinga2.service used `-e ${ICINGA2_ERROR_LOG}`, but this is documented
as having no effect without `-d`.  Furthermore, icinga2 under systemd
unconditionally logged everything to the system log (but without setting
the log level etc), which contradicted the documentation.  (Issue #6339)

Stop icinga2 on systemd from logging to stdout - and hence the system log -
once it has finished starting up.  Just like when you start icinga2 from a
terminal using `-d`.  And just like -d, we stop logging fatal errors to
stderr, and instead write to the log file passed with `-e`.

As per docs, mainlog (icinga2.log) is already enabled by default.  And
pre-startup messages including config errors will still appear in the
system log.

This uses a new option --close-stdio, which has the same effect on logging as
--daemonize, but does not fork or call setsid().

For this purpose, I moved setsid() up and into Daemonize().

Consequence of that last point: if anyone is weird enough to specify a TTY
device file as the fatal error log (-e option), that will become icinga's
controlling terminal, which you generally don't want as a daemon.  This
makes it consistent with the existing behaviour for icinga mainlog.  For
this reason you're supposed to use O_NOCTTY in Linux daemons.  But I wasn't
sure where icinga would want to put the ugly `#ifdef _WIN32 ... #else ...`.
2018-08-25 10:21:06 +01:00