Michael Friedrich
b6212e92fb
Merge pull request #6750 from davidtek/master
...
#6749 Wrong operator on stride variable causing incorrect behaviour
2018-12-05 11:05:05 +01:00
Michael Friedrich
c3ec1f9a21
Merge pull request #6801 from BarbUk/feature/itl-check-varnish
...
Add varnish CheckCommand definition
2018-12-05 10:52:28 +01:00
Michael Friedrich
15e3aa1762
Merge pull request #6786 from Icinga/feature/dsl-getenv
...
DSL: Implement getenv()
2018-12-04 16:08:37 +01:00
Michael Friedrich
c21453678b
Merge pull request #6819 from Icinga/feature/development-docs
...
Enhance and unify development docs for debug, develop, package
2018-12-04 16:07:17 +01:00
Michael Friedrich
6cd8b7be32
Merge pull request #6814 from Icinga/bugfix/conn-close-stall
...
Restore 'Connection: close' behaviour in HTTP responses
2018-12-04 16:06:53 +01:00
Michael Friedrich
00673cd759
Docs: Formatting for dev requirements
2018-12-04 12:25:34 +01:00
Michael Friedrich
43c171056f
Minor updates for core dumps
...
The main parts are discussed in #6723
2018-12-04 12:14:01 +01:00
Michael Friedrich
01d2a17683
Update TOC
2018-12-04 11:05:43 +01:00
Michael Friedrich
9801b8b7a0
Purge INSTALL.md and add packager info to README.md
...
Everything is located in the online documentation, where the README.md
points to.
2018-12-04 10:56:34 +01:00
Michael Friedrich
8cbe286e67
Fix formatting in dev docs
2018-12-04 10:51:04 +01:00
Michael Friedrich
7b39591c6b
Merge pull request #6811 from Icinga/bugfix/win-check-memory-state-condition
...
Fix state conditions in check_memory and check_swap
2018-12-03 15:06:30 +01:00
Michael Friedrich
5f25eb6b2d
Add a code comment for connection: close handling
2018-12-03 14:40:50 +01:00
Sven Wegener
a83dbc9de5
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
2018-12-03 14:27:37 +01:00
Michael Friedrich
e0b3e05c63
Docs: Update README.md with a better description and direct URLs to icinga.com/docs
2018-12-03 13:23:21 +01:00
Michael Friedrich
ac9ed41537
Docs: Update anchors
2018-12-03 11:15:04 +01:00
Michael Friedrich
ec39a74453
Docs: More updates on dev environments, add mini TOC
2018-12-03 11:11:35 +01:00
Michael Friedrich
3827e15c4a
Docs: Simplify INSTALL.md and point to icinga.com/docs
2018-12-03 11:11:35 +01:00
Michael Friedrich
c6fc144102
Docs: Delete extra docs for windows builds
...
This should be visible in icinga.com/docs, no extra
docs needed.
2018-12-03 11:11:35 +01:00
Michael Friedrich
4382b87baa
Docs: First draft for development docs
2018-12-03 11:11:35 +01:00
Michael Friedrich
5ef23ee06d
Merge pull request #6808 from Icinga/bugfix/put-request-0-byte-file-3937
...
Remove redundand check for object existence on creation via API
2018-11-30 13:21:21 +01:00
Michael Insel
160a7716c5
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.
2018-11-29 22:16:57 +01:00
BarbUk
9d1a6d7492
Indentation: space to tab
2018-11-30 00:36:06 +04:00
Alexander A. Klimov
8de5326d23
Remove redundand check for object existence on creation via API
...
refs #3937
2018-11-29 17:51:53 +01:00
Michael Friedrich
1f06ba2dfc
Merge pull request #6800 from Icinga/bugfix/win-check-perfmon-english-names
...
Fix check_perfmon to support non-localized names
2018-11-29 13:01:09 +01:00
BarbUk
42cbd365bf
Add more info about varnish_param
2018-11-27 19:35:58 +04:00
BarbUk
2e462d63a4
Add varnish CheckCommand definition
...
This definition use check_varnish to monitore a varnish instance.
This closes #5122
2018-11-27 19:22:36 +04:00
Michael Insel
5da4fbde3b
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
2018-11-26 17:18:38 +01:00
Michael Friedrich
d17b403583
Merge pull request #6791 from Icinga/feature/docs-ido-cleanup
...
Docs: Add a section for DB IDO Cleanup
2018-11-22 09:32:00 +01:00
Michael Friedrich
1540fdbadb
Merge pull request #6776 from fluxX04/apache2-doc-fix
...
Doc fix: update apache section
2018-11-21 11:24:47 +01:00
Michael Friedrich
f1d26848ac
Docs: Add a section for DB IDO Cleanup
...
refs #6784
2018-11-21 11:20:54 +01:00
Michael Friedrich
f3cd3eb870
DSL: Implement getenv()
...
This patch also restores Utility::GetFromEnvironment()
and replaces the hardcoded `getenv()` calls.
2018-11-19 18:11:16 +01:00
fluxX04
114da89ef0
update apache status command to be identical according the itl
2018-11-15 09:54:58 +01:00
Michael Friedrich
aec0f6de15
Merge pull request #6775 from Icinga/feature/docs-tech-concepts-check-scheduler
...
Add technical docs for the check scheduler (general, initial check, offsets)
2018-11-14 14:41:23 +01:00
Michael Friedrich
9409e93bc7
Add technical docs for the check scheduler (general, initial check, offsets)
...
David asked me about initial check offsets, so I wrote something :)
2018-11-14 14:27:52 +01:00
Michael Friedrich
2ce3e1d49d
Merge branch 'support/2.10'
2018-11-14 09:09:00 +01:00
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