Commit Graph

10076 Commits

Author SHA1 Message Date
Edgar Fuß 9c1e9f4264
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().
2018-10-18 18:42:21 +02:00
Edgar Fuß f1597ca5bd
Remove spurious string in debug message
Remove a spurious " at " in the "Evaluating segment" debug message in ScheduledDowntime::FindNextSegment().
2018-10-18 18:35:14 +02:00
Edgar Fuß fa3e5c8c31
Remove dead code
Remove some dead code in ScheduledDowntime::CreateNextDowntime().
2018-10-18 18:09:20 +02:00
Michael Friedrich 582d8f4961 Release version 2.10.1 2018-10-18 11:31:02 +02:00
Michael Friedrich ab8c9ad39c
Merge pull request #6701 from Icinga/feature/readme-github-tag
Add GitHub release tag to README
2018-10-18 11:06:57 +02:00
Michael Friedrich a9129e8e56 Add GitHub release tag to README 2018-10-18 11:06:04 +02:00
Michael Friedrich 4739697bda
Merge pull request #6700 from Icinga/feature/docs-addons
Enhance the addon chapter in the docs
2018-10-18 10:40:17 +02:00
Michael Friedrich f7be04c22f Enhance the addon chapter in the docs 2018-10-18 10:38:11 +02:00
Michael Friedrich 83ad98420a
Merge pull request #6699 from Icinga/feature/update-icinga-com
Update to https://icinga.com/
2018-10-18 10:19:50 +02:00
Michael Friedrich 12ef5c053f Docs: Use the correct URLs in various places 2018-10-18 09:59:33 +02:00
Michael Friedrich 3cb2c1d143 icinga.com: Update everything else 2018-10-18 09:50:53 +02:00
Michael Friedrich 1a8a2c25f2 icinga.com: Update test and tools 2018-10-18 09:45:36 +02:00
Michael Friedrich a2cb542a2e icinga.com: Update '*.sql' 2018-10-18 09:41:54 +02:00
Michael Friedrich 0072a6f7d9 icinga.com: Update icinga-app 2018-10-18 09:39:34 +02:00
Michael Friedrich eabea68c56 icinga.com: Update config files (ITL, etc.) 2018-10-18 09:37:59 +02:00
Michael Friedrich dea5ec614e icinga.com: Update CMakeLists.txt 2018-10-18 09:35:18 +02:00
Michael Friedrich e6f404ec4a icinga.com: Update docs for /community/get-involved -> /community 2018-10-18 09:32:14 +02:00
Michael Friedrich 44c3b83769 icinga.com: Update '*.ti' 2018-10-18 09:30:00 +02:00
Michael Friedrich a036bda601 icinga.com: Update '*.h' 2018-10-18 09:29:29 +02:00
Michael Friedrich dab53448bc icinga.com: Update *.{h,c}pp 2018-10-18 09:27:04 +02:00
Michael Friedrich aa7201aaad
Merge pull request #6696 from Icinga/bugfix/remove-default-environment
Remove default environment, regression from e678fa1aa5
2018-10-17 13:01:24 +02:00
Michael Friedrich 7abfe13a00 Remove default environment, regression from e678fa1aa5
refs #6512
fixes #6694
2018-10-17 12:45:13 +02:00
Michael Friedrich c0398ed9ba
Merge pull request #6691 from Icinga/bugfix/reload-signal-handler-dump-state-file
Add missing shutdown/program state dumps for SIGUSR2 reload handler
2018-10-16 14:05:17 +02:00
Michael Friedrich e5957f867e
Merge pull request #6690 from jacksgt/patch-1
Extend 09-object-types.md with argument array
2018-10-16 12:42:01 +02:00
Michael Friedrich 893056742f
Merge pull request #6692 from Icinga/feature/docs-release-chocolatey
Update release docs for Chocolatey
2018-10-16 12:40:38 +02:00
Michael Friedrich af6c8a1f50 Add missing shutdown/program state dumps for SIGUSR2 reload handler
Credits to @west0rmann finding the issue and providing the initial fix.

fixes #6689
fixes #6592
2018-10-16 12:36:43 +02:00
Jack 99a4ee0ad9
Extend 09-object-types.md with argument array
Add a small snippet demonstrating how to define an argument array instead of a simple string.
2018-10-16 11:40:00 +02:00
Michael Friedrich 3cccc9d9b8
Merge pull request #6685 from Icinga/bugfix/api-permission-filters
Fix regression with API permission filters and namespaces in v2.10
2018-10-15 17:02:14 +02:00
Michael Friedrich dc1f77c9d1 Update release docs for Chocolatey
refs #6683
2018-10-15 16:27:25 +02:00
Michael Friedrich 34de8104b8 Fix regression with API permission filters and namespaces in v2.10
fixes #6682
2018-10-15 15:47:11 +02:00
Michael Friedrich db322ebce1
Merge pull request #6679 from Icinga/bugfix/initialize-initrundir-constant-on-windows
Initialize Configuration::InitRunDir for Windows and writing the PID file
2018-10-15 09:38:35 +02:00
Michael Friedrich c10a9ae08b
Merge pull request #6681 from sebastic/spelling-errors
Fix spelling errors.
2018-10-15 09:30:16 +02:00
Michael Friedrich 1c7fddb780 Initialize Configuration::InitRunDir for Windows and writing the PID file
Even if this some Unix specific stuff, we rely on writing this file
in our generic application code. Therefore its path needs to be specified.

This got broken with 9fbc406 which renamed RunDir to InitRunDir, but
didn't re-add it to the Windows #ifdefs.

fixes #6677
2018-10-15 09:24:46 +02:00
Bas Couwenberg f0aaecb90c Fix spelling errors.
compatiblity -> compatibility
2018-10-15 08:56:18 +02:00
Michael Friedrich 71a8f35354
Merge pull request #6674 from Icinga/feature/docs-distributed-zones-endpoints
Add a note to the docs on >2 endpoints in a zone
2018-10-12 10:53:36 +02:00
Michael Friedrich bec6cc4621 Add a note to the docs on >2 endpoints in a zone
This is missing, I cannot remember how it went away.
Questions are coming frequently recently.
2018-10-12 10:49:03 +02:00
Michael Friedrich 334e884aa7
Merge pull request #6673 from Icinga/feature/release-docs
Update RELEASE docs
2018-10-12 10:22:21 +02:00
Michael Friedrich 5e187eb09c
Merge pull request #6672 from dupondje/zone_upgrade_docs
Extend upgrade docs
2018-10-12 10:10:35 +02:00
Michael Friedrich 069ef4b825 Update RELEASE docs
- GH Milestone prior to changelog script run
- Branching for package repos
- Infos for updating the online docs with Puppet
- Example for Debian Stretch package tests with Docker
- Drop Google+ URL
2018-10-12 10:08:28 +02:00
Jean-Louis Dupond e8ecc770d0 Extend upgrade docs 2018-10-12 10:05:20 +02:00
Michael Friedrich b86c918d4d Release version 2.10.0 2018-10-11 14:01:05 +02:00
Michael Friedrich a3cfa5fba4
Merge pull request #6669 from Icinga/feature/no-errors-with-indexer-access-in-namespaces
Don't throw an error when namespace indexers don't find a valid key
2018-10-11 13:21:11 +02:00
Michael Friedrich eaa4b1aa76
Merge pull request #6670 from Icinga/feature/docs-technical-concepts-config-compiler
Add technical concepts for the config compiler and daemon CLI command
2018-10-11 13:20:51 +02:00
Michael Friedrich b44750f620 Add technical concepts for the config compiler and daemon CLI command
refs #6589
2018-10-11 13:04:14 +02:00
Michael Friedrich 43a571e013 Don't throw an error when namespace indexers don't find a valid key
Examples:

```
globals["abc"]
globals.def
```

The patch for the Icinga Director unfortunately only solves the
master, and as discussed with @lippserd we need to ensure that
satellites and clients with 2.10 can be restarted without any errors
from deployed configuration.

refs #6509
refs icinga/icingaweb2-module-director#1654
2018-10-11 12:42:56 +02:00
Michael Friedrich 8bc5642ad5
Merge pull request #6668 from Icinga/feature/enhance-vim-syntax-highlighting
Enhance vim syntax highlighting for 2.10
2018-10-10 15:57:33 +02:00
Michael Friedrich 355b21a04c Enhance vim syntax highlighting for 2.10
- object types (and 'host' inside apply) are now green again
- special underlined macro highlighting
- add missing object types, attributes and constants
- add new constants and namespaces/references for 2.10
- Large refactoring into sub matches

I don't use nano, so we need a nano hero to incorporate
these changes here into their syntax highlighting file :)

refs #5683
2018-10-10 15:35:30 +02:00
Michael Friedrich 28ca481689
Merge pull request #6665 from stblassitude/master
Make the two modes of check_http more obvious.
2018-10-10 09:11:43 +02:00
Stefan Bethke 73a7230f1b Make the two modes of check_http more obvious.
See https://github.com/monitoring-plugins/monitoring-plugins/issues/1553
2018-10-10 00:52:59 +02:00
Michael Friedrich 1c880addd8
Merge pull request #6664 from Icinga/bugfix/daemonize-socketeventengine-threads
Revert "Initialize Socket Event Engine on application startup"
2018-10-09 20:00:00 +02:00