]>
granicus.if.org Git - icinga2/log
Michael Friedrich [Thu, 19 Apr 2018 07:54:29 +0000 (09:54 +0200)]
Log warning when sysconfig file cannot be read
refs #6215
Jean Flach [Mon, 16 Apr 2018 11:39:20 +0000 (13:39 +0200)]
Add improved error messages for resource limits
refs #6215
Michael Friedrich [Thu, 19 Apr 2018 06:49:47 +0000 (08:49 +0200)]
Fix SysconfigFile detection for binary builds
It may happen that the variable is not properly initialized
and we'll have an empty string. Observed on macOS and inside
Docker.
refs #6215
Michael Friedrich [Tue, 17 Apr 2018 18:59:03 +0000 (20:59 +0200)]
Merge pull request #6217 from Icinga/fix/reschedule-checks
Fix check behavior on restart
Michael Friedrich [Tue, 17 Apr 2018 14:40:11 +0000 (16:40 +0200)]
Merge pull request #6205 from Icinga/feature/api-verbose-errors
API: Unify verbose error messages
Michael Friedrich [Tue, 17 Apr 2018 13:05:00 +0000 (15:05 +0200)]
Merge pull request #6219 from Icinga/feature/elasticsearch-6
Add support for Elasticsearch 6
Jean Flach [Wed, 11 Apr 2018 12:32:06 +0000 (14:32 +0200)]
Update docs for ES 6
Jean Flach [Wed, 11 Apr 2018 12:04:39 +0000 (14:04 +0200)]
Fix ES 5 support
Jean Flach [Fri, 6 Apr 2018 13:24:43 +0000 (15:24 +0200)]
Move _type into url
Michael Friedrich [Thu, 8 Feb 2018 17:00:00 +0000 (18:00 +0100)]
Fix Elastic 6 support
fixes #5905
Michael Friedrich [Tue, 17 Apr 2018 07:08:03 +0000 (09:08 +0200)]
Merge pull request #6229 from Icinga/fix/systemd-shell
Don't use shell variables in sysconfig
Jean Flach [Mon, 16 Apr 2018 07:36:44 +0000 (09:36 +0200)]
Merge pull request #6230 from jbeich/boost-1.67
Unbreak build against Boost 1.67
Jan Beich [Sun, 15 Apr 2018 04:02:42 +0000 (04:02 +0000)]
Explicitly use long with boost::posix_time
In file included from lib/base/base_unity.cpp:61:
lib/base/timer.cpp:295:31: error: no matching conversion for functional-style cast from 'double' to 'boost::posix_time::milliseconds' (aka 'subsecond_duration<boost::posix_time::time_duration, 1000>')
l_TimerCV.timed_wait(lock, boost::posix_time::milliseconds(wait * 1000));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from lib/remote/remote_unity.cpp:19:
lib/remote/eventqueue.cpp:111:30: error: no matching conversion for functional-style cast from 'double' to 'boost::posix_time::milliseconds' (aka 'subsecond_duration<boost::posix_time::time_duration, 1000>')
if (!m_CV.timed_wait(lock, boost::posix_time::milliseconds(timeout * 1000)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from lib/checker/checker_unity.cpp:1:
lib/checker/checkercomponent.cpp:128:26: error: no matching conversion for functional-style cast from 'double' to 'boost::posix_time::milliseconds' (aka 'subsecond_duration<boost::posix_time::time_duration, 1000>')
m_CV.timed_wait(lock, boost::posix_time::milliseconds(wait * 1000));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/date_time/time_duration.hpp:270:30: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'double' to 'const boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000>' for 1st argument
class BOOST_SYMBOL_VISIBLE subsecond_duration : public base_duration
^
/usr/local/include/boost/date_time/time_duration.hpp:270:30: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'double' to 'boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000>' for 1st argument
/usr/local/include/boost/date_time/time_duration.hpp:286:59: note: candidate template ignored: disabled by 'enable_if' [with T = double]
typename boost::enable_if<boost::is_integral<T>, void>::type* = 0) :
^
Jean Flach [Fri, 13 Apr 2018 11:03:12 +0000 (13:03 +0200)]
Don't use shell variables in sysconfig
fixes #6214
Michael Friedrich [Thu, 12 Apr 2018 17:44:58 +0000 (19:44 +0200)]
Add global API parameters to the docs; Add API troubleshooting section
Michael Friedrich [Thu, 12 Apr 2018 17:24:08 +0000 (19:24 +0200)]
Fix error handling on config package delete
Michael Friedrich [Thu, 12 Apr 2018 17:13:58 +0000 (19:13 +0200)]
Merge pull request #6227 from Icinga/fix/docs-config-validation
Fix missing anchors in CLI commands chapter
Michael Friedrich [Thu, 12 Apr 2018 17:12:37 +0000 (19:12 +0200)]
Fix missing anchors in CLI commands chapter
Michael Friedrich [Thu, 12 Apr 2018 17:02:07 +0000 (19:02 +0200)]
Merge pull request #6224 from Icinga/fix/volatile-docs
Update volatile docs
Michael Friedrich [Thu, 12 Apr 2018 17:01:43 +0000 (19:01 +0200)]
Merge pull request #6226 from Icinga/fix/docs-broken-anchor
Fix broken SELinux anchor in the documentation
Michael Friedrich [Thu, 12 Apr 2018 16:15:05 +0000 (18:15 +0200)]
Fix broken SELinux anchor in the documentation
Jean Flach [Thu, 12 Apr 2018 15:29:36 +0000 (17:29 +0200)]
Update volatile docs
Jean Flach [Thu, 12 Apr 2018 12:50:11 +0000 (14:50 +0200)]
Merge pull request #6218 from terra-nova/issue-5277
Fix issue #5277
Michael Friedrich [Wed, 11 Apr 2018 18:10:39 +0000 (20:10 +0200)]
Merge pull request #6209 from Icinga/feature/unify-master-zone-names
Unify zone name settings in node setup/wizard; add connection-less mode for node setup
Michael Friedrich [Wed, 11 Apr 2018 17:39:39 +0000 (19:39 +0200)]
Add 'node setup' parameter changes to upgrading docs
fbachmann [Tue, 10 Apr 2018 18:16:09 +0000 (20:16 +0200)]
fix bug in Downtime::IsInEffect() method that would always return false if the triggering window for a flexible downtime had passed
Jean Flach [Tue, 10 Apr 2018 16:11:26 +0000 (18:11 +0200)]
Set Hosts/Services in tests as active where needed
Jean Flach [Tue, 10 Apr 2018 13:50:45 +0000 (15:50 +0200)]
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.
Michael Friedrich [Mon, 9 Apr 2018 08:07:04 +0000 (10:07 +0200)]
Merge pull request #6207 from Icinga/fix/nscp-api-multiple-params
Fix multiple parameter problems for check_nscp_api
Michael Friedrich [Fri, 6 Apr 2018 18:19:43 +0000 (20:19 +0200)]
Update the documentation for zone name setting in setups and connection-less node setup
Michael Friedrich [Fri, 6 Apr 2018 17:49:01 +0000 (19:49 +0200)]
Implement support for connection-less node setup (no csr auto-signing connect)
Michael Friedrich [Fri, 6 Apr 2018 17:18:19 +0000 (19:18 +0200)]
Unify setting the local and parent zone names for node wizard/setup
Michael Friedrich [Fri, 6 Apr 2018 15:29:37 +0000 (17:29 +0200)]
Unify setting the master zone name for 'node wizard|setup` in master mode
Michael Friedrich [Fri, 6 Apr 2018 13:23:31 +0000 (15:23 +0200)]
Fix check_nscp_api for multiple URL parameter usage
NSClient++ doesn't support the bracket notation.
refs #5706
Michael Friedrich [Fri, 6 Apr 2018 12:49:15 +0000 (14:49 +0200)]
Allow to disable brackets for the Url class and Format()
This commit also adds unit tests.
refs #5706
Noah Hilverling [Fri, 6 Apr 2018 12:14:16 +0000 (14:14 +0200)]
Merge pull request #6206 from Icinga/feature/app-version-constant
Add ApplicationVersion built-in constant
Michael Friedrich [Fri, 6 Apr 2018 11:25:48 +0000 (13:25 +0200)]
Add ApplicationVersion built-in constant
refs #5784
Michael Friedrich [Fri, 6 Apr 2018 11:03:08 +0000 (13:03 +0200)]
Add verbose parameter to the docs
Michael Friedrich [Fri, 6 Apr 2018 10:55:03 +0000 (12:55 +0200)]
Fix verbose errors in config files handler
Michael Friedrich [Fri, 6 Apr 2018 10:52:17 +0000 (12:52 +0200)]
Fix verbose error message in modify object handler
Michael Friedrich [Fri, 6 Apr 2018 10:50:06 +0000 (12:50 +0200)]
Fix verbose error handling in variable and template query handlers
Noah Hilverling [Fri, 6 Apr 2018 10:47:31 +0000 (12:47 +0200)]
Merge pull request #6204 from Icinga/fix/api-create-object-exists-errors
API: Check if objects exists and return proper error message
Michael Friedrich [Fri, 6 Apr 2018 10:47:20 +0000 (12:47 +0200)]
Fix object and status query verbose errors
Michael Friedrich [Fri, 6 Apr 2018 10:32:27 +0000 (12:32 +0200)]
API: Check if objects exists and return proper error message
Michael Friedrich [Fri, 6 Apr 2018 10:26:49 +0000 (12:26 +0200)]
Add diagnostic_information as verbose error to config object handlers
Jean Flach [Fri, 6 Apr 2018 09:20:43 +0000 (11:20 +0200)]
Merge pull request #6199 from Icinga/fix/action-http-code
Return 500 when no api action is successful
Jean Flach [Fri, 6 Apr 2018 08:56:27 +0000 (10:56 +0200)]
Merge pull request #6201 from Icinga/fix/x509-exception
Handle exceptions from X509Certificate2
Jean Flach [Fri, 6 Apr 2018 08:43:33 +0000 (10:43 +0200)]
Build fix
Michael Friedrich [Fri, 6 Apr 2018 08:30:27 +0000 (10:30 +0200)]
Refactor actions error messages
Michael Friedrich [Fri, 6 Apr 2018 08:13:08 +0000 (10:13 +0200)]
More config stages refactoring
Noah Hilverling [Fri, 6 Apr 2018 08:03:09 +0000 (10:03 +0200)]
Fix API action status codes
Michael Friedrich [Fri, 6 Apr 2018 07:53:54 +0000 (09:53 +0200)]
More refactoring of config packages errors
Noah Hilverling [Fri, 6 Apr 2018 06:18:03 +0000 (08:18 +0200)]
Merge pull request #6202 from Icinga/feature/use-version-file
Use VERSION instead of icinga2.spec
Michael Friedrich [Thu, 5 Apr 2018 19:02:19 +0000 (21:02 +0200)]
Merge pull request #6203 from Icinga/feature/docs-script-debugger-api
Add docs for script debugger and API filters
Michael Friedrich [Thu, 5 Apr 2018 18:55:33 +0000 (20:55 +0200)]
Add docs for script debugger and API filters
Michael Friedrich [Thu, 5 Apr 2018 15:22:56 +0000 (17:22 +0200)]
Enhance error handling in type query handler
Michael Friedrich [Thu, 5 Apr 2018 15:21:14 +0000 (17:21 +0200)]
Enhance error handling in config packages handler
Michael Friedrich [Thu, 5 Apr 2018 15:17:30 +0000 (17:17 +0200)]
Enhance error handling in config stages handler
Michael Friedrich [Thu, 5 Apr 2018 15:17:06 +0000 (17:17 +0200)]
Check for verbose error handling in SendJsonError()
Michael Friedrich [Thu, 5 Apr 2018 14:41:10 +0000 (16:41 +0200)]
Use VERSION instead of icinga2.spec
Jean Flach [Thu, 5 Apr 2018 08:47:17 +0000 (10:47 +0200)]
Return 500 when no api action is successful
fixes #5095
Michael Friedrich [Thu, 5 Apr 2018 13:34:47 +0000 (15:34 +0200)]
Merge pull request #6195 from Icinga/fix/api-console-crash
Fix crash in remote api console
Michael Friedrich [Thu, 5 Apr 2018 13:32:32 +0000 (15:32 +0200)]
Merge pull request #6198 from Icinga/deprecate-statusdatawriter
Deprecate Statusdatawriter
Michael Friedrich [Thu, 5 Apr 2018 13:27:06 +0000 (15:27 +0200)]
Merge pull request #6196 from Icinga/fix/influxdb-escaping
Fix InfluxDB backslash escaping
Jean Flach [Thu, 5 Apr 2018 11:36:12 +0000 (13:36 +0200)]
Handle exceptions from X092certificate2
refs #6200
Jean Flach [Thu, 5 Apr 2018 07:32:07 +0000 (09:32 +0200)]
Deprecate Statusdatawriter
refs #6033
Noah Hilverling [Wed, 4 Apr 2018 11:02:48 +0000 (13:02 +0200)]
Fix InfluxDB backslash escaping
fixes #6182
Jean Flach [Wed, 4 Apr 2018 10:23:45 +0000 (12:23 +0200)]
Fix crash in remote api console
Michael Friedrich [Tue, 3 Apr 2018 15:19:49 +0000 (17:19 +0200)]
Merge pull request #6170 from Icinga/feature/windows-global-zones
Add option to windows installer to add global zones
Michael Friedrich [Tue, 3 Apr 2018 15:18:29 +0000 (17:18 +0200)]
Merge pull request #6163 from Icinga/fix/handle-restart
Fix reload handling by updating the PID file before process overtake
Michael Friedrich [Tue, 3 Apr 2018 15:12:29 +0000 (17:12 +0200)]
Merge pull request #6194 from Icinga/feature/metric-unit-elastic-gelf
Elasticsearch/GELF: Add metric unit to performance data fields
Michael Friedrich [Tue, 3 Apr 2018 12:52:12 +0000 (14:52 +0200)]
Merge pull request #6193 from Icinga/fix/gelfwriter-invalid-perfdata-crash
GelfWriter: Fix crash on invalid performance data metrics
Michael Friedrich [Tue, 3 Apr 2018 12:51:02 +0000 (14:51 +0200)]
Merge pull request #6192 from Icinga/fix/elasticsearch-writer-invalid-perfdata-crash
Elasticsearch: Fix crash with invalid performance data metrics
Michael Friedrich [Tue, 3 Apr 2018 12:49:50 +0000 (14:49 +0200)]
Elasticsearch/GELF: Add metric unit to performance data fields
Seen this inside the InfluxDBWriter code, makes sense to store
this in Elasticsearch too.
Michael Friedrich [Tue, 3 Apr 2018 12:43:48 +0000 (14:43 +0200)]
GelfWriter: Fix crash on invalid performance data metrics
Spotted while comparing the source code of several performance data
writer.
refs #6191
Michael Friedrich [Tue, 3 Apr 2018 12:38:25 +0000 (14:38 +0200)]
Elasticsearch: Fix crash with invalid performance data metrics
fixes #6191
Jean Flach [Thu, 29 Mar 2018 13:46:35 +0000 (15:46 +0200)]
Merge pull request #6187 from Icinga/fix/remove-studio-images
Remove Icinga Studio Screenshots
Michael Insel [Mon, 26 Mar 2018 17:48:57 +0000 (19:48 +0200)]
Remove Icinga Studio Screenshots
This removes unnecessary Icinga Studio screenshots as it has been removed.
Michael Insel [Mon, 26 Mar 2018 17:30:37 +0000 (19:30 +0200)]
Update Windows wizard documentation for global zones
This updates the screenshots for the windows wizard.
Gunnar Beutner [Mon, 26 Mar 2018 12:45:01 +0000 (14:45 +0200)]
Merge pull request #6181 from Icinga/fix/boosttest-fixture-order
tests: Ensure IcingaApplication is initialized before adding config
Markus Frosch [Fri, 23 Mar 2018 12:31:34 +0000 (13:31 +0100)]
tests: Ensure IcingaApplication is initialized before adding config
This avoids an ordering problem noticed in Boost 1.55
Markus Frosch [Fri, 23 Mar 2018 12:30:12 +0000 (13:30 +0100)]
tests: Move IcingaApplicationFixture out of test-runner
And make it basically a singleton that would be callable by other test
units.
Jean Flach [Mon, 26 Mar 2018 08:04:37 +0000 (10:04 +0200)]
Merge pull request #6180 from mauricemeyer/master
Doc: fixed wrong information about defaulting
Maurice Meyer [Fri, 23 Mar 2018 12:18:15 +0000 (13:18 +0100)]
Doc: fixed wrong information about defaulting
Signed-off-by: Maurice Meyer <morre@mor.re>
Michael Friedrich [Fri, 23 Mar 2018 11:36:08 +0000 (12:36 +0100)]
Merge pull request #6177 from Icinga/fix/doc-api-user
Doc: Fix typo in API user creation example
Michael Friedrich [Fri, 23 Mar 2018 11:34:19 +0000 (12:34 +0100)]
Merge pull request #6176 from mauricemeyer/master
hashed_password -> password_hash. Fixes #6175
Michael Insel [Thu, 22 Mar 2018 19:47:15 +0000 (20:47 +0100)]
Doc: Fix typo in API user creation example
This fixes a typo in the API user creation example inside the documentation.
Maurice Meyer [Thu, 22 Mar 2018 19:40:46 +0000 (20:40 +0100)]
hashed_password -> password_hash. Fixes #6175
Signed-off-by: Maurice Meyer <morre@mor.re>
Jean Flach [Thu, 22 Mar 2018 10:29:48 +0000 (11:29 +0100)]
Merge branch 'support/2.8'
Jean Flach [Thu, 22 Mar 2018 10:17:13 +0000 (11:17 +0100)]
Release version 2.8.2
Jean Flach [Thu, 22 Mar 2018 10:17:13 +0000 (11:17 +0100)]
Release version 2.8.2
Jean Flach [Thu, 22 Mar 2018 09:35:02 +0000 (10:35 +0100)]
Update mailmap
Michael Friedrich [Wed, 21 Mar 2018 19:50:48 +0000 (20:50 +0100)]
Merge pull request #6174 from Icinga/fix/api-crash-no-headeralloworigin
Fix crash without CORS setting
Michael Friedrich [Wed, 21 Mar 2018 19:41:52 +0000 (20:41 +0100)]
Fix crash without CORS config settings
fixes #6173
refs #6098
Michael Friedrich [Tue, 20 Mar 2018 10:50:52 +0000 (11:50 +0100)]
Docs: Add a note to only query the NSClient++ API from the local Icinga 2 client
refs #6172
Michael Friedrich [Wed, 21 Mar 2018 15:04:39 +0000 (16:04 +0100)]
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
Michael Friedrich [Tue, 20 Mar 2018 10:50:52 +0000 (11:50 +0100)]
Docs: Add a note to only query the NSClient++ API from the local Icinga 2 client
Jean Flach [Wed, 21 Mar 2018 08:56:47 +0000 (09:56 +0100)]
Merge pull request #6119 from tclh123/dev
fixup set rlimit stack failed condition
Michael Friedrich [Wed, 21 Mar 2018 07:55:08 +0000 (08:55 +0100)]
Merge pull request #6171 from Icinga/fix/windows-agent-copyright-date
Update copyright of the Windows Agent to 2018
Michael Insel [Tue, 20 Mar 2018 20:03:46 +0000 (21:03 +0100)]
Update copyright of the Windows Agent to 2018
This updates the copyright of the Windows Agent to 2018.