Michael Friedrich
702c343395
Merge pull request #6229 from Icinga/fix/systemd-shell
...
Don't use shell variables in sysconfig
2018-04-17 09:08:03 +02:00
Jean Flach
b76ef91908
Merge pull request #6230 from jbeich/boost-1.67
...
Unbreak build against Boost 1.67
2018-04-16 09:36:44 +02:00
Jan Beich
106be295eb
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) :
^
2018-04-15 04:06:11 +00:00
Jean Flach
ba882079be
Don't use shell variables in sysconfig
...
fixes #6214
2018-04-13 13:03:12 +02:00
Michael Friedrich
49fed7b7e0
Merge pull request #6227 from Icinga/fix/docs-config-validation
...
Fix missing anchors in CLI commands chapter
2018-04-12 19:13:58 +02:00
Michael Friedrich
201d7fa095
Fix missing anchors in CLI commands chapter
2018-04-12 19:12:37 +02:00
Michael Friedrich
8ebd33537f
Merge pull request #6224 from Icinga/fix/volatile-docs
...
Update volatile docs
2018-04-12 19:02:07 +02:00
Michael Friedrich
c714f912e8
Merge pull request #6226 from Icinga/fix/docs-broken-anchor
...
Fix broken SELinux anchor in the documentation
2018-04-12 19:01:43 +02:00
Michael Friedrich
4bd4df168f
Fix broken SELinux anchor in the documentation
2018-04-12 18:15:05 +02:00
Jean Flach
b15203e878
Update volatile docs
2018-04-12 18:09:40 +02:00
Jean Flach
0e8971b48a
Merge pull request #6218 from terra-nova/issue-5277
...
Fix issue #5277
2018-04-12 14:50:11 +02:00
Michael Friedrich
026ce17fb6
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
2018-04-11 20:10:39 +02:00
Michael Friedrich
83c13bafb9
Add 'node setup' parameter changes to upgrading docs
2018-04-11 19:39:39 +02:00
fbachmann
3f75ccbe75
fix bug in Downtime::IsInEffect() method that would always return false if the triggering window for a flexible downtime had passed
2018-04-10 20:16:09 +02:00
Michael Friedrich
f2ce5b549c
Merge pull request #6207 from Icinga/fix/nscp-api-multiple-params
...
Fix multiple parameter problems for check_nscp_api
2018-04-09 10:07:04 +02:00
Michael Friedrich
8e1bee66f7
Update the documentation for zone name setting in setups and connection-less node setup
2018-04-06 20:19:43 +02:00
Michael Friedrich
7c0ef80279
Implement support for connection-less node setup (no csr auto-signing connect)
2018-04-06 19:49:01 +02:00
Michael Friedrich
9f2694bdc1
Unify setting the local and parent zone names for node wizard/setup
2018-04-06 19:18:19 +02:00
Michael Friedrich
abdc479d6a
Unify setting the master zone name for 'node wizard|setup` in master mode
2018-04-06 17:29:37 +02:00
Michael Friedrich
139478672f
Fix check_nscp_api for multiple URL parameter usage
...
NSClient++ doesn't support the bracket notation.
refs #5706
2018-04-06 15:23:31 +02:00
Michael Friedrich
194c99a86e
Allow to disable brackets for the Url class and Format()
...
This commit also adds unit tests.
refs #5706
2018-04-06 15:22:17 +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