Commit Graph

98 Commits

Author SHA1 Message Date
Gunnar Beutner e9e55cd8c0 Remove the replication feature and clean up the code. 2013-08-26 14:56:38 +02:00
Michael Friedrich f0f3412f2c add GetChildHosts() to host object 2013-07-19 16:11:17 +02:00
Michael Friedrich 2ebf0822ac add LastState{OK,Warning,Critical,Unknown|Up,Down,Unreachable} time attributes 2013-07-18 18:16:39 +02:00
Michael Friedrich d5579d9e2f Config: add macros/custom dictionaries to Host Service definition
additive inheritance (+=) works with templates too.
2013-07-16 14:53:21 +02:00
Michael Friedrich 36e9e9adbd custom attr: move into DynamicObject using GetCustom() 2013-07-12 15:13:05 +02:00
Michael Friedrich 3023686042 service: add IsHostCheck helper 2013-07-09 16:59:31 +02:00
Michael Friedrich 16adc9a0c5 livestatus: add more hosttable todos
refs #4372
2013-07-05 19:14:10 +02:00
Michael Friedrich ec3e8cfe1c livestatus: move host attribute getter into host->service again
refs #4372
2013-07-05 13:42:40 +02:00
Michael Friedrich 88197d216a livestatus: add first part of host data providers
refs #4372
2013-07-05 09:35:49 +02:00
Gunnar Beutner acc2bdb875 Use object name if HOSTADDRESS macro isn't defined. 2013-07-02 10:08:22 +02:00
Gunnar Beutner 184f503c2a Fix how the HOSTALIAS and CONTACTALIAS macros work. 2013-07-02 09:54:24 +02:00
Gunnar Beutner 4cd4228f64 Implement HOSTADDRESS and HOSTADDRESS6 macros. 2013-07-02 09:47:31 +02:00
Gunnar Beutner 463f4e4cf9 Implement notification_*_filter variables for Host/Service objects. 2013-06-26 10:19:00 +02:00
Gunnar Beutner 89078e1cfb Config: Fix nested dictionaries in arrays. 2013-06-21 09:07:57 +02:00
Gunnar Beutner f38a389791 Make error message more user-friendly. 2013-06-21 09:03:02 +02:00
Gunnar Beutner aaac957ad5 Disallow colons in user-defined objects. Use colons for auto-generated object names. 2013-05-07 09:35:36 +02:00
Gunnar Beutner 836c26da66 Bugfixes for the timeperiod feature. 2013-04-16 10:12:53 +02:00
Gunnar Beutner 70e96aa2f0 Refactor ScriptFunctions. 2013-03-25 19:47:02 +00:00
Gunnar Beutner fd3e92ea0c Refactor AsyncTasks. 2013-03-25 17:36:15 +00:00
Gunnar Beutner 6d69d6c639 Refactor the macro resolver
Fixes #3884
2013-03-22 14:42:14 +01:00
Gunnar Beutner 97fee26289 Remove @threadsafety doc strings
Fixes #3889
2013-03-22 12:02:20 +01:00
Gunnar Beutner 711a8cb5e0 Use Expression::Extract* for notifications. 2013-03-19 14:47:19 +01:00
Gunnar Beutner 969458b480 Build dependant services using extracted expression lists. 2013-03-19 13:37:09 +01:00
Gunnar Beutner a21cf21d52 Implement the CompatLog type. 2013-03-19 13:04:30 +01:00
Gunnar Beutner c3975af6ec Refactor #includes (Part 4). 2013-03-18 11:02:18 +01:00
Gunnar Beutner 9d076c3c03 Refactor #includes (Part 3). 2013-03-17 20:19:29 +01:00
Gunnar Beutner 0bb0711d72 Refactor #includes (Part 2). 2013-03-16 21:18:53 +01:00
Gunnar Beutner 3073200b53 Cleaned up #includes (Part 1). 2013-03-15 18:21:29 +01:00
Gunnar Beutner 9ac731ba8e Change log level for some debug messages. 2013-03-15 11:18:56 +01:00
Gunnar Beutner 7c46bb4f7d Use 'explicit' for constructors. 2013-03-14 23:52:52 +01:00
Gunnar Beutner 07421751ad Implement config support for arrays. 2013-03-14 12:17:46 +01:00
Gunnar Beutner 442a2dbc7d Implement timeperiods. 2013-03-13 16:04:53 +01:00
Gunnar Beutner 6f51230a79 Don't instantiate abstract objects.
Fixes #3669
2013-03-11 12:04:10 +01:00
Gunnar Beutner 4668e458ce Update validator for services dictionary. 2013-03-08 14:44:03 +01:00
Gunnar Beutner e2416b5b54 Check return values of SymGetLineFromAddr64 and SymFromAddr. 2013-03-07 16:00:10 +01:00
Gunnar Beutner fa3f01667f Implemented stacktrace support for Windows. 2013-03-07 15:00:26 +01:00
Gunnar Beutner 02be9010e7 Implemented LAST*STATE* macros. 2013-03-07 12:04:20 +01:00
Gunnar Beutner 6f7b553acd Bugfixes for the *:Invalidate*Cache() calls. 2013-03-06 13:01:51 +01:00
Gunnar Beutner 70fa21dfbc Various bugfixes. 2013-03-06 11:04:20 +01:00
Gunnar Beutner be95f3171d Even more code refactoring. 2013-03-04 15:52:42 +01:00
Gunnar Beutner 48485c5f26 More lock refactoring. Yay. 2013-03-02 09:07:47 +01:00
Gunnar Beutner 572a477da3 Refactored object locking code. 2013-03-01 12:07:52 +01:00
Gunnar Beutner e9d32eeada Implemented user groups. 2013-02-27 21:49:03 +01:00
Gunnar Beutner 6bf086dc91 Implemented notification_interval attribute for hosts. 2013-02-27 18:15:01 +01:00
Gunnar Beutner e98fd3e3eb Bug fixes for the new cache code. 2013-02-27 16:04:49 +01:00
Gunnar Beutner d666960fa0 Refactor the cache code... again. 2013-02-27 15:23:25 +01:00
Gunnar Beutner e9648f35bc Make the services/notifications caches thread safe.
Send notifications based on the notification_interval setting.
2013-02-27 12:44:51 +01:00
Gunnar Beutner 35c79a76c1 Make attribute lookups O(1). 2013-02-26 10:13:54 +01:00
Gunnar Beutner 2ef255b9f6 Fine-grained locks (WIP, Part 9). 2013-02-24 01:10:34 +01:00
Gunnar Beutner 404b1807e6 Removed PCH support (as it's clearly not working properly). 2013-02-22 08:12:43 +01:00