Commit Graph

640 Commits

Author SHA1 Message Date
Gunnar Beutner fcb4904446 Merged configfile component into the icinga library. 2012-07-26 12:41:57 +02:00
Gunnar Beutner a1a3cb7d0f Moved OnCheckResultReceived signal to the Service class. 2012-07-26 12:28:29 +02:00
Gunnar Beutner 61e381befc Fixed incorrect references to the 'retention.dat' file. 2012-07-26 11:42:57 +02:00
Gunnar Beutner e56e493a00 Save program state when shutting down. 2012-07-26 11:41:36 +02:00
Gunnar Beutner 1eb25ad4e9 Keep track of time using fractions of seconds. 2012-07-25 12:59:17 +02:00
Gunnar Beutner 1af31791ea Build fixes. 2012-07-25 09:07:15 +02:00
Gunnar Beutner d1e7c15178 Removed delegation::ServiceStatus message (obsoleted by the domain concept) 2012-07-25 09:03:02 +02:00
Gunnar Beutner d3be282f2b Fixed calculation of next check timestamp. 2012-07-24 16:46:48 +02:00
Gunnar Beutner 0423f42d03 Cleaned up status calculation code. 2012-07-24 15:38:30 +02:00
Gunnar Beutner d79c3270df Add log message after main loop. 2012-07-24 15:38:19 +02:00
Gunnar Beutner 97a8869df1 Use throw_exception() instead of throw. 2012-07-24 15:38:04 +02:00
Gunnar Beutner 928804b5f3 Don't save properties for non-persistent config objects. 2012-07-24 14:18:33 +02:00
Gunnar Beutner 5a80d47ca0 Build fixes for *NIX. 2012-07-24 13:45:21 +02:00
Gunnar Beutner bd8e0a9001 Add support for serializing empty Variants. 2012-07-24 13:33:38 +02:00
Gunnar Beutner d0b2335abb Always load cibsync component. 2012-07-24 13:26:56 +02:00
Gunnar Beutner 709cd36e83 Implemented state retention. 2012-07-24 13:13:02 +02:00
Gunnar Beutner 44b3de76c9 Moved serialization functionality into the base library. 2012-07-24 10:50:53 +02:00
Gunnar Beutner d87c1758d5 Build fix for *NIX. 2012-07-23 10:27:12 +02:00
Gunnar Beutner 4814fed13a Refactored the Component class. 2012-07-23 10:24:27 +02:00
Gunnar Beutner bcb1b23d9f Handle all exception types rather than just the ones inheriting from std::exception. 2012-07-23 08:57:19 +02:00
Gunnar Beutner 1065bc168b VS project file: Moved components into a separate folder. 2012-07-20 14:30:53 +02:00
Gunnar Beutner 7d1ec0332d Removed CIB::RequireInformation. 2012-07-20 14:30:35 +02:00
Gunnar Beutner 898e74bb44 Made *::ScriptFunc private. 2012-07-19 11:17:05 +02:00
Gunnar Beutner 24494a78bc Moved calculation of next check timestamp into the cibsync component. 2012-07-18 11:52:22 +02:00
Gunnar Beutner 62bd14b9f2 Used const references for the EndpointManager methods. 2012-07-18 11:43:41 +02:00
Gunnar Beutner b162ca9bfb Added TcpClient::OnConnected event. 2012-07-18 11:15:39 +02:00
Gunnar Beutner 1fd0800780 Build fix. 2012-07-17 20:44:22 +02:00
Gunnar Beutner 0ad6026f29 Cleaned up socket exception handling. 2012-07-17 20:41:06 +02:00
Gunnar Beutner a224c20a30 Revert 78215843 as it requires Boost version 1.43. 2012-07-17 19:19:03 +02:00
Gunnar Beutner f6c95efa45 Try to more uniformly distribute checks in their check interval. 2012-07-17 19:10:14 +02:00
Gunnar Beutner 0016c7b79d Re-enable host macros. 2012-07-17 13:03:44 +02:00
Gunnar Beutner 6707bfeb26 Updated delegation/checker to use cibsync rather than sending service objects. 2012-07-17 12:57:21 +02:00
Gunnar Beutner 78215843cf Use Boost.Range instead of tie(). 2012-07-17 10:29:30 +02:00
Gunnar Beutner bc1ded140f Build fixes for *NIX. 2012-07-17 00:01:23 +02:00
Gunnar Beutner e2bf3bd56b Use BOOST_FOREACH for most for loops. 2012-07-16 22:00:50 +02:00
Gunnar Beutner 9c7c039365 Implemented native::NullCheck check method. 2012-07-16 15:10:42 +02:00
Gunnar Beutner 6ebb1bf192 Bugfixes for SSL sockets. 2012-07-16 12:25:09 +02:00
Gunnar Beutner dd26fd46f5 Keep track of whether sockets are connected. 2012-07-16 11:15:20 +02:00
Gunnar Beutner d793853671 Updated documention (check_type removed, methods->check added). 2012-07-16 08:25:15 +02:00
Gunnar Beutner 7270fb160c Renamed "hooks" to "methods". 2012-07-16 08:19:51 +02:00
Gunnar Beutner 8e118983be Refactored jsonrpc lib to use the new TcpClient interface. 2012-07-16 00:05:24 +02:00
Gunnar Beutner 52f4bd7a72 Added missing GPL Header. 2012-07-16 00:04:16 +02:00
Gunnar Beutner 802fc15969 Cleaned up TcpClient interface. 2012-07-16 00:02:31 +02:00
Gunnar Beutner 07b30e19a9 Cleaned up NagiosCheckTask. 2012-07-15 17:48:58 +02:00
Gunnar Beutner 0634075abd Removed unused code. 2012-07-15 17:36:02 +02:00
Gunnar Beutner fd38babd98 More bugfixes for AsyncTask. 2012-07-15 17:29:59 +02:00
Gunnar Beutner 18bbde330c Bugfixes for the AsyncTask class. 2012-07-15 17:15:49 +02:00
Gunnar Beutner 310edc1074 Re-enabled /MP (parallel builds) on Windows. 2012-07-15 13:15:51 +02:00
Gunnar Beutner d703f80e62 Enabled pre-compiled headers for Windows builds. 2012-07-15 13:13:19 +02:00
Gunnar Beutner f5431a953c Build fixes for *NIX. 2012-07-15 13:07:12 +02:00