Commit Graph

8880 Commits

Author SHA1 Message Date
Gunnar Beutner ebc11d41a5 Tidy up INITIALIZE_ONCE use in console.cpp a bit 2017-11-30 17:47:09 +01:00
Gunnar Beutner 63fd6e3905 Get rid of INITIALIZE_ONCE for the ExternalCommandProcessor 2017-11-30 17:47:09 +01:00
Gunnar Beutner 9ce950b0f1 Replace boost::ref/boost::cref with std::ref/std::cref 2017-11-30 17:47:09 +01:00
Gunnar Beutner df8266631d Replace boost::tuple with std::tuple 2017-11-30 17:41:02 +01:00
Gunnar Beutner 160ab21e59 Replace CheckResult::StaticInitialize with a lambda function 2017-11-30 17:41:02 +01:00
Gunnar Beutner f7b4e81ffd Make a few functions static 2017-11-30 17:41:02 +01:00
Gunnar Beutner 6739023678 Dynamically create and destroy the timer thread 2017-11-30 17:41:02 +01:00
Gunnar Beutner 6d09efc907 Use std::shared_ptr instead of boost::shared_ptr 2017-11-30 17:41:00 +01:00
Gunnar Beutner 245feca0e7 Move the Timer::Holder class to timer.cpp 2017-11-30 17:39:22 +01:00
Gunnar Beutner 300d424459 Use std::promise instead of boost::promise 2017-11-30 17:39:22 +01:00
Gunnar Beutner 7d7eaa8dd3 Replace boost::thread with std::thread 2017-11-30 17:39:20 +01:00
Gunnar Beutner c6e36723d5
Merge pull request #5819 from Icinga/feature/avoid-func-call-allocations
Avoid unnecessary allocations in the FunctionCallExpression class
2017-11-29 14:24:46 +01:00
Gunnar Beutner b675430b68
Merge pull request #5816 from Icinga/feature/cxx11-wrapfunction
Re-implement WrapFunction() using C++11 features
2017-11-29 14:17:11 +01:00
Gunnar Beutner db6a1fcdb7 Avoid unnecessary allocations in the FunctionCallExpression class 2017-11-29 14:11:09 +01:00
Gunnar Beutner d5961bb76c Re-implement WrapFunction() using C++11 features 2017-11-29 11:53:45 +01:00
Gunnar Beutner f3c825cb86
Merge pull request #5803 from Icinga/feature/cxx11-std-bind
Replace boost::bind/boost::function with std::bind/std::function
2017-11-29 08:28:44 +01:00
Michael Friedrich 1f52e391d4
Merge pull request #5733 from Icinga/feature/perfdataname
Make --perf-syntax also change short message
2017-11-28 13:47:04 +01:00
Michael Friedrich f267135711 Update NodeName/ZoneName constants with 'api setup'
This commit also moves the constants.conf backup logic
into NodeUtility::UpdateConstant() where it belongs.

Logging has been slightly adopted too.

fixes #5763
2017-11-28 13:38:53 +01:00
Michael Friedrich adff48abf9
Merge pull request #5809 from Icinga/feature/required-openssl-version
Raise required OpenSSL version to 1.0.1
2017-11-28 11:39:17 +01:00
Michael Friedrich 2b7b2ebd29
Merge pull request #5783 from Icinga/fix/docs-formatting
Fix formatting in value types docs
2017-11-28 11:37:00 +01:00
Michael Friedrich 8e65aa0677
Merge pull request #5804 from Icinga/fix/update-repository-message-error
Silence UpdateRepository message errors
2017-11-28 11:27:12 +01:00
Michael Friedrich bd447c2028
Merge pull request #5808 from Icinga/fix/missing-variable-name
Fix missing variable name which can lead to segfaults
2017-11-28 11:05:25 +01:00
Michael Friedrich b38805e7cc Raise required OpenSSL version to 1.0.1
refs #5555
2017-11-27 17:29:00 +01:00
Gunnar Beutner 1006ea0433 Fix missing variable name which can lead to segfaults 2017-11-27 16:06:59 +01:00
Gunnar Beutner 858873b940 Replace boost::bind/boost::function with std::bind/std::function 2017-11-27 15:15:11 +01:00
Gunnar Beutner 6b3931973e
Merge pull request #5555 from Icinga/feature/ecc-certs
Implement support for ECC certificates
2017-11-27 15:11:04 +01:00
Jean Flach 27aaa10ee9
Merge pull request #5718 from Icinga/fix/verify-error-codes-and-returned-log-messages-in-api-actions-5550
API: Fix http status codes
2017-11-27 14:41:29 +01:00
Noah Hilverling e31b236cba API: Fix http status codes
fixes #5550
2017-11-27 14:06:38 +01:00
Michael Friedrich cf16324320 Silence UpdateRepository message errors
Mixed setups with 2.8 and 2.7 will log this error every time
a new message is received. While this is truly an error,
it just fills the log to infinity. Should be used for debug only.

fixes #5776
2017-11-27 12:09:42 +01:00
Gunnar Beutner 3a8d4c5920
Merge pull request #5716 from spaolo/fix/livestatus-empty-result-with-nonmatch-filter-5626
add bogus zero reply in livestatus when aggregate and non matching filter
2017-11-27 10:35:05 +01:00
Gunnar Beutner 4fcb1af8fa
Merge pull request #5746 from sni/livestatus_should_return_empty_lists
livestatus: custom variables return empty arrays instead of strings
2017-11-27 10:33:32 +01:00
Gunnar Beutner 57e74372d3
Merge pull request #5675 from froehl/feature/influxdbwriter-perf-unit-5627
Add pdv unit to influxdbwriter if not empty + doc
2017-11-27 10:32:44 +01:00
Gunnar Beutner a1e8461e55
Merge pull request #5790 from tkoeck/master
Documentation fixes
2017-11-27 10:30:32 +01:00
Gunnar Beutner 6cf41ff038
Merge pull request #5792 from mcktr/fix/itl-add-check-rpc
ITL: Add check_rpc
2017-11-27 10:29:28 +01:00
Gunnar Beutner 55b1cce248
Merge pull request #5744 from Icinga/feature/embedded-dummy-check
Implement DummyCheckTask and move dummy into embedded in-memory checks
2017-11-27 10:25:43 +01:00
Gunnar Beutner 734efb3569
Replace spaces with tabs 2017-11-27 10:24:12 +01:00
Gunnar Beutner c70a28a874
Merge pull request #5759 from Icinga/feature/non-virtual-accessors
Make default getters and setters non-virtual
2017-11-27 10:19:44 +01:00
Gunnar Beutner 81ae14cd17
Merge pull request #5729 from Icinga/fix/correct-node-wizard-output-formatting
Correct node wizard output formatting
2017-11-27 10:19:12 +01:00
Gunnar Beutner 1b4206e5b1
Merge pull request #5725 from Icinga/feature/proper-uuids
Use real UUIDs for Utility::NewUniqueID
2017-11-27 10:18:52 +01:00
Gunnar Beutner 093e08e3da
Merge pull request #5388 from leeclemens/fix/clang-misdetection
Handle mis-detection with clang on RHEL/CentOS 7
2017-11-27 10:17:52 +01:00
Michael Friedrich d322be330c
Merge pull request #5785 from Icinga/fix/itl-remove-ssl-sni-default
ITL: Drop ssl_sni default setting
2017-11-24 15:59:16 +01:00
Gunnar Beutner 972b8047d6
Merge pull request #5796 from Icinga/fix/console-error-reporting
Fix error reporting for 'icinga2 console -r'
2017-11-24 13:03:11 +01:00
Gunnar Beutner 65bc62266d Fix error reporting for 'icinga2 console -r' 2017-11-24 12:56:42 +01:00
Michael 8d1ecb9b36 ITL: Add check_rpc 2017-11-22 22:26:02 +01:00
noobahoi 5f6f5fb194
Update 09-object-types.md
object Downtime "localhost!my-downtime"

should be

object Downtime "my-downtime"

The host_name configuration attribute adds the localhost name automatically.
2017-11-21 16:22:58 +01:00
noobahoi 890ebbe9c2
Update 09-object-types.md
'TicketSalt' instead of 'NodeName'
2017-11-21 16:17:58 +01:00
Michael Friedrich 6fe14f88c8 ITL: Drop ssl_sni default setting
That's not supported by all plugin suites out there, and as such
should not be the default value. The user must set it explicitly.

fixes #5775
2017-11-21 09:39:58 +01:00
Michael Friedrich 678defcdb0 Fix formatting in value types docs 2017-11-20 18:48:26 +01:00
Michael Friedrich df10d2a295
Merge pull request #5773 from Icinga/feature/windows-client-requirements
Update Windows Client requirements for 2.8
2017-11-17 14:45:03 +01:00
Michael Friedrich 6244ab1e8c Update docs for Windows Client requirements for 2.8 2017-11-17 12:59:26 +01:00