Jean Flach
1a9c1591c0
Fix check behavior on restart
...
This patch changes the way checkresults are handled during a restart.
1. Check results coming in during a shutdown are ignored.
2. Upon start, checks which should have ran (next_check in the past),
are re-scheduled within the first minute.
This new behavior means there will be no more "Unknown - Terminated"
checkresults during a restart and checks with high check_interval will
be run earlier if they were already scheduled to run. The downside is
that after Icinga2 was down for a while, there will be a lot of checks
within the first minute. Our max concurrent check should take care of
this though.
2018-04-10 15:52:50 +02:00
Noah Hilverling
d784a2a899
Merge pull request #6206 from Icinga/feature/app-version-constant
...
Add ApplicationVersion built-in constant
2018-04-06 14:14:16 +02:00
Michael Friedrich
2c5e142172
Add ApplicationVersion built-in constant
...
refs #5784
2018-04-06 13:41:22 +02:00
Noah Hilverling
24752f3733
Merge pull request #6204 from Icinga/fix/api-create-object-exists-errors
...
API: Check if objects exists and return proper error message
2018-04-06 12:47:31 +02:00
Michael Friedrich
bd7598cb1b
API: Check if objects exists and return proper error message
2018-04-06 12:32:27 +02:00
Jean Flach
6d81c5c34f
Merge pull request #6199 from Icinga/fix/action-http-code
...
Return 500 when no api action is successful
2018-04-06 11:20:43 +02:00
Jean Flach
90d39d7d7c
Merge pull request #6201 from Icinga/fix/x509-exception
...
Handle exceptions from X509Certificate2
2018-04-06 10:56:27 +02:00
Jean Flach
f133c7914e
Build fix
2018-04-06 10:43:33 +02:00
Noah Hilverling
22c3a7933e
Fix API action status codes
2018-04-06 10:06:15 +02:00
Noah Hilverling
75b450ae0c
Merge pull request #6202 from Icinga/feature/use-version-file
...
Use VERSION instead of icinga2.spec
2018-04-06 08:18:03 +02:00
Michael Friedrich
6a61d74fb1
Merge pull request #6203 from Icinga/feature/docs-script-debugger-api
...
Add docs for script debugger and API filters
2018-04-05 21:02:19 +02:00
Michael Friedrich
da27aca205
Add docs for script debugger and API filters
2018-04-05 20:55:33 +02:00
Michael Friedrich
441536f292
Use VERSION instead of icinga2.spec
2018-04-05 16:59:57 +02:00
Jean Flach
9b291be989
Return 500 when no api action is successful
...
fixes #5095
2018-04-05 15:56:06 +02:00
Michael Friedrich
3a8017fd99
Merge pull request #6195 from Icinga/fix/api-console-crash
...
Fix crash in remote api console
2018-04-05 15:34:47 +02:00
Michael Friedrich
8eec0487bb
Merge pull request #6198 from Icinga/deprecate-statusdatawriter
...
Deprecate Statusdatawriter
2018-04-05 15:32:32 +02:00
Michael Friedrich
d398eca581
Merge pull request #6196 from Icinga/fix/influxdb-escaping
...
Fix InfluxDB backslash escaping
2018-04-05 15:27:06 +02:00
Jean Flach
e470e8927a
Handle exceptions from X092certificate2
...
refs #6200
2018-04-05 13:37:11 +02:00
Jean Flach
7bdbd2b074
Deprecate Statusdatawriter
...
refs #6033
2018-04-05 09:32:07 +02:00
Noah Hilverling
0e17632bc4
Fix InfluxDB backslash escaping
...
fixes #6182
2018-04-04 13:02:48 +02:00
Jean Flach
69ea2f3a64
Fix crash in remote api console
2018-04-04 12:23:45 +02:00
Michael Friedrich
e08231f4df
Merge pull request #6170 from Icinga/feature/windows-global-zones
...
Add option to windows installer to add global zones
2018-04-03 17:19:49 +02:00
Michael Friedrich
da9b3991aa
Merge pull request #6163 from Icinga/fix/handle-restart
...
Fix reload handling by updating the PID file before process overtake
2018-04-03 17:18:29 +02:00
Michael Friedrich
ecbbc2fcc5
Merge pull request #6194 from Icinga/feature/metric-unit-elastic-gelf
...
Elasticsearch/GELF: Add metric unit to performance data fields
2018-04-03 17:12:29 +02:00
Michael Friedrich
d384dee204
Merge pull request #6193 from Icinga/fix/gelfwriter-invalid-perfdata-crash
...
GelfWriter: Fix crash on invalid performance data metrics
2018-04-03 14:52:12 +02:00
Michael Friedrich
0cd4837c78
Merge pull request #6192 from Icinga/fix/elasticsearch-writer-invalid-perfdata-crash
...
Elasticsearch: Fix crash with invalid performance data metrics
2018-04-03 14:51:02 +02:00
Michael Friedrich
313f25163b
Elasticsearch/GELF: Add metric unit to performance data fields
...
Seen this inside the InfluxDBWriter code, makes sense to store
this in Elasticsearch too.
2018-04-03 14:49:50 +02:00
Michael Friedrich
6609ec647f
GelfWriter: Fix crash on invalid performance data metrics
...
Spotted while comparing the source code of several performance data
writer.
refs #6191
2018-04-03 14:43:48 +02:00
Michael Friedrich
85eba79f55
Elasticsearch: Fix crash with invalid performance data metrics
...
fixes #6191
2018-04-03 14:38:25 +02:00
Jean Flach
6617214b1c
Merge pull request #6187 from Icinga/fix/remove-studio-images
...
Remove Icinga Studio Screenshots
2018-03-29 15:46:35 +02:00
Michael Insel
d69e935f20
Remove Icinga Studio Screenshots
...
This removes unnecessary Icinga Studio screenshots as it has been removed.
2018-03-26 19:52:08 +02:00
Michael Insel
92fa7a881c
Update Windows wizard documentation for global zones
...
This updates the screenshots for the windows wizard.
2018-03-26 19:34:35 +02:00
Gunnar Beutner
fa615ec291
Merge pull request #6181 from Icinga/fix/boosttest-fixture-order
...
tests: Ensure IcingaApplication is initialized before adding config
2018-03-26 14:45:01 +02:00
Markus Frosch
3adfd396f4
tests: Ensure IcingaApplication is initialized before adding config
...
This avoids an ordering problem noticed in Boost 1.55
2018-03-26 13:58:12 +02:00
Markus Frosch
eb71e16995
tests: Move IcingaApplicationFixture out of test-runner
...
And make it basically a singleton that would be callable by other test
units.
2018-03-26 13:58:12 +02:00
Jean Flach
d5ddc877dd
Merge pull request #6180 from mauricemeyer/master
...
Doc: fixed wrong information about defaulting
2018-03-26 10:04:37 +02:00
Maurice Meyer
3f8aa04da6
Doc: fixed wrong information about defaulting
...
Signed-off-by: Maurice Meyer <morre@mor.re>
2018-03-23 13:18:15 +01:00
Michael Friedrich
8b2129b845
Merge pull request #6177 from Icinga/fix/doc-api-user
...
Doc: Fix typo in API user creation example
2018-03-23 12:36:08 +01:00
Michael Friedrich
0ca3aa17ad
Merge pull request #6176 from mauricemeyer/master
...
hashed_password -> password_hash. Fixes #6175
2018-03-23 12:34:19 +01:00
Michael Insel
7d165d39c2
Doc: Fix typo in API user creation example
...
This fixes a typo in the API user creation example inside the documentation.
2018-03-22 20:47:15 +01:00
Maurice Meyer
d0949fc6e3
hashed_password -> password_hash. Fixes #6175
...
Signed-off-by: Maurice Meyer <morre@mor.re>
2018-03-22 20:40:46 +01:00
Jean Flach
3d92573f61
Merge branch 'support/2.8'
2018-03-22 11:29:48 +01:00
Jean Flach
8567f5da2d
Release version 2.8.2
2018-03-22 11:29:29 +01:00
Jean Flach
ada573dcf0
Release version 2.8.2
2018-03-22 11:26:19 +01:00
Jean Flach
e5539073c1
Update mailmap
2018-03-22 10:35:02 +01:00
Michael Friedrich
0d3a04cf92
Merge pull request #6174 from Icinga/fix/api-crash-no-headeralloworigin
...
Fix crash without CORS setting
2018-03-21 20:50:48 +01:00
Michael Friedrich
b11ab95f41
Fix crash without CORS config settings
...
fixes #6173
refs #6098
2018-03-21 20:42:31 +01:00
Michael Friedrich
4f12142d52
Docs: Add a note to only query the NSClient++ API from the local Icinga 2 client
...
refs #6172
2018-03-21 16:05:17 +01:00
Michael Friedrich
c9d2b968e9
Merge pull request #6172 from Icinga/fix/docs-nscp-api
...
Docs: Add a note to only query the NSClient++ API from the local Icinga 2 client
2018-03-21 16:04:39 +01:00
Michael Friedrich
d9d10a6f7e
Docs: Add a note to only query the NSClient++ API from the local Icinga 2 client
2018-03-21 16:00:39 +01:00