Commit Graph

10318 Commits

Author SHA1 Message Date
Michael Friedrich 00694cb675 Release version 2.10.2 2018-11-14 09:08:51 +01:00
Michael Friedrich e2169f17f2 Release version 2.10.2 2018-11-13 17:13:54 +01:00
Michael Friedrich 6998436db1
Merge pull request #6480 from ajaffie/feature/win-check-update-4720
Modify windows check_update command to allow specifying thresholds.
2018-11-13 16:40:26 +01:00
Michael Friedrich 09e70217fd Imitialize ICINGA2_ERROR_LOG inside the Systemd environment
The initscript uses a local default, which is not here for Systemd.
2018-11-13 16:37:27 +01:00
Michael Friedrich 31c81dc7ee
Merge pull request #6773 from Icinga/bugfix/systemd-error-log
Initialize ICINGA2_ERROR_LOG inside the systemd environment
2018-11-13 16:36:54 +01:00
Michael Friedrich 6a4c5e6bcb Imitialize ICINGA2_ERROR_LOG inside the Systemd environment
The initscript uses a local default, which is not here for Systemd.
2018-11-13 14:02:03 +01:00
Michael Friedrich 0046dcad7b DB IDO: Don't enqueue queries when the feature is paused (HA)
fixes #5876
refs #6739
2018-11-13 12:01:50 +01:00
Michael Friedrich 1a77d996ee Implement unit tests for Dictionary initializers 2018-11-13 11:49:19 +01:00
Michael Friedrich 26d7b59ff6
Merge pull request #6771 from Icinga/feature/tests
Implement unit tests for Dictionary initializers
2018-11-13 11:48:55 +01:00
Michael Insel f4f2d862e6 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.
2018-11-13 09:13:55 +01:00
Michael Friedrich 374dd91deb
Merge pull request #6770 from Icinga/bugfix/graphitewriter-deadlock
Fix deadlock in GraphiteWriter
2018-11-13 08:36:51 +01:00
Michael Insel b0cf92fd17 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.
2018-11-12 20:12:40 +01:00
Michael Friedrich a1e30f6ef5 Apply workaround for timer tests with std::bind callbacks 2018-11-12 17:08:06 +01:00
Michael Friedrich b3e98a842f Fix possible double free in StreamLogger::BindStream()
refs #6737
2018-11-12 17:07:51 +01:00
Michael Friedrich 46ed01348c 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
2018-11-12 17:07:38 +01:00
Michael Friedrich 90de216cbb
Merge pull request #6479 from Icinga/feature/socketevents-inherit-object-6477
SocketEvents: inherit from Stream
2018-11-12 17:06:37 +01:00
Michael Friedrich cb0fd8d449
Merge pull request #6756 from MaBauMeBad/master
ITL: Add repeat_key for check_nwc_health
2018-11-12 17:02:53 +01:00
Michael Friedrich 798ef557d3 Update the GH issue template a bit 2018-11-12 13:26:30 +01:00
Michael Friedrich 9d73f0cf30 Implement unit tests for Dictionary initializers 2018-11-09 14:56:36 +01:00
Michael Friedrich 3fa9c1d8dd
Merge pull request #6762 from jschanz/master
fixes #6758
2018-11-09 13:50:21 +01:00
Schanz, Jens 2754175c6e 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
2018-11-09 13:17:08 +01:00
Michael Friedrich 9767ad14f7
Merge pull request #6759 from Icinga/bugfix/streamlogger-delete
Fix possible double free in StreamLogger::BindStream()
2018-11-09 11:50:38 +01:00
Michael Friedrich bd1cfc7bf9
Merge pull request #6760 from Icinga/bugfix/armhf-stretch
armhf: Apply workaround for timer tests with std::bind callbacks
2018-11-09 11:50:06 +01:00
Michael Friedrich 1f5555e1d6 Fix possible double free in StreamLogger::BindStream()
refs #6737
2018-11-08 15:51:58 +01:00
Michael Friedrich 2991993f6b Apply workaround for timer tests with std::bind callbacks 2018-11-08 15:03:41 +01:00
Michael Friedrich d082e8c1b1 Fix that no_more_notifications gets reset when Recovery notifications are filtered away
Hello from the OSMC hackathon :)
2018-11-08 12:13:32 +01:00
Bauerheim, Marcus 8d715aab35 Update itl/plugins-contrib.d/network-components.conf
Add repeat_key = true for nwc_health
2018-11-07 14:26:02 +01:00
Michael Friedrich ec169de5c4
Merge pull request #6745 from markleary/master
Add support for -q argument to Manubulon snmp-storage commmand
2018-11-05 09:10:12 +01:00
Michael Friedrich bf990d9591
Merge pull request #6743 from leonstr/master
Doc fix: error in example path.
2018-11-05 09:07:15 +01:00
Mark Leary aa93caae62 Document snmp_storage_type attribute. 2018-11-02 10:03:19 -04:00
Mark Leary 1b10e81511 Follow naming convention for snmp plugin attributes. 2018-11-02 09:58:44 -04:00
Mark Leary 1b062e0a5b Change indents to tab. 2018-11-02 09:52:37 -04:00
Jean Flach 297892e7a8
Merge pull request #6751 from fluxX04/patch-1
Doc fix: documentation link for apt
2018-11-02 11:12:20 +01:00
Alex d340f6b519
Doc fix: documentation link for apt
Fixes `check_apt` documentation link to point to the right man page.
2018-11-02 07:45:48 +01:00
David Lublink a02b7ac155 * BugFix : Wrong operator on stride variable causing incorrect behaviour ( #6749 ) 2018-11-01 18:51:42 -04:00
Michael Insel b785674ab2 Fix api setup to automatically create the conf.d directory
This patch creates the conf.d directory automatically when it is not present during api setup.
2018-11-01 19:16:26 +01:00
Mark Leary 62e9c0badd Add support for -q argument to check_snmp_storage.pl. 2018-10-31 13:28:27 -04:00
Leon Stringer 39260eb50c Doc fix: error in example path. 2018-10-31 11:46:12 +00:00
Alexander A. Klimov a2ae01e64b Socket engine: drop life support objects
refs #6477
2018-10-30 13:46:20 +01:00
Alexander A. Klimov 5134ccaf56 Make SocketEventDescriptor#EventInterface a SocketEvents::Ptr
refs #6477
2018-10-30 13:46:20 +01:00
Alexander A. Klimov a9a9469868 SocketEvents: inherit from Stream
refs #6477
2018-10-30 13:46:20 +01:00
Michael Friedrich a47044fa08
Merge pull request #6731 from Icinga/bugfix/doc-comment
Fix typo
2018-10-30 13:43:31 +01:00
Michael Friedrich 0cde5b92b6
Merge pull request #6733 from Icinga/bugfix/doc-comment-entry_time
Doc: warn about not setting Comment#entry_time
2018-10-30 13:43:17 +01:00
Michael Friedrich 4050ca5a5c
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)
2018-10-30 13:40:11 +01:00
Michael Friedrich c0c6ea545b DB IDO: Don't enqueue queries when the feature is paused (HA)
fixes #5876
refs #6739
2018-10-30 13:17:28 +01:00
Michael Friedrich ec939373d0 Improve error handling for invalid child_options for API downtime actions
fixes #6712
2018-10-29 13:52:43 +01:00
Michael Friedrich 4424b203c2 Minor styleguide 2018-10-29 13:51:25 +01:00
Max Rosin d8462cf6cd 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
2018-10-29 13:51:09 +01:00
Michael Friedrich 680103f111
Merge pull request #6709 from ekeih/bugfix/icinga2-version-check-6703
Fix the Icinga2 version check for versions with more than 5 characters
2018-10-29 13:46:36 +01:00
Michael Friedrich 3d45d0bcf6 Minor styleguide 2018-10-29 13:45:18 +01:00