Noah Hilverling
e28277175b
Implement concurrent checks limit for remote checks
...
fixes #4841
2018-01-29 14:50:14 +01:00
Gunnar Beutner
9d436605f0
Fix compatibility with CMake < 3.1
2018-01-18 15:12:46 +01:00
Gunnar Beutner
21254fb610
Avoid accessing attributes for validators where not necessary
2018-01-11 08:20:16 +01:00
Gunnar Beutner
91c256261a
Apply clang-tidy fix 'modernize-use-default-member-init'
2018-01-04 12:24:58 +01:00
Gunnar Beutner
9ca682496c
Apply clang-tidy fix 'modernize-use-override'
2018-01-04 12:24:57 +01:00
Gunnar Beutner
ac155d1dda
Apply clang-tidy fix 'modernize-redundant-void-arg'
2018-01-04 12:24:57 +01:00
Gunnar Beutner
41f0fbfd30
Add the final keyword to methods
2018-01-04 05:45:40 +00:00
Gunnar Beutner
90496b5456
Build libraries as static libraries
2018-01-02 23:29:48 +01:00
Michael Insel
158ae2188e
Change copyright header for 2018
2018-01-02 12:08:55 +01:00
Jean Flach
2636e6a77a
Whitespace fix
...
What does this change?
* Remove use of spaces for formatting
These could be found by using `grep -r -l -P '^\t+ +[^*]'
* Removal of training whitespaces
* A few lines longer than 120 chars
2017-12-20 14:53:52 +01:00
Gunnar Beutner
1ad83886ac
Replace a few more NULLs with nullptr
2017-12-14 15:37:20 +01:00
Gunnar Beutner
325e4a2fb9
Use nullptr instead of <Type>::Ptr()
2017-11-30 17:47:09 +01:00
Gunnar Beutner
59fca5d5ac
Use std::vector instead of std::set where appropriate
2017-11-30 17:47:09 +01:00
Michael Friedrich
41d54029c8
Fix log messages for flapping
2017-11-08 12:12:27 +01:00
Jean Flach
872d4895f0
Fix flapping endianness and events
...
fixes #5720
2017-11-07 11:13:17 +01:00
Jean Flach
a21ffd6fe4
Fix flapping
...
Re-implement flapping following the 'old way' of just observing the last
20 stage changes.
refs #4982
2017-10-24 15:54:05 +02:00
Rune Darrud
273ca6a2cc
Fix persistent comments for Acknowledgements
...
fixes #4818
Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-05-10 17:10:22 +02:00
Michael Friedrich
dc7980586b
Implement severity attribute for host/service objects
...
refs #5117
2017-04-13 16:09:31 +02:00
Michael Friedrich
d4277b4d70
Require that max_check_attempts is greater than 0
...
fixes #4832
2017-02-07 13:27:27 +01:00
Michael Friedrich
b7caf0820d
Ensure that *.icinga.com is used everywhere
...
fixes #13897
fixes #13277
2017-01-10 17:19:12 +01:00
Michael Friedrich
ea1f8727da
Implement GetAllChildren() for dependency resolution
...
refs #10896
refs #10897
2016-11-02 08:55:11 +01:00
Gunnar Beutner
39ded04e1a
Improve validation for the command_endpoint attribute
...
fixes #12432
2016-08-14 22:11:29 +02:00
Michael Friedrich
42818ab758
Fix downtime notification events and missing author/comment
...
fixes #12333
fixes #11851
2016-08-10 16:04:37 +02:00
Gunnar Beutner
c7602a0f34
Implement process_check_result script method for the Checkable class
...
fixes #12329
2016-08-08 14:14:45 +02:00
Michael Friedrich
c688a94f8a
API: Add missing downtime_depth attribute
...
fixes #12041
2016-06-25 17:32:12 +02:00
Gunnar Beutner
8a714d66f1
Ensure that sent notifications are synced between Icinga instances
...
fixes #11562
2016-06-15 11:27:01 +02:00
Gunnar Beutner
0eb0992d5e
Fix custom notifications in a HA zone
...
fixes #9242
2016-06-07 12:44:12 +02:00
Gunnar Beutner
97a5091abc
Fix incorrect re-scheduling behavior for command_endpoint checks
...
refs #8137
2016-05-12 13:47:32 +02:00
Michael Friedrich
ba82d2eb20
Move CalculateExecutionTime and CalculateLatency into the CheckResult class
...
fixes #11751
2016-05-10 12:16:49 +02:00
Michael Friedrich
d682f56c38
Use UpdateNextCheck() for determining the retry_interval in ProcessCheckResult()
...
This patch also moves the next check updates for passive
check results into ProcessCheckResult(). That way the
next check status updates for DB IDO work in a sane way
again.
refs #11336
2016-03-15 13:02:38 +01:00
Michael Friedrich
3bd6848763
Refactor patch for host recovery notifications
...
refs #10225
2016-03-15 09:47:59 +01:00
Michael Friedrich
5b6a6f86b1
Fix host recovery notifications for warning states
...
fixes #10225
2016-03-11 09:29:07 +01:00
Gunnar Beutner
e224e74994
Make sure the "syncing" attribute is set to false
...
refs #11083
2016-02-08 13:15:24 +01:00
Michael Friedrich
b960850ce3
DB IDO: Only update 'next_check' column when manually scheduling a check
...
Otherwise the changes from #7287 already take care of setting
the proper next check time from inside ProcessCheckResult().
There is no need to use the generic OnNextCheckChanged signal
but instead we're using a new one, locally just for DB IDO.
fixes #11019
2016-01-22 18:42:15 +01:00
Gunnar Beutner
599929b0f6
Update copyright headers for 2016
2016-01-12 08:29:59 +01:00
Michael Friedrich
43976d3989
Add host.last_state_{up,down} and last_check attribute, hide *_raw attributes
...
fixes #10508
fixes #10509
2015-11-02 14:10:44 +01:00
Gunnar Beutner
050c520b2a
Convert Comment/Downtime to config objects
...
fixes #9777
2015-10-28 17:56:29 +01:00
Michael Friedrich
1813c0932c
Remove dead code from old modified attributes
...
refs #9851
2015-09-29 14:24:39 +02:00
Jean Flach
01ced1549a
Implement all actions except modified attributes
...
refs #9080 #9979
2015-08-26 13:53:17 +02:00
Gunnar Beutner
d118b71a2a
Fix compiler warnings
...
fixes #9929
2015-08-18 07:46:04 +02:00
Michael Friedrich
d7970f5bb1
Implement modified attributes v2
...
refs #9081
refs #9093
2015-08-15 20:07:10 +02:00
Gunnar Beutner
ec7224e3ed
Generate C++ code for type validators
...
fixes #7709
fixes #8867
2015-03-27 07:59:27 +01:00
Gunnar Beutner
9548692f00
Fix uninitialized field in the Checkable class
...
Coverity Bug ID: 1272323
2015-03-02 10:14:14 +01:00
James Pharaoh
9fe52d0dc1
Make checks using 'command_endpoint' work inside HA zones
...
Previously there was no local processing of the executed
check result, which is mandatory inside a HA cluster.
Additionally this patch splits the command execution and
check result processing into more logical parts, executing
local checks, checks on the same command endpoint, and
remote checks.
More details in the referenced issue.
fixes #8249
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-02-12 17:53:50 +01:00
Michael Friedrich
a1f04992f3
Fix notify flag is ignored in ACKNOWLEDGE_*_PROBLEM commands
...
fixes #8298
2015-02-07 21:39:19 +01:00
Gunnar Beutner
a3e0c9d898
Add missing mutex for AddNotification/RemoveNotification
...
fixes #8311
2015-01-29 13:21:22 +01:00
Michael Friedrich
78bfd0204c
Update copyright year
2015-01-22 12:00:23 +01:00
Michael Friedrich
d11286e9a5
DB IDO: Update child object reachability if parentchanges to !{OK,UP}
...
fixes #7683
2014-12-12 16:12:05 +01:00
Gunnar Beutner
ec99efbc28
Implement validator for the check_interval attribute
...
fixes #7591
2014-12-05 13:00:41 +01:00
Gunnar Beutner
7321e45abc
Implement support for executing remote commands
...
fixes #7559
2014-11-13 14:54:55 +01:00