1371 Commits

Author SHA1 Message Date
Gunnar Beutner
06fdaeb2b2 Fix file descriptors not getting closed properly
Refs #4865
2014-04-12 08:16:57 +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
b8d3d42b7f Allow trailing comma in arrays.
Fixes #5928
2014-04-11 13:51:14 +02:00
Gunnar Beutner
8d3a334183 Mark the PerfdataValue class as "safe".
Refs #5909
2014-04-11 07:44:28 +02:00
Gunnar Beutner
e6667c15d3 Support shell-style comments.
Fixes #5994
2014-04-10 11:30:01 +02:00
Gunnar Beutner
c123210529 Only resolve user macros (vars.*) recursively.
Fixes #5983
2014-04-10 08:46:36 +02:00
Gunnar Beutner
5dbf8f95de Another build fix for Windows.
Refs #5987
2014-04-09 12:44:35 +02:00
Gunnar Beutner
c2b18d4f35 Windows build fix.
Refs #5987
2014-04-09 12:38:26 +02:00
Gunnar Beutner
a16ef350e2 Avoid unnecessary copies for DynamicType::GetObjects.
Fixes #5987
2014-04-09 12:22:23 +02:00
Gunnar Beutner
ec7c90d5d7 Allow dictionaries to contain null values.
Fixes #5986
2014-04-09 10:52:13 +02:00
Gunnar Beutner
91f946a40e Implement the "return" keyword.
Fixes #5985
2014-04-09 10:36:57 +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
2ab208e452 Fix invalid timeout for poll().
Fixes #5963
2014-04-08 07:11:38 +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
Michael Friedrich
e97e1cf63f Throw error on missing 'assign' in 'apply'.
Refs #5911
2014-04-07 13:04:13 +02:00
Michael Friedrich
6d8d25175d DB IDO: Fix AddLogHistory() checkable object.
Fixes #5948
2014-04-06 18:19:31 +02:00
Gunnar Beutner
98fba78fe4 Remove the escape_macros attribute.
Refs #5855
2014-04-06 10:45:50 +02:00
Gunnar Beutner
5c671eab15 Update documentation.
Refs #5925
2014-04-06 08:28:28 +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
8d81f4b90a Fix another bug with relative object names.
Refs #5925
2014-04-05 23:23:49 +02:00
Gunnar Beutner
70062b5884 Make sure that Utility::GlobRecursive doesn't recurse into . and ..
Fixes #5946
2014-04-05 23:23:42 +02:00
Gunnar Beutner
bc4cacfee9 Fix validation problem with relative object names.
Refs #5925
2014-04-05 23:23:39 +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