Gunnar Beutner
c86b17132c
Make sure that the scheduled start time for downtimes isn't ignored
...
fixes #6959
2015-02-25 15:19:50 +01:00
Gunnar Beutner
acd5d55f64
Fix null pointer dereference in ApiEvents::RepositoryTimerHandler
...
fixes #8535
2015-02-25 14:00:00 +01:00
Gunnar Beutner
4da3b1c5b3
Make sure that Notification objects are activated after Host/Service objects
...
fixes #8517
2015-02-25 12:43:38 +01:00
Gunnar Beutner
551cb6ae87
Don't convert loop variables to string when using apply-for
...
fixes #8519
2015-02-24 17:51:16 +01:00
Gunnar Beutner
a104dcf773
Add validator for the 'ignore_soft_states' attribute
...
refs #7326
2015-02-23 14:29:17 +01:00
Gunnar Beutner
b5dbc66b22
Implement the 'is_inside' attribute for the TimePeriod type
...
refs #8467
2015-02-23 14:08:06 +01:00
Gunnar Beutner
47479ac4de
Implement the 'get_time_period' function
...
refs #8467
2015-02-23 13:56:53 +01:00
Michael Friedrich
aac53c1dd1
Add 'ignore_soft_states' attribute to Dependency objects
...
fixes #7326
2015-02-23 10:13:20 +01:00
Gunnar Beutner
a76f816623
Implement the 'continue' and 'break' keywords
...
fixes #8394
2015-02-19 12:57:52 +01:00
Gunnar Beutner
f097e48889
Don't use separate threads for each ApiClient object
...
fixes #6109
2015-02-14 16:34:36 +01:00
Michael Friedrich
2ed78e82a8
Validate configured TimePeriod ranges
...
Requires re-throwing the hidden exceptions inside the existing
timeperiod code and validating the configured time range
strings then.
fixes #7576
2015-02-13 17:10:58 +01:00
Michael Friedrich
2cab6fbb9d
Make the argments for the stats functions const-ref
...
fixes #8433
2015-02-13 11:29:15 +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
2ae06b7a52
Implement {EN,DIS}ABLE_HOST_SVC_NOTIFICATIONS commands
...
fixes #7784
2015-02-11 16:45:52 +01:00
Michael Friedrich
24852e05c7
Move ValidateMacroString into the MacroProcessor class
...
refs #7311
2015-02-11 16:14:59 +01:00
Michael Friedrich
0d18b96c39
Resolve macros in dictionary values
...
refs #7311
2015-02-11 15:58:59 +01:00
Gunnar Beutner
cb6f1043e1
Replace if( with if (
2015-02-11 15:47:45 +01:00
Michael Friedrich
8ca57cba03
Add macro config validator for command args, env, custom attr, perfdata templates
...
fixes #7311
2015-02-11 15:32:10 +01:00
Gunnar Beutner
2de89fe8d4
Allow funcs in the 'env' dictionary
...
refs #7564
2015-02-10 10:59:08 +01:00
Gunnar Beutner
9de7da4d2a
Update validators for CustomVarObject
...
fixes #7542
2015-02-10 08:53:15 +01:00
Gunnar Beutner
96aa503dbe
Disable flapping detection by default
...
fixes #6868
2015-02-09 14:23:09 +01:00
Gunnar Beutner
97fc5bb10b
Implement additional attributes for the Host class
...
refs #7564
2015-02-09 08:50:17 +01:00
Gunnar Beutner
e456cfd99c
Relax the validator for Notification::users/Notification::user_groups a bit
...
fixes #8067
2015-02-08 11:03:10 +01:00
Michael Friedrich
b23d58dccc
Add host/service runtime macro downtime_depth
...
fixes #8195
2015-02-08 00:15:38 +01:00
Michael Friedrich
34b5a4d9b4
Trigger added downtimes immediately if checkable is Not-OK
...
fixes #8389
2015-02-08 00:08:12 +01:00
Michael Friedrich
db9c55835f
Require at least one user for notification objects (user or as member of user_groups)
...
fixes #8067
2015-02-07 23:04:01 +01:00
Michael Friedrich
9302a6d03c
StatusDataWriter: Fix wrong host notification filters
...
fixes #8387
refs #8192
2015-02-07 22:46:34 +01:00
Michael Friedrich
ea2ac81003
Remove name and return value for stats functions
...
fixes #6171
2015-02-07 22:36:17 +01:00
Michael Friedrich
9ce061a8c4
Fix User::ValidateFilters isn't being used
...
fixes #8111
2015-02-07 21:57:49 +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
0605b76e7a
Report failed agent checks to the master
...
fixes #8257
2015-02-05 15:36:17 +01:00
Gunnar Beutner
2d5112c878
Send check result even when accept_commands is not set
...
fixes #8333
2015-02-05 15:17:56 +01:00
Michael Friedrich
06a262f7db
Schedule a host downtime for command SCHEDULE_HOST_SVC_DOWNTIME
...
fixes #8299
2015-02-04 21:19:47 +01:00
Gunnar Beutner
e3dcc8a610
Implement a unit test for nullary lambdas
...
fixes #7805
2015-02-03 14:02:32 +01:00
Gunnar Beutner
c01fb97337
Don't escape macros for the macro() function
...
refs #7564
2015-01-29 16:52:04 +01:00
Gunnar Beutner
2f44581f14
Validate timeperiod segments
...
fixes #8309
2015-01-29 14:14:56 +01:00
Gunnar Beutner
a3e0c9d898
Add missing mutex for AddNotification/RemoveNotification
...
fixes #8311
2015-01-29 13:21:22 +01:00
Gunnar Beutner
fb323ee215
Evaluate apply filters in the for loop
...
fixes #7610
2015-01-29 12:38:25 +01:00
Gunnar Beutner
dd4a7ab240
Update validators for command arguments
...
refs #7564
2015-01-29 10:30:02 +01:00
Gunnar Beutner
7b4f1e217a
Implement support for functions in set_if
...
refs #7564
2015-01-29 10:09:53 +01:00
Gunnar Beutner
ea3c3e0c3e
Fix incorrectly resolved macros
...
refs #7564
2015-01-28 15:48:08 +01:00
Gunnar Beutner
235c7348f4
Implement accessor functions for hosts, services, etc.
...
refs #7564
2015-01-28 14:18:27 +01:00
Gunnar Beutner
4ad4c314ae
Implement the 'macro' function for dynamic custom vars
...
refs #7564
2015-01-28 14:14:48 +01:00
Gunnar Beutner
fb44744680
Implement support for using functions in custom attributes
...
refs #7564
2015-01-27 13:40:05 +01:00
Gunnar Beutner
13917e07b0
Implement validator support for function objects
...
fixes #8291
2015-01-27 10:55:14 +01:00
Gunnar Beutner
a11cdbdc39
Replace spaces with tabs
2015-01-27 10:50:15 +01:00
Stephan Platz
2d393eab28
Add macro "check_source" for hosts and services to use them in notification mails
...
fixes #8277
Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-01-25 16:04:36 +01:00
Michael Friedrich
78bfd0204c
Update copyright year
2015-01-22 12:00:23 +01:00
Gunnar Beutner
363f23b1d8
Rename ScriptFunction to Function
...
fixes #8258
2015-01-21 08:48:38 +01:00
Gunnar Beutner
9a6a84d9d9
Implicitly convert filter values to bool for object rules
...
fixes #8184
2015-01-12 08:38:14 +01:00