]> granicus.if.org Git - icinga2/log
icinga2
6 years agoIndentation: space to tab 6801/head
BarbUk [Thu, 29 Nov 2018 20:36:06 +0000 (00:36 +0400)]
Indentation: space to tab

6 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

6 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

6 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

6 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

6 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

6 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

6 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)

6 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 :)

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

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

6 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

6 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.

6 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.

6 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

6 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.

6 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

6 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

6 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

6 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.

6 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

6 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.

6 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

6 years agoFix possible double free in StreamLogger::BindStream()
Michael Friedrich [Thu, 8 Nov 2018 14:51:58 +0000 (15:51 +0100)]
Fix possible double free in StreamLogger::BindStream()

refs #6737

6 years agoEnsure that API/JSON-RPC messages in the same session are processed and not stalled
Michael Friedrich [Mon, 29 Oct 2018 11:57:24 +0000 (12:57 +0100)]
Ensure that API/JSON-RPC messages in the same session are processed and not stalled

This basically drops the "corked" implementation which just stalled the
TLS IO polling after some requests. If you need sort of rate limiting
for these events, use an external TLS proxy which terminates that in front
of Icinga.

fixes #6635

6 years agoMerge pull request #6479 from Icinga/feature/socketevents-inherit-object-6477
Michael Friedrich [Mon, 12 Nov 2018 16:06:37 +0000 (17:06 +0100)]
Merge pull request #6479 from Icinga/feature/socketevents-inherit-object-6477

SocketEvents: inherit from Stream

6 years agoMerge pull request #6756 from MaBauMeBad/master
Michael Friedrich [Mon, 12 Nov 2018 16:02:53 +0000 (17:02 +0100)]
Merge pull request #6756 from MaBauMeBad/master

ITL: Add repeat_key for check_nwc_health

6 years agoUpdate the GH issue template a bit
Michael Friedrich [Mon, 12 Nov 2018 12:26:30 +0000 (13:26 +0100)]
Update the GH issue template a bit

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

6 years agoMerge pull request #6762 from jschanz/master
Michael Friedrich [Fri, 9 Nov 2018 12:50:21 +0000 (13:50 +0100)]
Merge pull request #6762 from jschanz/master

fixes #6758

6 years agofixes #6758 6762/head
Schanz, Jens [Fri, 9 Nov 2018 12:17:08 +0000 (13:17 +0100)]
fixes #6758

Add target network-online.target as requirement.
Service Icinga2 won't start before target is finally reached.
This prevents Icinga2 from failing if no entry for hostname.domain
is set in /etc/hosts

6 years agoMerge pull request #6759 from Icinga/bugfix/streamlogger-delete
Michael Friedrich [Fri, 9 Nov 2018 10:50:38 +0000 (11:50 +0100)]
Merge pull request #6759 from Icinga/bugfix/streamlogger-delete

Fix possible double free in StreamLogger::BindStream()

6 years agoMerge pull request #6760 from Icinga/bugfix/armhf-stretch
Michael Friedrich [Fri, 9 Nov 2018 10:50:06 +0000 (11:50 +0100)]
Merge pull request #6760 from Icinga/bugfix/armhf-stretch

armhf: Apply workaround for timer tests with std::bind callbacks

6 years agoFix possible double free in StreamLogger::BindStream() 6759/head
Michael Friedrich [Thu, 8 Nov 2018 14:51:58 +0000 (15:51 +0100)]
Fix possible double free in StreamLogger::BindStream()

refs #6737

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

6 years agoUpdate itl/plugins-contrib.d/network-components.conf 6756/head
Bauerheim, Marcus [Wed, 7 Nov 2018 13:26:02 +0000 (14:26 +0100)]
Update itl/plugins-contrib.d/network-components.conf

Add repeat_key = true for nwc_health

6 years agoMerge pull request #6745 from markleary/master
Michael Friedrich [Mon, 5 Nov 2018 08:10:12 +0000 (09:10 +0100)]
Merge pull request #6745 from markleary/master

Add support for -q argument to Manubulon snmp-storage commmand

6 years agoMerge pull request #6743 from leonstr/master
Michael Friedrich [Mon, 5 Nov 2018 08:07:15 +0000 (09:07 +0100)]
Merge pull request #6743 from leonstr/master

Doc fix: error in example path.

6 years agoDocument snmp_storage_type attribute. 6745/head
Mark Leary [Fri, 2 Nov 2018 14:03:19 +0000 (10:03 -0400)]
Document snmp_storage_type attribute.

6 years agoFollow naming convention for snmp plugin attributes.
Mark Leary [Fri, 2 Nov 2018 13:58:44 +0000 (09:58 -0400)]
Follow naming convention for snmp plugin attributes.

6 years agoChange indents to tab.
Mark Leary [Fri, 2 Nov 2018 13:52:37 +0000 (09:52 -0400)]
Change indents to tab.

6 years agoMerge pull request #6751 from fluxX04/patch-1
Jean Flach [Fri, 2 Nov 2018 10:12:20 +0000 (11:12 +0100)]
Merge pull request #6751 from fluxX04/patch-1

Doc fix: documentation link for apt

6 years agoDoc fix: documentation link for apt 6751/head
Alex [Fri, 2 Nov 2018 06:45:48 +0000 (07:45 +0100)]
Doc fix: documentation link for apt

Fixes `check_apt` documentation link to point to the right man page.

6 years agoAdd support for -q argument to check_snmp_storage.pl.
Mark Leary [Wed, 31 Oct 2018 17:28:27 +0000 (13:28 -0400)]
Add support for -q argument to check_snmp_storage.pl.

6 years agoDoc fix: error in example path. 6743/head
Leon Stringer [Wed, 31 Oct 2018 11:46:12 +0000 (11:46 +0000)]
Doc fix: error in example path.

6 years agoSocket engine: drop life support objects 6479/head
Alexander A. Klimov [Tue, 24 Jul 2018 13:06:55 +0000 (15:06 +0200)]
Socket engine: drop life support objects

refs #6477

6 years agoMake SocketEventDescriptor#EventInterface a SocketEvents::Ptr
Alexander A. Klimov [Tue, 24 Jul 2018 12:40:35 +0000 (14:40 +0200)]
Make SocketEventDescriptor#EventInterface a SocketEvents::Ptr

refs #6477

6 years agoSocketEvents: inherit from Stream
Alexander A. Klimov [Tue, 24 Jul 2018 12:24:56 +0000 (14:24 +0200)]
SocketEvents: inherit from Stream

refs #6477

6 years agoMerge pull request #6731 from Icinga/bugfix/doc-comment
Michael Friedrich [Tue, 30 Oct 2018 12:43:31 +0000 (13:43 +0100)]
Merge pull request #6731 from Icinga/bugfix/doc-comment

Fix typo

6 years agoMerge pull request #6733 from Icinga/bugfix/doc-comment-entry_time
Michael Friedrich [Tue, 30 Oct 2018 12:43:17 +0000 (13:43 +0100)]
Merge pull request #6733 from Icinga/bugfix/doc-comment-entry_time

Doc: warn about not setting Comment#entry_time

6 years agoMerge pull request #6740 from Icinga/bugfix/ido-paused-query-queue-no-enqueue
Michael Friedrich [Tue, 30 Oct 2018 12:40:11 +0000 (13:40 +0100)]
Merge pull request #6740 from Icinga/bugfix/ido-paused-query-queue-no-enqueue

DB IDO: Don't enqueue queries when the feature is paused (HA)

6 years agoDB IDO: Don't enqueue queries when the feature is paused (HA) 6740/head
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

6 years agoImprove error handling for invalid child_options for API downtime actions
Michael Friedrich [Wed, 24 Oct 2018 09:00:24 +0000 (11:00 +0200)]
Improve error handling for invalid child_options for API downtime actions

fixes #6712

6 years agoMinor styleguide
Michael Friedrich [Mon, 29 Oct 2018 12:45:18 +0000 (13:45 +0100)]
Minor styleguide

6 years ago Fix the Icinga2 version check for versions with more than 5 characters
Max Rosin [Fri, 19 Oct 2018 13:37:32 +0000 (15:37 +0200)]
 Fix the Icinga2 version check for versions with more than 5 characters

The previous implementation assumed that every version number will have
5 characters. With the release of 2.10.0 this does not work anymore.
The new implementation extracts everything from the second character to
the first dash. This should work as long as the version string is in a
format like 'v2.10.1-8-gaebe6da'.

fixes Icinga#6703

6 years agoMerge pull request #6709 from ekeih/bugfix/icinga2-version-check-6703
Michael Friedrich [Mon, 29 Oct 2018 12:46:36 +0000 (13:46 +0100)]
Merge pull request #6709 from ekeih/bugfix/icinga2-version-check-6703

 Fix the Icinga2 version check for versions with more than 5 characters

6 years agoMinor styleguide 6709/head
Michael Friedrich [Mon, 29 Oct 2018 12:45:18 +0000 (13:45 +0100)]
Minor styleguide

6 years agoMerge pull request #6738 from Icinga/bugfix/stalled-api-connections
Michael Friedrich [Mon, 29 Oct 2018 12:24:40 +0000 (13:24 +0100)]
Merge pull request #6738 from Icinga/bugfix/stalled-api-connections

Ensure that API/JSON-RPC messages in the same session are processed and not stalled

6 years agoEnsure that API/JSON-RPC messages in the same session are processed and not stalled 6738/head
Michael Friedrich [Mon, 29 Oct 2018 11:57:24 +0000 (12:57 +0100)]
Ensure that API/JSON-RPC messages in the same session are processed and not stalled

This basically drops the "corked" implementation which just stalled the
TLS IO polling after some requests. If you need sort of rate limiting
for these events, use an external TLS proxy which terminates that in front
of Icinga.

fixes #6635

6 years agoDoc: warn about not setting Comment#entry_time 6733/head
Alexander A. Klimov [Fri, 26 Oct 2018 09:33:06 +0000 (11:33 +0200)]
Doc: warn about not setting Comment#entry_time

6 years agoMerge pull request #6732 from Icinga/feature/improve-windows-agent-design
Michael Friedrich [Thu, 25 Oct 2018 16:53:19 +0000 (18:53 +0200)]
Merge pull request #6732 from Icinga/feature/improve-windows-agent-design

Update Windows Agent with new design

6 years agoUpdate Windows agent documentation screenshots 6732/head
Michael Insel [Thu, 25 Oct 2018 16:07:05 +0000 (18:07 +0200)]
Update Windows agent documentation screenshots

Updates the Windows agent screenshots in the documentation with the new design.

refs #6729

6 years agoUpdate Windows Agent design
Michael Insel [Thu, 25 Oct 2018 16:00:10 +0000 (18:00 +0200)]
Update Windows Agent design

This updates the Windows agent design to use the Icinga background
image.

refs #6729

6 years agoFix typo 6731/head
Alexander A. Klimov [Thu, 25 Oct 2018 10:05:45 +0000 (12:05 +0200)]
Fix typo

6 years agoMerge pull request #6726 from Icinga/bugfix/ido-debug-log
Michael Friedrich [Wed, 24 Oct 2018 14:11:38 +0000 (16:11 +0200)]
Merge pull request #6726 from Icinga/bugfix/ido-debug-log

Silence the debug log a bit for IDO events

6 years agoMerge pull request #6725 from Icinga/feature/ha-features
Michael Friedrich [Wed, 24 Oct 2018 14:10:00 +0000 (16:10 +0200)]
Merge pull request #6725 from Icinga/feature/ha-features

Enable HA for features: Elasticsearch, Gelf, Graphite, InfluxDB, OpenTSDB, Perfdata

6 years agoSilence the debug log a bit for IDO events 6726/head
Michael Friedrich [Wed, 24 Oct 2018 14:01:57 +0000 (16:01 +0200)]
Silence the debug log a bit for IDO events

They're actually not processed when the feature is paused,
and I have already seen them in user's logs when analysing why
objects are not updated or notifications sent. 'DbEvents' isn't
related to rather 'DB IDO' and is confusing.

6 years agoUpdate technical concepts docs on object authority and HA aware features 6725/head
Michael Friedrich [Wed, 24 Oct 2018 13:47:10 +0000 (15:47 +0200)]
Update technical concepts docs on object authority and HA aware features

This includes are more detailed insight into how object authority calculation
works.

6 years agoUpdate docs for HA-aware features
Michael Friedrich [Wed, 24 Oct 2018 12:22:09 +0000 (14:22 +0200)]
Update docs for HA-aware features

6 years agoImplement HA functionality for Perfdata feature
Michael Friedrich [Wed, 24 Oct 2018 12:07:36 +0000 (14:07 +0200)]
Implement HA functionality for Perfdata feature

6 years agoImplement HA functionality for OpenTsdb feature
Michael Friedrich [Wed, 24 Oct 2018 11:55:19 +0000 (13:55 +0200)]
Implement HA functionality for OpenTsdb feature

6 years agoImplement HA functionality for Gelf feature
Michael Friedrich [Wed, 24 Oct 2018 11:43:38 +0000 (13:43 +0200)]
Implement HA functionality for Gelf feature

6 years agoImplement HA functionality for InfluxDB feature
Michael Friedrich [Wed, 24 Oct 2018 11:38:06 +0000 (13:38 +0200)]
Implement HA functionality for InfluxDB feature

6 years agoImplement HA functionality for Graphite feature
Michael Friedrich [Wed, 24 Oct 2018 11:29:27 +0000 (13:29 +0200)]
Implement HA functionality for Graphite feature

6 years agoImplement HA functionality for Elasticsearch feature
Michael Friedrich [Wed, 24 Oct 2018 11:20:03 +0000 (13:20 +0200)]
Implement HA functionality for Elasticsearch feature

6 years agoRevert code from icinga.com update
Michael Friedrich [Wed, 24 Oct 2018 10:32:36 +0000 (12:32 +0200)]
Revert code from icinga.com update

6 years agoRevert code from icinga.com update
Michael Friedrich [Wed, 24 Oct 2018 10:32:36 +0000 (12:32 +0200)]
Revert code from icinga.com update

6 years agoMerge pull request #6717 from Icinga/bugfix/api-downtimes-child-options
Michael Friedrich [Wed, 24 Oct 2018 09:54:24 +0000 (11:54 +0200)]
Merge pull request #6717 from Icinga/bugfix/api-downtimes-child-options

Improve error handling for invalid child_options for API downtime actions

6 years agoMerge pull request #6719 from Icinga/fix/finished-reconnect-message
Michael Friedrich [Wed, 24 Oct 2018 09:51:34 +0000 (11:51 +0200)]
Merge pull request #6719 from Icinga/fix/finished-reconnect-message

Do not send 'finished reconnecting...' if failed

6 years agoMerge pull request #6718 from Icinga/bugfix/ssl-shutdown
Michael Friedrich [Wed, 24 Oct 2018 09:46:32 +0000 (11:46 +0200)]
Merge pull request #6718 from Icinga/bugfix/ssl-shutdown

Call SSL_shutdown() at least twice

6 years agoMerge pull request #6662 from Icinga/bugfix/keep-http-connection-open-until-stream-eof
Michael Friedrich [Wed, 24 Oct 2018 09:31:06 +0000 (11:31 +0200)]
Merge pull request #6662 from Icinga/bugfix/keep-http-connection-open-until-stream-eof

Keep the HTTP server connection open until the stream is EOF

6 years agoImprove error handling for invalid child_options for API downtime actions 6717/head
Michael Friedrich [Wed, 24 Oct 2018 09:00:24 +0000 (11:00 +0200)]
Improve error handling for invalid child_options for API downtime actions

fixes #6712

6 years agoMerge pull request #6667 from Icinga/feature/dependency-recursion-limit
Michael Friedrich [Wed, 24 Oct 2018 08:30:46 +0000 (10:30 +0200)]
Merge pull request #6667 from Icinga/feature/dependency-recursion-limit

Increase dependency recursion limit to 256

6 years agoIncrease dependency recursion limit to 256 6667/head
Michael Friedrich [Wed, 10 Oct 2018 09:43:11 +0000 (11:43 +0200)]
Increase dependency recursion limit to 256

fixes #5762

6 years agoMerge pull request #6713 from Icinga/bugfix/typo
Michael Friedrich [Tue, 23 Oct 2018 12:00:18 +0000 (14:00 +0200)]
Merge pull request #6713 from Icinga/bugfix/typo

Fix typo

6 years agoDocs: Add package related changes to the upgrading docs
Michael Friedrich [Mon, 22 Oct 2018 14:18:21 +0000 (16:18 +0200)]
Docs: Add package related changes to the upgrading docs

refs #6714

6 years agoMerge pull request #6714 from Icinga/feature/docs-upgrading-packages
Michael Friedrich [Tue, 23 Oct 2018 11:57:38 +0000 (13:57 +0200)]
Merge pull request #6714 from Icinga/feature/docs-upgrading-packages

Docs: Add package related changes to the upgrading docs

6 years agoModify windows check_update command to allow specifying thresholds. 6480/head
Andrew Jaffie [Tue, 24 Jul 2018 20:00:47 +0000 (16:00 -0400)]
Modify windows check_update command to allow specifying thresholds.

refs #4720

6 years agoDocs: Add package related changes to the upgrading docs 6714/head
Michael Friedrich [Mon, 22 Oct 2018 14:18:21 +0000 (16:18 +0200)]
Docs: Add package related changes to the upgrading docs

6 years agoFix typo 6713/head
Jean Flach [Mon, 22 Oct 2018 12:19:16 +0000 (14:19 +0200)]
Fix typo

6 years ago Fix the Icinga2 version check for versions with more than 5 characters
Max Rosin [Fri, 19 Oct 2018 13:37:32 +0000 (15:37 +0200)]
 Fix the Icinga2 version check for versions with more than 5 characters

The previous implementation assumed that every version number will have
5 characters. With the release of 2.10.0 this does not work anymore.
The new implementation extracts everything from the second character to
the first dash. This should work as long as the version string is in a
format like 'v2.10.1-8-gaebe6da'.

fixes Icinga#6703

6 years agoFix regression for wrong objects.cache path overwriting icinga2.debug file
Michael Friedrich [Fri, 19 Oct 2018 08:42:54 +0000 (10:42 +0200)]
Fix regression for wrong objects.cache path overwriting icinga2.debug file

The 'statusdata' feature is deprecated, although it affects 'object list'.

fixes #6705

refs #6707

6 years agoMerge pull request #6707 from Icinga/bugfix/compat-objects-path
Michael Friedrich [Fri, 19 Oct 2018 10:30:53 +0000 (12:30 +0200)]
Merge pull request #6707 from Icinga/bugfix/compat-objects-path

Fix regression for wrong objects.cache path overwriting icinga2.debug file

6 years agoMerge pull request #6708 from Icinga/bugfix/docs-alpine-repos
Michael Friedrich [Fri, 19 Oct 2018 10:30:34 +0000 (12:30 +0200)]
Merge pull request #6708 from Icinga/bugfix/docs-alpine-repos

Docs: Alpine needs 'edge/main' repository too

6 years agoMerge pull request #6704 from efuss/fix/scheduleddowntime1
Michael Friedrich [Fri, 19 Oct 2018 10:29:51 +0000 (12:29 +0200)]
Merge pull request #6704 from efuss/fix/scheduleddowntime1

Put newly configured already running ScheduledDowntime immediately in effect

6 years agoDocs: Alpine needs 'edge/main' repository too 6708/head
Michael Friedrich [Fri, 19 Oct 2018 10:01:58 +0000 (12:01 +0200)]
Docs: Alpine needs 'edge/main' repository too

6 years agoFix regression for wrong objects.cache path overwriting icinga2.debug file 6707/head
Michael Friedrich [Fri, 19 Oct 2018 08:42:54 +0000 (10:42 +0200)]
Fix regression for wrong objects.cache path overwriting icinga2.debug file

The 'statusdata' feature is deprecated, although it affects 'object list'.

fixes #6705

6 years agoPut running downtimes in effect 6704/head
Edgar Fuß [Thu, 18 Oct 2018 16:42:21 +0000 (18:42 +0200)]
Put running downtimes in effect

If Icinga2 was restarted with a newly configured downtime that should
be in effect at the time of restart, the should-be-running segment of
it was not put into effect.

Add new LegacyTimePeriod::FindRunningSegment() and
ScheduledDowntime::FindRunningSegment() functions, call the latter in
ScheduledDowntime::CreateNextDowntime() before trying the old
ScheduledDowntime::FindNextSegment().

6 years agoRemove spurious string in debug message
Edgar Fuß [Thu, 18 Oct 2018 16:35:14 +0000 (18:35 +0200)]
Remove spurious string in debug message

Remove a spurious " at " in the "Evaluating segment" debug message in ScheduledDowntime::FindNextSegment().

6 years agoRemove dead code
Edgar Fuß [Thu, 18 Oct 2018 16:09:20 +0000 (18:09 +0200)]
Remove dead code

Remove some dead code in ScheduledDowntime::CreateNextDowntime().