Michael Friedrich
|
b268e7d32d
|
Group assign requires object.groups update too (for apply rules).
Refs #6105
|
2014-05-01 23:53:38 +02:00 |
Michael Friedrich
|
01a0496988
|
Add AddGroup() for host, service, user objects.
Refs #6105
|
2014-05-01 23:53:08 +02:00 |
Michael Friedrich
|
309c8d7299
|
Fix dependency logging for hosts and services.
Fixes #6104
|
2014-05-01 22:07:35 +02:00 |
Gunnar Beutner
|
1c9e985f1d
|
Rename "optional" attribute to "required" and change the default value.
Fixes #6069
|
2014-04-29 10:41:32 +02:00 |
Gunnar Beutner
|
17d277ff16
|
Implement the "order" attribute for command arguments.
Refs #5933
|
2014-04-29 10:33:09 +02:00 |
Gunnar Beutner
|
d500097e4b
|
Fix support for StatsOr and StatsAnd.
Fixes #6062
|
2014-04-27 15:16:57 +02:00 |
Gunnar Beutner
|
9b9ee5c425
|
Add ssh_port parameter for the ssh check command.
Refs #5933
|
2014-04-26 18:31:49 +02:00 |
Gunnar Beutner
|
d617c7b1f6
|
Implement support for optional command arguments.
Fixes #5933
|
2014-04-26 15:03:38 +02:00 |
Michael Friedrich
|
2b70b282ad
|
Add {Host,Service}Group attributes: notes, notes_url, action_url.
Fixes #6057
|
2014-04-24 14:48:57 +02:00 |
Michael Friedrich
|
d0af8a226b
|
Fix headers.
|
2014-04-23 15:57:58 +02:00 |
Michael Friedrich
|
7a147d268e
|
Add group assign/ignore rules.
Fixes #5910
|
2014-04-23 15:50:00 +02:00 |
Michael Friedrich
|
c239f84fd7
|
Revert "Add group apply (creates object only once and sets membership)."
This reverts commit 559a4fef67 .
Refs #5910
|
2014-04-23 14:59:48 +02:00 |
Michael Friedrich
|
c8b3fde2ef
|
Drop unused statusmap_image & coords attributes entirely.
Fixes #6044
|
2014-04-22 13:48:06 +02:00 |
Michael Friedrich
|
fe1a83ff34
|
Revert "Add statusmap_image and coords host attributes."
This reverts commit 252980a6bd .
Refs #6044
|
2014-04-22 12:09:24 +02:00 |
Michael Friedrich
|
0da670d11c
|
Resolve runtime macros recursively in *_url, notes similar to vars.
Fixes #6014
|
2014-04-17 17:38:02 +02:00 |
Michael Friedrich
|
252980a6bd
|
Add statusmap_image and coords host attributes.
They are as important as action_url, etc.
coords is made a dictionary consisting of x_2d and y_2d as keys.
Fixes #6044
|
2014-04-17 16:48:59 +02:00 |
Michael Friedrich
|
5b359ea518
|
Add CompatUtility::GetModifiedAttributesList() for Livestatus.
Fixes #6042
|
2014-04-17 16:01:44 +02:00 |
Michael Friedrich
|
72f7537fa6
|
Add modified attributes for user and command vars.
Fixes #6043
|
2014-04-17 15:20:28 +02:00 |
Michael Friedrich
|
0dedd7cf19
|
Add global Enable{Host,Service}Checks. Update interfaces and external commands.
Fixes #6037
Fixes #5975
|
2014-04-17 11:29:47 +02:00 |
Michael Friedrich
|
8cfce66604
|
Fix custom var override.
Refs #5956
Refs #5962
|
2014-04-16 17:52:12 +02:00 |
Michael Friedrich
|
7c0d93ea0a
|
Add modified attributes for vars dictionary.
- new external commands
- raw values for 'vars'
- OnVarsChanged() signal for db_ido customvariablestatus updates
- refactor db_ido customvariable config updates
Refs #5956
Refs #5962
|
2014-04-16 17:52:12 +02:00 |
Michael Friedrich
|
559a4fef67
|
Add group apply (creates object only once and sets membership).
Refs #5910
|
2014-04-15 14:55:29 +02:00 |
Gunnar Beutner
|
060a802d15
|
Implement support for hosts in the agent component.
Refs #4865
|
2014-04-15 13:38:01 +02:00 |
Michael Friedrich
|
f48a6b429b
|
Add nested group support for {Host,Service,User}Group.
Fixes #5858
|
2014-04-14 21:52:01 +02:00 |
Gunnar Beutner
|
2961364e97
|
Implement support for agent-based checks.
Refs #4865
|
2014-04-12 04:21:09 +02:00 |
Gunnar Beutner
|
cdda8d5734
|
Fix external commands which take no arguments.
Fixes #5998
|
2014-04-11 15:48:19 +02:00 |
Gunnar Beutner
|
3002532280
|
Make sure the scheduling offset is set properly for hosts.
Refs #5909
|
2014-04-11 14:57:16 +02:00 |
Gunnar Beutner
|
8d3a334183
|
Mark the PerfdataValue class as "safe".
Refs #5909
|
2014-04-11 07:44:28 +02:00 |
Gunnar Beutner
|
c123210529
|
Only resolve user macros (vars.*) recursively.
Fixes #5983
|
2014-04-10 08:46:36 +02:00 |
Gunnar Beutner
|
606834e190
|
Rename the notification attributes.
Fixes #5906
|
2014-04-09 10:25:23 +02:00 |
Gunnar Beutner
|
e24e128f65
|
Change the default notification interval to 30 minutes.
Refs #5909
|
2014-04-09 06:50:07 +02:00 |
Gunnar Beutner
|
0529d3f1f5
|
Fix the state filters for "critical" and "unknown".
Refs #5979
|
2014-04-09 00:09:35 +02:00 |
Gunnar Beutner
|
dcf7d07c7a
|
Fix default values for notification filters.
Refs #5979
|
2014-04-08 23:33:25 +02:00 |
Gunnar Beutner
|
4a32ca9123
|
Fix passive check results.
Fixes #5970
|
2014-04-08 15:36:45 +02:00 |
Gunnar Beutner
|
80778bad1d
|
Update components to use the new address fields.
Refs #5856
|
2014-04-08 13:34:48 +02:00 |
Gunnar Beutner
|
0fdb9ea21b
|
Implement attributes for some well-known macros and allow macro recursion.
Refs #5856
Fixes #5959
|
2014-04-08 13:23:24 +02:00 |
Gunnar Beutner
|
1c115297f9
|
Rename the service state constants.
Fixes #5964
|
2014-04-08 09:11:54 +02:00 |
Gunnar Beutner
|
e560e1e00c
|
Remove the HostUnreachable state.
Fixes #5944
|
2014-04-08 08:54:49 +02:00 |
Gunnar Beutner
|
32e1c02b9a
|
Clean up some of the type checks.
Refs #5925
|
2014-04-07 22:06:05 +02:00 |
Michael Friedrich
|
9ab4b3dd16
|
Remove the 'Icinga' prefix for global constants.
Fixes #5960
|
2014-04-07 21:42:23 +02:00 |
Michael Friedrich
|
aae5f092d4
|
Log warning if apply rule does not match anywhere.
Fixes #5911
Fixes #5957
|
2014-04-07 15:00:14 +02:00 |
Gunnar Beutner
|
cea15e11dc
|
Implement new state and type filters.
Fixes #5906
|
2014-04-07 14:00:18 +02:00 |
Michael Friedrich
|
0e3b387a70
|
Fix missing target types in ScheduledDowntime apply.
Fixes #5955
|
2014-04-07 13:06:28 +02:00 |
Gunnar Beutner
|
98fba78fe4
|
Remove the escape_macros attribute.
Refs #5855
|
2014-04-06 10:45:50 +02:00 |
Gunnar Beutner
|
ad42367999
|
Refactor name helper classes a bit.
Refs #5925
|
2014-04-06 08:15:07 +02:00 |
Gunnar Beutner
|
020eaf99ab
|
Fix yet another validation issue.
Refs #5925
|
2014-04-05 23:23:49 +02:00 |
Gunnar Beutner
|
00fd51e628
|
Implement relative object names.
Fixes #5925
|
2014-04-05 22:17:37 +02:00 |
Michael Friedrich
|
d3b67cf2ed
|
Fix host custom attribute 'address' as runtime macro.
Refs #5855
|
2014-04-05 19:08:46 +02:00 |
Michael Friedrich
|
b9415aad3d
|
Fix typo.
Refs #5855
|
2014-04-05 17:53:37 +02:00 |
Michael Friedrich
|
4966dfd241
|
Provide 1.x fallback using GetName() for address macros.
Refs #5855
|
2014-04-05 17:45:28 +02:00 |
Michael Friedrich
|
e309a5d330
|
Access custom attributes as ${host,service,user}.vars.<name>$.
Refs #5855
|
2014-04-05 17:13:17 +02:00 |
Michael Friedrich
|
34092f0a52
|
Fix legacy attributes by object type.
|
2014-04-05 17:13:05 +02:00 |
Gunnar Beutner
|
d64823858d
|
Fix validation for ScheduledDowntime objects.
Refs #5945
|
2014-04-05 16:27:26 +02:00 |
Gunnar Beutner
|
4ffcd4f403
|
Fix validation for Notification objects.
Fixes #5945
|
2014-04-05 16:26:51 +02:00 |
Gunnar Beutner
|
5e38c81eb5
|
Implement apply target types.
Fixes #5924
|
2014-04-05 13:53:55 +02:00 |
Gunnar Beutner
|
5ccdf017ac
|
Fix macros.
Refs #5855
|
2014-04-05 09:24:11 +02:00 |
Gunnar Beutner
|
c42a582307
|
Rename "short_name", "host" and "sevice" attributes.
Fixes #5857
|
2014-04-05 09:15:40 +02:00 |
Michael Friedrich
|
31e3377897
|
Drop duplicate attribute.
Refs #5855
|
2014-04-04 23:03:20 +02:00 |
Michael Friedrich
|
09cbf18b26
|
Implement 'env' dictionary instead of 'export_macros' array.
Revamp notification runtime macros too.
Refs #5855
|
2014-04-04 22:57:56 +02:00 |
Michael Friedrich
|
aba4f1a0d5
|
Implement $user.<name>$ runtime macros.
Refs #5855
|
2014-04-04 21:36:47 +02:00 |
Michael Friedrich
|
0a0399826f
|
Implement ${host,service}.<name>$ runtime macros.
Refs #5855
|
2014-04-04 20:09:23 +02:00 |
Michael Friedrich
|
e375f15e5b
|
Implement global runtime macros as $icinga.<name>$.
Refs #5855
|
2014-04-04 19:35:47 +02:00 |
Michael Friedrich
|
17b87c9b2a
|
Add CompatUtility::IsLegacyAttribute().
Refs #5855
|
2014-04-04 16:35:45 +02:00 |
Gunnar Beutner
|
23e9630682
|
Implement host checks.
Refs #5919
|
2014-04-04 15:57:54 +02:00 |
Michael Friedrich
|
5c58eb368c
|
Merge 'macros' and 'custom' attributes into 'vars', part 1.
Refs #5855
|
2014-04-03 11:35:25 +02:00 |
Michael Friedrich
|
a05c31cda2
|
CompatUtility: Fix host 2d_coords.
Fixes #5917
|
2014-04-02 14:43:40 +02:00 |
Michael Friedrich
|
3fe169cd7a
|
Graphite/PerfdataWriter: Add host perfdata.
Fixes #5908
|
2014-04-02 14:13:24 +02:00 |
Gunnar Beutner
|
036fd3303f
|
Replace $plugindir$ macro with a constant.
Fixes #5877
|
2014-03-31 13:11:36 +02:00 |
Michael Friedrich
|
2f59aa38a3
|
Fix unknown attribute 'notification_type_filter'.
Fixes #5887
|
2014-03-30 16:15:49 +02:00 |
Gunnar Beutner
|
5179eebf09
|
Allow rterm in indexer ops.
Refs #5870
|
2014-03-30 10:00:11 +02:00 |
Gunnar Beutner
|
14084735da
|
Make sure we evaluate "apply" rules in the right order.
Refs #5870
|
2014-03-30 01:20:58 +01:00 |
Gunnar Beutner
|
6ef2cdb0eb
|
Implement apply support for dependencies.
Refs #5880
|
2014-03-28 23:03:53 +01:00 |
Gunnar Beutner
|
33ae12d084
|
Implement apply support for scheduled downtimes and notifications.
Refs #5880
|
2014-03-28 23:01:33 +01:00 |
Gunnar Beutner
|
adce8e95bc
|
Move the apply rule handler to the Service class.
Refs #5878
|
2014-03-28 19:45:02 +01:00 |
Gunnar Beutner
|
54063f0b9f
|
Rename __name and __type properties.
Refs #5870
|
2014-03-28 14:17:55 +01:00 |
Gunnar Beutner
|
7ee1278118
|
Implement the new syntax for the "apply" keyword.
Refs #5878
|
2014-03-28 14:00:00 +01:00 |
Gunnar Beutner
|
b289987500
|
Implement the "." operator.
Refs #5876
|
2014-03-28 13:59:56 +01:00 |
Gunnar Beutner
|
de81baf515
|
Remove inline service/notification/downtime definitions.
Refs #5875
|
2014-03-28 11:22:39 +01:00 |
Gunnar Beutner
|
8958d2f69f
|
Implement the "import" keyword.
Refs #5869
|
2014-03-28 11:22:36 +01:00 |
Gunnar Beutner
|
8e699ac0fa
|
Fix scoping rules for object definitions.
Refs #5846
|
2014-03-24 11:23:47 +01:00 |
Gunnar Beutner
|
aacc699dd4
|
Refactor the config parser's AST.
Refs #5846
|
2014-03-23 11:27:40 +01:00 |
Michael Friedrich
|
f3f157d60d
|
Set check source only on local instance (empty authority).
Fixes #5824
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
|
2014-03-21 10:18:11 +01:00 |
Michael Friedrich
|
fc7d7cc9eb
|
DB IDO: Send endpoint authority for status updates.
Refs #5636
|
2014-03-20 18:03:47 +01:00 |
Gunnar Beutner
|
02fc3278c8
|
Implement missing operators for the Value class.
Fixes #5804
|
2014-03-20 13:02:31 +01:00 |
Michael Friedrich
|
f6067d357d
|
Set check source to node name as authority, if empty.
Fixes #5805
|
2014-03-20 10:32:52 +01:00 |
Michael Friedrich
|
5ec2349f64
|
Clear sticky ack on soft recovery, fix sticky=2, normal=1|0.
Fixes #5365
|
2014-03-19 23:08:44 +01:00 |
Michael Friedrich
|
bcc17be2ca
|
Fix missing lock and clear ack comments in RemoveHostAcknowledgement().
|
2014-03-19 22:08:28 +01:00 |
Gunnar Beutner
|
700cc43770
|
Update documentation.
Refs #5789
|
2014-03-19 12:46:23 +01:00 |
Gunnar Beutner
|
ec0557afea
|
Implement additional operators: &&, ||, in and !in.
Refs #5789
|
2014-03-19 12:46:23 +01:00 |
Gunnar Beutner
|
caad7a7973
|
Implement the 'apply template' directive.
Refs #5789
|
2014-03-19 12:46:23 +01:00 |
Michael Friedrich
|
ce737ff2f3
|
Change copyright header (again).
Fixes #5424
|
2014-03-19 11:42:47 +01:00 |
Michael Friedrich
|
ac35eadc8d
|
Empty command string on CHANGE_{HOST,SERVICE}_EVENTHANDLER should disable event handlers.
Fixes #5670
|
2014-03-17 18:52:23 +01:00 |
Gunnar Beutner
|
5a7d56f4a3
|
Avoid unnecessary async callback.
Refs #5748
|
2014-03-17 09:09:55 +01:00 |
Michael Friedrich
|
2f7881736e
|
Remove comment when clearing acknowledgement.
Fixes #5366
|
2014-03-13 16:43:32 +01:00 |
Gunnar Beutner
|
74209bde40
|
Reschedule services before running checks.
Fixes #5754
|
2014-03-13 14:13:55 +01:00 |
Gunnar Beutner
|
bfc5d2a4be
|
Use fewer threads for plugin-based checks.
Fixes #5748
|
2014-03-12 10:25:06 +01:00 |
Gunnar Beutner
|
51c7093e13
|
Fix initial check interval.
Refs #5716
|
2014-03-11 15:21:35 +01:00 |
Michael Friedrich
|
2b6529c424
|
Fix {Host,Service,User}Group::{Add,Remove}Member isn't thread-safe.
Fixes #5699
|
2014-03-11 10:40:37 +01:00 |
Gunnar Beutner
|
a124bed5c0
|
Don't send notifications for the initial state change.
Fixes #5736
|
2014-03-10 13:54:16 +01:00 |
Gunnar Beutner
|
a8a955ff9c
|
Fix $ escaping in macros.
Fixes #5378
|
2014-03-10 09:41:48 +01:00 |