]> granicus.if.org Git - icinga2/log
icinga2
5 years agoMerge pull request #6780 from ITisitBV/master
Michael Friedrich [Thu, 24 Jan 2019 09:59:52 +0000 (10:59 +0100)]
Merge pull request #6780 from ITisitBV/master

Make mail-{host,service}-notification.sh as POSIX-compliant as possible.

5 years agoMerge pull request #6899 from Icinga/bugfix/localtime-zero-windows
Michael Friedrich [Thu, 24 Jan 2019 09:58:43 +0000 (10:58 +0100)]
Merge pull request #6899 from Icinga/bugfix/localtime-zero-windows

Log: Ensure not to pass negative values to localtime()

5 years agoLog: Ensure not to pass negative values to localtime() 6899/head
Michael Friedrich [Wed, 16 Jan 2019 16:27:38 +0000 (17:27 +0100)]
Log: Ensure not to pass negative values to localtime()

refs #6887

5 years agoMerge pull request #6883 from Icinga/bugfix/retry-interval-zero-6871
Michael Friedrich [Wed, 16 Jan 2019 14:00:03 +0000 (15:00 +0100)]
Merge pull request #6883 from Icinga/bugfix/retry-interval-zero-6871

Allow Checkable#retry_interval to be 0

5 years agoMerge pull request #6885 from Icinga/fix/uoa-comment-downtime
Michael Friedrich [Wed, 16 Jan 2019 13:57:34 +0000 (14:57 +0100)]
Merge pull request #6885 from Icinga/fix/uoa-comment-downtime

Don't run UpdateObjectAuthority for Comments and Downtimes

5 years agoMerge pull request #6890 from T-Systems-MMS/feature/snmp-storage-exclude
Michael Friedrich [Fri, 11 Jan 2019 16:03:58 +0000 (17:03 +0100)]
Merge pull request #6890 from T-Systems-MMS/feature/snmp-storage-exclude

Added snmp_exclude option to manubulon snmp-storage check

5 years agoMerge pull request #6893 from widhalmt/fix/itl-ipmi-6892
Michael Friedrich [Fri, 11 Jan 2019 16:01:29 +0000 (17:01 +0100)]
Merge pull request #6893 from widhalmt/fix/itl-ipmi-6892

Add new "-us" option to ipmi-sensor CheckCommand

5 years agoAdd new "-us" option to `ipmi-sensor` CheckCommand due to change in monitoring plugin. 6893/head
Thomas Widhalm [Fri, 11 Jan 2019 12:50:07 +0000 (13:50 +0100)]
Add new "-us" option to `ipmi-sensor` CheckCommand due to change in monitoring plugin.

Fixes #6892

5 years agoAdded snmp_exclude option to manubulon snmp-storage check 6890/head
Martin Neubert [Fri, 11 Jan 2019 08:54:24 +0000 (09:54 +0100)]
Added snmp_exclude option to manubulon snmp-storage check

5 years agoDon't run UpdateObjectAuthority for Comments and Downtimes 6885/head
Jean Flach [Thu, 10 Jan 2019 10:44:14 +0000 (11:44 +0100)]
Don't run UpdateObjectAuthority for Comments and Downtimes

5 years agoAllow Checkable#retry_interval to be 0 6883/head
Alexander A. Klimov [Wed, 9 Jan 2019 10:27:33 +0000 (11:27 +0100)]
Allow Checkable#retry_interval to be 0

refs #6871

5 years agoMerge pull request #6880 from Icinga/bugfix/pki-requestcertificate-no-cert
Michael Friedrich [Wed, 9 Jan 2019 08:30:27 +0000 (09:30 +0100)]
Merge pull request #6880 from Icinga/bugfix/pki-requestcertificate-no-cert

pki::RequestCertificate: handle missing certificate/CSR

5 years agopki::RequestCertificate: handle missing certificate/CSR 6880/head
Alexander A. Klimov [Tue, 8 Jan 2019 10:49:44 +0000 (11:49 +0100)]
pki::RequestCertificate: handle missing certificate/CSR

5 years agoMerge pull request #6877 from Icinga/bugfix/http-log-spam
Michael Friedrich [Mon, 7 Jan 2019 14:49:23 +0000 (15:49 +0100)]
Merge pull request #6877 from Icinga/bugfix/http-log-spam

HttpServerConnection#DataAvailableHandler(): reduce log spam

5 years agoHttpServerConnection#DataAvailableHandler(): reduce log spam 6877/head
Alexander A. Klimov [Mon, 7 Jan 2019 14:32:19 +0000 (15:32 +0100)]
HttpServerConnection#DataAvailableHandler(): reduce log spam

5 years agoMerge pull request #6862 from BarbUk/feature/itl-check-proxysql
Michael Friedrich [Sun, 23 Dec 2018 11:19:07 +0000 (12:19 +0100)]
Merge pull request #6862 from BarbUk/feature/itl-check-proxysql

Add proxysql CheckCommand definition

5 years agoMerge pull request #6863 from BarbUk/feature/itl-check-hddtemp
Michael Friedrich [Sun, 23 Dec 2018 11:17:35 +0000 (12:17 +0100)]
Merge pull request #6863 from BarbUk/feature/itl-check-hddtemp

Add hddtemp CheckCommand definition

5 years agoMerge pull request #6864 from BarbUk/feature/itl-check-phpfpm-status
Michael Friedrich [Sun, 23 Dec 2018 11:16:42 +0000 (12:16 +0100)]
Merge pull request #6864 from BarbUk/feature/itl-check-phpfpm-status

Add phpfpm-status CheckCommand definition

5 years agoAdd phpfpm-status CheckCommand definition 6864/head
BarbUk [Sat, 22 Dec 2018 09:51:27 +0000 (13:51 +0400)]
Add phpfpm-status CheckCommand definition

5 years agoAdd hddtemp CheckCommand definition 6863/head
BarbUk [Sat, 22 Dec 2018 07:19:18 +0000 (11:19 +0400)]
Add hddtemp CheckCommand definition

5 years agoAdd proxysql CheckCommand definition 6862/head
BarbUk [Sat, 22 Dec 2018 07:01:30 +0000 (11:01 +0400)]
Add proxysql CheckCommand definition

5 years agoMerge pull request #6852 from BarbUk/feature/itl-check-haproxy
Michael Friedrich [Fri, 21 Dec 2018 11:05:30 +0000 (12:05 +0100)]
Merge pull request #6852 from BarbUk/feature/itl-check-haproxy

Add haproxy CheckCommand definition

5 years agoMerge pull request #6850 from BarbUk/fix/itl-check-disk
Michael Friedrich [Fri, 21 Dec 2018 11:04:40 +0000 (12:04 +0100)]
Merge pull request #6850 from BarbUk/fix/itl-check-disk

Fix ITL CheckCommand disk

5 years agoAdd haproxy CheckCommand definition 6852/head
BarbUk [Thu, 20 Dec 2018 10:39:15 +0000 (14:39 +0400)]
Add haproxy CheckCommand definition

Haproxy plugin check haproxy csv statistics page and reports response
time and backends sessions count

5 years agoFix ITL CheckCommand disk 6850/head
BarbUk [Thu, 20 Dec 2018 09:22:59 +0000 (13:22 +0400)]
Fix ITL CheckCommand disk

Add -N/--include-type option, available since release 1.5.

5 years agoMerge pull request #6821 from Icinga/bugfix/downtimes-disappear-satellite-6542
Michael Friedrich [Tue, 18 Dec 2018 15:13:36 +0000 (16:13 +0100)]
Merge pull request #6821 from Icinga/bugfix/downtimes-disappear-satellite-6542

Don't delete downtimes in satellite zones

5 years agoMerge pull request #6826 from Icinga/bugfix/downtimes-recreate-satellite-6542
Michael Friedrich [Tue, 18 Dec 2018 15:12:34 +0000 (16:12 +0100)]
Merge pull request #6826 from Icinga/bugfix/downtimes-recreate-satellite-6542

Downtime#HasValidConfigOwner(): wait for ScheduledDowntimes

5 years agoMerge pull request #6843 from Icinga/appveyor
Michael Friedrich [Tue, 18 Dec 2018 13:53:14 +0000 (14:53 +0100)]
Merge pull request #6843 from Icinga/appveyor

Improve AppVeyor builds

5 years agoMerge pull request #6806 from BarbUk/feature/itl-check-lsyncd
Michael Friedrich [Tue, 18 Dec 2018 13:23:51 +0000 (14:23 +0100)]
Merge pull request #6806 from BarbUk/feature/itl-check-lsyncd

Add lsyncd CheckCommand definition

5 years agoappveyor: Run Debug builds 6843/head
Markus Frosch [Tue, 18 Dec 2018 11:08:41 +0000 (12:08 +0100)]
appveyor: Run Debug builds

[skip travis]

5 years agotools/win32: Invalidate CMake cache on build
Markus Frosch [Tue, 18 Dec 2018 10:52:06 +0000 (11:52 +0100)]
tools/win32: Invalidate CMake cache on build

5 years agoDowntime#HasValidConfigOwner(): respect Downtime#authoritative_zone 6821/head
Alexander A. Klimov [Tue, 4 Dec 2018 16:45:54 +0000 (17:45 +0100)]
Downtime#HasValidConfigOwner(): respect Downtime#authoritative_zone

refs #6542

5 years agoAdd and populate Downtime#authoritative_zone
Alexander A. Klimov [Tue, 4 Dec 2018 16:44:42 +0000 (17:44 +0100)]
Add and populate Downtime#authoritative_zone

refs #6542

5 years agoMerge pull request #6829 from Icinga/feature/api-events-notification-command
Michael Friedrich [Mon, 17 Dec 2018 12:58:16 +0000 (13:58 +0100)]
Merge pull request #6829 from Icinga/feature/api-events-notification-command

API Event Streams: Add 'command' for Notification events

5 years agoAPI Event Streams: Add 'command' for Notification events 6829/head
Michael Friedrich [Fri, 7 Dec 2018 08:37:03 +0000 (09:37 +0100)]
API Event Streams: Add 'command' for Notification events

fixes #6824

5 years agoDowntime#HasValidConfigOwner(): wait for ScheduledDowntimes 6826/head
Alexander A. Klimov [Thu, 6 Dec 2018 11:50:48 +0000 (12:50 +0100)]
Downtime#HasValidConfigOwner(): wait for ScheduledDowntimes

refs #6542

5 years agoImplement ScheduledDowntime::AllConfigIsLoaded()
Alexander A. Klimov [Thu, 6 Dec 2018 11:41:49 +0000 (12:41 +0100)]
Implement ScheduledDowntime::AllConfigIsLoaded()

refs #6542

5 years agoMerge pull request #6825 from ekeih/docs/explain-retry-interval-for-passive-checks...
Michael Friedrich [Thu, 6 Dec 2018 10:25:40 +0000 (11:25 +0100)]
Merge pull request #6825 from ekeih/docs/explain-retry-interval-for-passive-checks-6795

Document that retry_interval is only used after an active check result

5 years agoDocument that retry_interval is only used after an active check result 6825/head
Max Rosin [Wed, 5 Dec 2018 15:28:03 +0000 (16:28 +0100)]
Document that retry_interval is only used after an active check result

fixes #6795

5 years agoRevert "ThreadPool#Stop(): discard non-processed queue items"
Michael Friedrich [Thu, 6 Dec 2018 08:56:49 +0000 (09:56 +0100)]
Revert "ThreadPool#Stop(): discard non-processed queue items"

This reverts commit 30e6d0f809c47de4204b949263fa209da42e975c.

refs #6815

5 years agoMerge pull request #6817 from Icinga/bugfix/stalled-tls-connections-6816
Michael Friedrich [Wed, 5 Dec 2018 10:35:35 +0000 (11:35 +0100)]
Merge pull request #6817 from Icinga/bugfix/stalled-tls-connections-6816

HttpServerConnection#DataAvailableHandler(): be aware of being called multiple times concurrently

5 years agoMerge pull request #6820 from Icinga/bugfix/scheduled-downtime-ha-duplicates
Michael Friedrich [Wed, 5 Dec 2018 10:33:29 +0000 (11:33 +0100)]
Merge pull request #6820 from Icinga/bugfix/scheduled-downtime-ha-duplicates

Only create downtimes from non-paused ScheduledDowntime objects in HA enabled cluster zones

5 years agoMerge pull request #6823 from transitiv/feature/itl-apt-list
Michael Friedrich [Wed, 5 Dec 2018 10:32:31 +0000 (11:32 +0100)]
Merge pull request #6823 from transitiv/feature/itl-apt-list

ITL: Support --list argument to check_apt

5 years agoMerge pull request #6815 from Icinga/bugfix/reload-while-api-dos
Michael Friedrich [Wed, 5 Dec 2018 10:11:49 +0000 (11:11 +0100)]
Merge pull request #6815 from Icinga/bugfix/reload-while-api-dos

ThreadPool#Stop(): discard non-processed queue items

5 years agoMerge pull request #6757 from Icinga/bugfix/no-more-notifications-recovery-filtered
Michael Friedrich [Wed, 5 Dec 2018 10:05:44 +0000 (11:05 +0100)]
Merge pull request #6757 from Icinga/bugfix/no-more-notifications-recovery-filtered

Fix that no_more_notifications gets reset when Recovery notifications are filtered away

5 years agoMerge pull request #6750 from davidtek/master
Michael Friedrich [Wed, 5 Dec 2018 10:05:05 +0000 (11:05 +0100)]
Merge pull request #6750 from davidtek/master

#6749 Wrong operator on stride variable causing incorrect behaviour

5 years agoMerge pull request #6801 from BarbUk/feature/itl-check-varnish
Michael Friedrich [Wed, 5 Dec 2018 09:52:28 +0000 (10:52 +0100)]
Merge pull request #6801 from BarbUk/feature/itl-check-varnish

Add varnish CheckCommand definition

5 years agoITL: Support --list argument to check_apt 6823/head
Adam James [Wed, 5 Dec 2018 09:13:03 +0000 (09:13 +0000)]
ITL: Support --list argument to check_apt

5 years agoMerge pull request #6786 from Icinga/feature/dsl-getenv
Michael Friedrich [Tue, 4 Dec 2018 15:08:37 +0000 (16:08 +0100)]
Merge pull request #6786 from Icinga/feature/dsl-getenv

DSL: Implement getenv()

5 years agoMerge pull request #6819 from Icinga/feature/development-docs
Michael Friedrich [Tue, 4 Dec 2018 15:07:17 +0000 (16:07 +0100)]
Merge pull request #6819 from Icinga/feature/development-docs

Enhance and unify development docs for debug, develop, package

5 years agoMerge pull request #6814 from Icinga/bugfix/conn-close-stall
Michael Friedrich [Tue, 4 Dec 2018 15:06:53 +0000 (16:06 +0100)]
Merge pull request #6814 from Icinga/bugfix/conn-close-stall

Restore 'Connection: close' behaviour in HTTP responses

5 years agoOnly create downtimes from non-paused ScheduledDowntime objects in HA enabled cluster... 6820/head
Michael Friedrich [Tue, 4 Dec 2018 14:20:37 +0000 (15:20 +0100)]
Only create downtimes from non-paused ScheduledDowntime objects in HA enabled cluster zones

5 years agoDocs: Formatting for dev requirements 6819/head
Michael Friedrich [Tue, 4 Dec 2018 11:21:54 +0000 (12:21 +0100)]
Docs: Formatting for dev requirements

5 years agoMinor updates for core dumps
Michael Friedrich [Tue, 4 Dec 2018 11:14:01 +0000 (12:14 +0100)]
Minor updates for core dumps

The main parts are discussed in #6723

5 years agoUpdate TOC
Michael Friedrich [Tue, 4 Dec 2018 09:58:44 +0000 (10:58 +0100)]
Update TOC

5 years agoPurge INSTALL.md and add packager info to README.md
Michael Friedrich [Tue, 4 Dec 2018 09:54:39 +0000 (10:54 +0100)]
Purge INSTALL.md and add packager info to README.md

Everything is located in the online documentation, where the README.md
points to.

5 years agoFix formatting in dev docs
Michael Friedrich [Tue, 4 Dec 2018 09:51:04 +0000 (10:51 +0100)]
Fix formatting in dev docs

5 years agoHttpServerConnection#DataAvailableHandler(): be aware of being called multiple times... 6817/head
Alexander A. Klimov [Mon, 3 Dec 2018 18:05:41 +0000 (19:05 +0100)]
HttpServerConnection#DataAvailableHandler(): be aware of being called multiple times concurrently

refs #6816

5 years agoThreadPool#Stop(): discard non-processed queue items 6815/head
Alexander A. Klimov [Mon, 3 Dec 2018 15:38:52 +0000 (16:38 +0100)]
ThreadPool#Stop(): discard non-processed queue items

5 years agoMerge pull request #6811 from Icinga/bugfix/win-check-memory-state-condition
Michael Friedrich [Mon, 3 Dec 2018 14:06:30 +0000 (15:06 +0100)]
Merge pull request #6811 from Icinga/bugfix/win-check-memory-state-condition

Fix state conditions in check_memory and check_swap

5 years agoAdd a code comment for connection: close handling 6814/head
Michael Friedrich [Mon, 3 Dec 2018 13:40:50 +0000 (14:40 +0100)]
Add a code comment for connection: close handling

5 years agoRestore 'Connection: close' behaviour in HTTP responses
Sven Wegener [Mon, 3 Dec 2018 13:27:37 +0000 (14:27 +0100)]
Restore 'Connection: close' behaviour in HTTP responses

Actually the `corked` functionality caused problems with
not closing connections properly.

Full Analysis: https://github.com/Icinga/icinga2/issues/6799#issuecomment-443710338

Full credits to @swegener :)

fixes #6799

5 years agoDocs: Update README.md with a better description and direct URLs to icinga.com/docs
Michael Friedrich [Mon, 3 Dec 2018 10:28:39 +0000 (11:28 +0100)]
Docs: Update README.md with a better description and direct URLs to icinga.com/docs

5 years agoDocs: Update anchors
Michael Friedrich [Mon, 3 Dec 2018 10:15:04 +0000 (11:15 +0100)]
Docs: Update anchors

5 years agoDocs: More updates on dev environments, add mini TOC
Michael Friedrich [Mon, 3 Dec 2018 10:11:16 +0000 (11:11 +0100)]
Docs: More updates on dev environments, add mini TOC

5 years agoDocs: Simplify INSTALL.md and point to icinga.com/docs
Michael Friedrich [Mon, 3 Dec 2018 08:50:39 +0000 (09:50 +0100)]
Docs: Simplify INSTALL.md and point to icinga.com/docs

5 years agoDocs: Delete extra docs for windows builds
Michael Friedrich [Mon, 3 Dec 2018 08:49:42 +0000 (09:49 +0100)]
Docs: Delete extra docs for windows builds

This should be visible in icinga.com/docs, no extra
docs needed.

5 years agoDocs: First draft for development docs
Michael Friedrich [Mon, 3 Dec 2018 08:49:27 +0000 (09:49 +0100)]
Docs: First draft for development docs

5 years agoMerge pull request #6808 from Icinga/bugfix/put-request-0-byte-file-3937
Michael Friedrich [Fri, 30 Nov 2018 12:21:21 +0000 (13:21 +0100)]
Merge pull request #6808 from Icinga/bugfix/put-request-0-byte-file-3937

Remove redundand check for object existence on creation via API

5 years agoFix state conditions in check_memory and check_swap 6811/head
Michael Insel [Thu, 29 Nov 2018 21:03:26 +0000 (22:03 +0100)]
Fix state conditions in check_memory and check_swap

This fixes the state conditions in check_memory and check_swap. This
turns the if/else if/else statements in simple if statements, since they
won't work properly when both thresholds are broken.

This also implements a new function to get a given state as wstring.

5 years agoIndentation: space to tab 6801/head
BarbUk [Thu, 29 Nov 2018 20:36:06 +0000 (00:36 +0400)]
Indentation: space to tab

5 years agoIndentation: space to tab 6806/head
BarbUk [Thu, 29 Nov 2018 20:33:53 +0000 (00:33 +0400)]
Indentation: space to tab

5 years agoRemove redundand check for object existence on creation via API 6808/head
Alexander A. Klimov [Thu, 29 Nov 2018 16:51:53 +0000 (17:51 +0100)]
Remove redundand check for object existence on creation via API

refs #3937

5 years agoMerge pull request #6800 from Icinga/bugfix/win-check-perfmon-english-names
Michael Friedrich [Thu, 29 Nov 2018 12:01:09 +0000 (13:01 +0100)]
Merge pull request #6800 from Icinga/bugfix/win-check-perfmon-english-names

Fix check_perfmon to support non-localized names

5 years agoAdd lsyncd CheckCommand definition
BarbUk [Wed, 28 Nov 2018 12:55:23 +0000 (16:55 +0400)]
Add lsyncd CheckCommand definition

5 years agoAdd more info about varnish_param
BarbUk [Tue, 27 Nov 2018 15:35:58 +0000 (19:35 +0400)]
Add more info about varnish_param

5 years agoAdd varnish CheckCommand definition
BarbUk [Tue, 27 Nov 2018 15:22:36 +0000 (19:22 +0400)]
Add varnish CheckCommand definition

This definition use check_varnish to monitore a varnish instance.
This closes #5122

5 years agoFix check_perfmon to support non-localized names 6800/head
Michael Insel [Mon, 26 Nov 2018 16:13:58 +0000 (17:13 +0100)]
Fix check_perfmon to support non-localized names

This fixes check_perfmon to support non-localized names on localized
Windows machines. The fix handles the given performance counter by
default as non-localized name, if none is found it falls back to the
localized name.

refs #5546

5 years agoMerge pull request #6791 from Icinga/feature/docs-ido-cleanup
Michael Friedrich [Thu, 22 Nov 2018 08:32:00 +0000 (09:32 +0100)]
Merge pull request #6791 from Icinga/feature/docs-ido-cleanup

Docs: Add a section for DB IDO Cleanup

5 years agoMerge pull request #6776 from fluxX04/apache2-doc-fix
Michael Friedrich [Wed, 21 Nov 2018 10:24:47 +0000 (11:24 +0100)]
Merge pull request #6776 from fluxX04/apache2-doc-fix

Doc fix: update apache section

5 years agoDocs: Add a section for DB IDO Cleanup 6791/head
Michael Friedrich [Wed, 21 Nov 2018 10:20:54 +0000 (11:20 +0100)]
Docs: Add a section for DB IDO Cleanup

refs #6784

5 years agoDSL: Implement getenv() 6786/head
Michael Friedrich [Mon, 19 Nov 2018 13:59:20 +0000 (14:59 +0100)]
DSL: Implement getenv()

This patch also restores Utility::GetFromEnvironment()
and replaces the hardcoded `getenv()` calls.

5 years agoMake mail-{host,service}-notification.sh as POSIX-compliant as possible. 6780/head
Martijn van Duren [Fri, 16 Nov 2018 13:23:56 +0000 (14:23 +0100)]
Make mail-{host,service}-notification.sh as POSIX-compliant as possible.

5 years agoupdate apache status command to be identical according the itl 6776/head
fluxX04 [Thu, 15 Nov 2018 08:54:58 +0000 (09:54 +0100)]
update apache status command to be identical according the itl

5 years agoMerge pull request #6775 from Icinga/feature/docs-tech-concepts-check-scheduler
Michael Friedrich [Wed, 14 Nov 2018 13:41:23 +0000 (14:41 +0100)]
Merge pull request #6775 from Icinga/feature/docs-tech-concepts-check-scheduler

Add technical docs for the check scheduler (general, initial check, offsets)

5 years agoAdd technical docs for the check scheduler (general, initial check, offsets) 6775/head
Michael Friedrich [Wed, 14 Nov 2018 13:25:37 +0000 (14:25 +0100)]
Add technical docs for the check scheduler (general, initial check, offsets)

David asked me about initial check offsets, so I wrote something :)

5 years agoMerge branch 'support/2.10'
Michael Friedrich [Wed, 14 Nov 2018 08:09:00 +0000 (09:09 +0100)]
Merge branch 'support/2.10'

5 years agoRelease version 2.10.2
Michael Friedrich [Tue, 13 Nov 2018 16:13:54 +0000 (17:13 +0100)]
Release version 2.10.2

5 years agoRelease version 2.10.2 v2.10.2
Michael Friedrich [Tue, 13 Nov 2018 16:13:54 +0000 (17:13 +0100)]
Release version 2.10.2

5 years agoMerge pull request #6480 from ajaffie/feature/win-check-update-4720
Michael Friedrich [Tue, 13 Nov 2018 15:40:26 +0000 (16:40 +0100)]
Merge pull request #6480 from ajaffie/feature/win-check-update-4720

Modify windows check_update command to allow specifying thresholds.

5 years agoImitialize ICINGA2_ERROR_LOG inside the Systemd environment
Michael Friedrich [Tue, 13 Nov 2018 13:02:03 +0000 (14:02 +0100)]
Imitialize ICINGA2_ERROR_LOG inside the Systemd environment

The initscript uses a local default, which is not here for Systemd.

5 years agoMerge pull request #6773 from Icinga/bugfix/systemd-error-log
Michael Friedrich [Tue, 13 Nov 2018 15:36:54 +0000 (16:36 +0100)]
Merge pull request #6773 from Icinga/bugfix/systemd-error-log

Initialize ICINGA2_ERROR_LOG inside the systemd environment

5 years agoImitialize ICINGA2_ERROR_LOG inside the Systemd environment 6773/head
Michael Friedrich [Tue, 13 Nov 2018 13:02:03 +0000 (14:02 +0100)]
Imitialize ICINGA2_ERROR_LOG inside the Systemd environment

The initscript uses a local default, which is not here for Systemd.

5 years agoDB IDO: Don't enqueue queries when the feature is paused (HA)
Michael Friedrich [Tue, 30 Oct 2018 12:17:28 +0000 (13:17 +0100)]
DB IDO: Don't enqueue queries when the feature is paused (HA)

fixes #5876
refs #6739

5 years agoImplement unit tests for Dictionary initializers
Michael Friedrich [Fri, 9 Nov 2018 13:56:36 +0000 (14:56 +0100)]
Implement unit tests for Dictionary initializers

5 years agoMerge pull request #6771 from Icinga/feature/tests
Michael Friedrich [Tue, 13 Nov 2018 10:48:55 +0000 (11:48 +0100)]
Merge pull request #6771 from Icinga/feature/tests

Implement unit tests for Dictionary initializers

5 years agoFix deadlock in GraphiteWriter
Michael Insel [Mon, 12 Nov 2018 19:09:44 +0000 (19:09 +0000)]
Fix deadlock in GraphiteWriter

This fixes a deadlock in the GraphiteWriter feature, which is visible
during the reload process. The reload thread waits for the
GraphiteWriter to finish, but the GraphiteWriter can't finish because
it's stuck in `SendMetric()` waiting for a lock which is hold by the
reload thread.

5 years agoMerge pull request #6770 from Icinga/bugfix/graphitewriter-deadlock
Michael Friedrich [Tue, 13 Nov 2018 07:36:51 +0000 (08:36 +0100)]
Merge pull request #6770 from Icinga/bugfix/graphitewriter-deadlock

Fix deadlock in GraphiteWriter

5 years agoFix deadlock in GraphiteWriter 6770/head
Michael Insel [Mon, 12 Nov 2018 19:09:44 +0000 (19:09 +0000)]
Fix deadlock in GraphiteWriter

This fixes a deadlock in the GraphiteWriter feature, which is visible
during the reload process. The reload thread waits for the
GraphiteWriter to finish, but the GraphiteWriter can't finish because
it's stuck in `SendMetric()` waiting for a lock which is hold by the
reload thread.

5 years agoApply workaround for timer tests with std::bind callbacks
Michael Friedrich [Thu, 8 Nov 2018 14:03:41 +0000 (15:03 +0100)]
Apply workaround for timer tests with std::bind callbacks