Commit Graph

9829 Commits

Author SHA1 Message Date
Jean Flach d4ffddebcd
Merge pull request from Icinga/fix/typo
Fix typo
2018-04-23 10:35:13 +02:00
Jean Flach 2c8dfcc1aa Fix typo 2018-04-23 10:18:31 +02:00
Jean Flach 1f91b44788
Update 02-getting-started.md
Older versions which use createlang are not supported anzmore
2018-04-19 17:46:32 +02:00
Jean Flach 2b61e19bfc
Update 02-getting-started.md
createlang was removed with posgresql 10
2018-04-19 16:42:58 +02:00
Jan Wagner 99f2207ef9 services.conf has also be moved to zones.d/global-templates/
refs 
2018-04-19 12:49:22 +02:00
Gunnar Beutner e6638cf8df Fix missing variable name in ApiListener::Start
fixes 
refs 

refs 
2018-04-19 12:44:57 +02:00
Michael Friedrich fd03409c96 Add docs for script debugger and API filters
refs 
2018-04-19 12:41:10 +02:00
Michael Friedrich bd2c266bf1 Log warning when sysconfig file cannot be read
refs 

refs 
2018-04-19 12:29:43 +02:00
Jean Flach 978d707e3b Add improved error messages for resource limits
refs 

refs 
2018-04-19 12:29:23 +02:00
Michael Friedrich 0d26a2bf50 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 

refs 
2018-04-19 12:29:01 +02:00
lihan bf959371c4 fixup set rlimit stack failed condition
refs 
refs 
2018-04-19 11:35:05 +02:00
Michael Friedrich 3a12ba75c7 Fix unit tests for 2.8.x
refs 
2018-04-19 11:19:20 +02:00
Jean Flach cf570c9a93 Fix package error message
fixes 

refs 
2018-04-19 11:18:52 +02:00
Jean Flach 3c4085b1bb
Merge pull request from Icinga/fix/sysconfig-location-ignored
Fix Sysconfig file detection for Icinga 2 settings
2018-04-19 11:17:36 +02:00
Michael Insel 9c8e72775d Enhance http_certificate parameter documentation
This clarifies the usage of the http_certificate parameter.

refs 

refs 
2018-04-19 11:09:16 +02:00
Michael Friedrich 579ec50b57 Document the 'ignore_on_error' attribute for object creation
fixes 

refs 
2018-04-19 10:51:05 +02:00
Gunnar Beutner 6a70f0f7ce Fix incorrect parameter name in the API documentation
fixes 

refs 
2018-04-19 10:49:01 +02:00
Michael Friedrich 65e53551a1 Fix check_nscp_api for multiple URL parameter usage
NSClient++ doesn't support the bracket notation.

refs 

refs 
2018-04-19 10:46:36 +02:00
Michael Friedrich 9f418f5356 Allow to disable brackets for the Url class and Format()
This commit also adds unit tests.

refs 

refs 
2018-04-19 10:46:15 +02:00
Michael Friedrich e6f214fa29 Log warning when sysconfig file cannot be read
refs 
2018-04-19 10:09:09 +02:00
Jean Flach 8b0126411b Add improved error messages for resource limits
refs 
2018-04-19 08:55:05 +02:00
Michael Friedrich a45dba15d3 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 
2018-04-19 08:55:05 +02:00
Michael Insel 8cbb7494d2 Fix Windows check_memory rounding
This fixes a rounding problem within the Windows check_memory plugin.

refs 
2018-04-18 21:42:43 +02:00
Michael Insel 12a40d7244 Implement better way to check parameters in notification scripts
This changes the function for checking required parameters in the notification scripts.
This also enhances the error message.

refs 
2018-04-18 19:17:33 +02:00
Michael Friedrich fe0bf161cb Add TLS support for DB IDO PostgreSQL feature
fixes 
2018-04-18 15:30:06 +02:00
Michael Friedrich c7b6488e90
Merge pull request from Icinga/fix/reschedule-checks
Fix check behavior on restart
2018-04-17 20:59:03 +02:00
Michael Friedrich a8b5d8e64a
Merge pull request from Icinga/feature/api-verbose-errors
API: Unify verbose error messages
2018-04-17 16:40:11 +02:00
Michael Friedrich 836103ef57 Elasticsearch: Fix crash with invalid performance data metrics
fixes 

refs 
2018-04-17 16:33:17 +02:00
Michael Friedrich e7374b48cf
Merge pull request from Icinga/feature/elasticsearch-6
Add support for Elasticsearch 6
2018-04-17 15:05:00 +02:00
Jean Flach a7d563a2e9 Update docs for ES 6 2018-04-17 09:17:20 +02:00
Jean Flach 1e0f67d778 Fix ES 5 support 2018-04-17 09:17:20 +02:00
Jean Flach fd5d4c5974 Move _type into url 2018-04-17 09:17:20 +02:00
Michael Friedrich 975ac47f8e Fix Elastic 6 support
fixes 
2018-04-17 09:17:20 +02:00
Michael Friedrich 702c343395
Merge pull request from Icinga/fix/systemd-shell
Don't use shell variables in sysconfig
2018-04-17 09:08:03 +02:00
Max Rosin eb8bb927ca Fix the explanation of `types` and `states` for user objects
refs 
2018-04-16 15:59:46 +02:00
Michael Insel b5294a4ac4 Fix typo in Apply for Rules documentation
fixes 6100

refs 
2018-04-16 15:56:27 +02:00
Michael Insel 14edc51b3f Fix broken link in README
This fixes the broken documentation link inside the readme.

refs 
2018-04-16 15:54:42 +02:00
Noah Hilverling 9a6474f355 Fix InfluxDB backslash escaping
fixes 

refs 
2018-04-16 15:46:47 +02:00
Michael Friedrich f5ea90859c Fix missing anchors in CLI commands chapter
refs 
2018-04-16 15:46:47 +02:00
Jan Beich e3ecf83bfb Explicitly use long with boost::posix_time 2018-04-16 15:39:57 +02:00
Jean Flach b76ef91908
Merge pull request 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 
2018-04-13 13:03:12 +02:00
Michael Friedrich c58caf3550 Add global API parameters to the docs; Add API troubleshooting section 2018-04-12 19:44:58 +02:00
Michael Friedrich b53685db59 Fix error handling on config package delete 2018-04-12 19:24:08 +02:00
Michael Friedrich 49fed7b7e0
Merge pull request 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 from Icinga/fix/volatile-docs
Update volatile docs
2018-04-12 19:02:07 +02:00
Michael Friedrich c714f912e8
Merge pull request 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