Commit Graph

309 Commits

Author SHA1 Message Date
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
Gunnar Beutner 3e472012d1 Implemented exception support for AsyncTasks. 2012-07-15 10:58:03 +02:00
Gunnar Beutner 59d4b2ef6b Fixed assert() in ~AsyncTask obscuring other errors. 2012-07-14 20:06:09 +02:00
Gunnar Beutner 30aa16d9dc Implemented script tasks. 2012-07-14 15:59:59 +02:00
Gunnar Beutner 6cbccdc91c Cleaned up AsyncTask class. 2012-07-14 13:57:50 +02:00
Gunnar Beutner eb2e4ac205 Bugfixes for the Process/AsyncTask classes. 2012-07-14 12:44:37 +02:00
Gunnar Beutner b176963c93 Improved Event::Post performance. 2012-07-13 23:37:05 +02:00
Gunnar Beutner a73f41fb6c Fixed compilation errors on *NIX. 2012-07-13 21:07:39 +02:00
Gunnar Beutner 20dbad0131 Implemented Process class, cleaned up NagiosCheckTask. 2012-07-13 21:00:54 +02:00
Gunnar Beutner 06f9bf2eaa Fixed compiler warning. 2012-07-13 19:38:14 +02:00
Gunnar Beutner 330c3710e3 More Win32 build fixes. 2012-07-13 15:29:39 +02:00
Gunnar Beutner 7807b87ff5 Win32 build fix. 2012-07-13 15:24:19 +02:00
Gunnar Beutner 3c972b9793 Made Timer::Timers private. 2012-07-13 15:03:24 +02:00
Gunnar Beutner c0d7241eaf Re-implemented integer support for the Variant class. 2012-07-13 13:09:09 +02:00
Gunnar Beutner eebd660d4f Fixed Variant::IsEmpty() 2012-07-13 11:24:05 +02:00
Gunnar Beutner 2450504382 Fixed uninitialized variable. 2012-07-13 09:59:26 +02:00
Gunnar Beutner 6473416352 Implemented 'log' config object and 'logpath' property for the 'application' object. 2012-07-13 09:03:22 +02:00
Gunnar Beutner 9104bdd8da Implemented support for writing a PID file. 2012-07-12 17:03:34 +02:00
Gunnar Beutner ff3259eee6 Removed I2_PLATFORM* macros. 2012-07-12 16:54:33 +02:00
Gunnar Beutner 746400afe5 Fixed crash while shutting down Icinga. 2012-07-12 15:50:31 +02:00
Gunnar Beutner ace116c732 Fix: Make Dictionary::Add() return the new key. 2012-07-12 10:24:54 +02:00
Gunnar Beutner 1405d1961a Cleaned up the Variant class. 2012-07-11 20:55:46 +02:00
Gunnar Beutner 6c03c495b5 Use STD*_FILENO constants in Utility::Daemonize. 2012-07-10 16:24:17 +02:00
Gunnar Beutner 1896ed356f Removed unused ConfigObject methods. 2012-07-10 15:57:54 +02:00
Gunnar Beutner ffd884a6ab Fixed compilation on Windows. 2012-07-10 15:44:59 +02:00
Gunnar Beutner a64c99c176 Implemented logging to files and made logging configurable. 2012-07-10 15:14:45 +02:00
Gunnar Beutner 3fa6531b3d Cleaned up syslog class. 2012-07-10 13:32:15 +02:00
Gunnar Beutner 50ffb492b9 Implemented syslog logger class. 2012-07-10 13:31:17 +02:00
Gunnar Beutner 60c4dce4dd Added assert()s for some common thread-safety problems. 2012-07-10 13:00:53 +02:00
Gunnar Beutner f2979eb08b Added documentation for the logger classes. 2012-07-10 12:51:53 +02:00
Gunnar Beutner 7d859e2e18 Made logging more modular. 2012-07-10 12:21:19 +02:00
Gunnar Beutner 8dc5ba7632 Added missing GPL headers and Visual Studio filters. 2012-07-09 20:32:02 +02:00
Gunnar Beutner 4402a26c3e Renamed Ringbuffer class to RingBuffer 2012-07-09 20:17:32 +02:00
Gunnar Beutner 777f39c1ef Renamed Dictionary::{Set,Get}Property -> Dictionary::{Set,Get} 2012-07-09 16:19:56 +02:00
Gunnar Beutner 55ca6fd276 Implemented host dependencies 2012-07-09 10:09:53 +02:00
Gunnar Beutner a71e5ca0d7 Build fixes for *NIX. 2012-07-08 21:24:20 +02:00
Gunnar Beutner 7fadf56ded Make sure that include paths are interpreted as relative to the config file that contains the include directive. 2012-07-08 21:19:10 +02:00
Gunnar Beutner d577406a66 Implemented ServiceStatusMessage class. 2012-07-03 10:41:25 +02:00
Gunnar Beutner a7be3a40c9 Ignore remote object updates when local object is newer. 2012-07-02 19:25:33 +02:00
Gunnar Beutner 4aa166ba29 Fixed compilation warnings on Windows. 2012-07-02 18:40:30 +02:00
Gunnar Beutner 1db53b84e6 Bugfixes. 2012-07-02 14:43:51 +02:00
Gunnar Beutner 639d2e5be0 Removed the 'temporary' config keyword. 2012-07-02 12:57:45 +02:00
Gunnar Beutner 334c247655 Win32 bugfixes. 2012-07-01 13:21:49 +02:00
Gunnar Beutner 6ce38b1ad2 Renamed DictionaryIterator to Dictionary::Iterator. 2012-07-01 12:59:05 +02:00
Gunnar Beutner 2272e410c2 Implement task statistics. 2012-06-28 15:43:49 +02:00
Gunnar Beutner 5f0bec3936 Implemented compat module (WIP). 2012-06-27 18:43:34 +02:00
Gunnar Beutner 6f9342a261 Re-delegate services after config changes. 2012-06-27 10:59:08 +02:00
Gunnar Beutner 593e329248 Added serialization support for check results.
Bugfixes.
2012-06-25 14:13:24 +02:00
Gunnar Beutner 3d6df6611c Bugfixes. 2012-06-24 20:11:10 +02:00
Gunnar Beutner 34d26d424f Made sockets multi-threaded. 2012-06-24 05:27:01 +02:00
Gunnar Beutner d1f4d9b829 Performance improvements. 2012-06-22 23:19:10 +02:00
Gunnar Beutner cae84e9827 Bugfixes. 2012-06-22 13:40:09 +02:00
Gunnar Beutner e294cf6686 Bugfixes. 2012-06-22 12:05:25 +02:00
Gunnar Beutner 7f299fb2a7 Performance fixes for TLS sockets. 2012-06-22 11:47:06 +02:00
Gunnar Beutner d2332c8fd4 Avoid unnecessary wake-ups for timers. 2012-06-22 11:19:58 +02:00
Gunnar Beutner 7ed19cd533 Bugfixes. 2012-06-21 17:39:16 +02:00
Gunnar Beutner d4fb11d427 Even more bugfixes. 2012-06-21 16:16:53 +02:00
Gunnar Beutner 77ce61d548 Bugfixes. 2012-06-21 15:01:54 +02:00
Gunnar Beutner ddeda8c512 Delegation bugfixes. 2012-06-21 12:52:13 +02:00
Gunnar Beutner 33c37f4a27 Bugfixes for the TLS client. 2012-06-21 12:22:16 +02:00
Gunnar Beutner db4fde9554 Bugfixes for the delegation feature. 2012-06-21 00:10:10 +02:00
Gunnar Beutner 49c7cd27d2 Check whether there's an application instance before calling Shutdown(). 2012-06-20 15:23:10 +02:00
Gunnar Beutner 468a0ad5b2 Ignore debug log for now. 2012-06-20 10:46:18 +02:00
Gunnar Beutner 877b9516f0 More performance improvements. 2012-06-19 15:52:48 +02:00
Gunnar Beutner 436ad8a26a Performance improvements. 2012-06-19 09:38:20 +02:00
Gunnar Beutner 1db56a5995 Bugfixes for the nagios checker/thread pool. 2012-06-18 17:23:48 +02:00
Gunnar Beutner 3ebe553401 Don't wait for tasks when destroying a threadpool. 2012-06-18 06:44:26 +02:00
Gunnar Beutner 1d8331ecd8 Use a FIFO queue for the tasks in the thread pool. 2012-06-18 06:31:40 +02:00
Gunnar Beutner bd1e8b2395 Evenly distribute checks in the check interval. 2012-06-18 02:19:15 +02:00
Gunnar Beutner 30af9494d8 Bugfixes. 2012-06-18 01:58:13 +02:00
Gunnar Beutner f41032e69b Merge branch 'master' of github.com:gunnarbeutner/strawberry 2012-06-18 01:44:10 +02:00
Gunnar Beutner 74bae58f21 Bugfixes. 2012-06-18 01:42:42 +02:00
Gunnar Beutner 86ffd15eb9 Performance fixes. 2012-06-18 01:29:02 +02:00
Gunnar Beutner 4c658eb889 Multi-threaded nagios checks. 2012-06-17 21:00:24 +02:00
Gunnar Beutner 7f4c3f84be Code cleanups. 2012-06-17 16:37:36 +02:00
Gunnar Beutner 728f72dcce Use adapters in the checker/delegation components. 2012-06-16 20:47:43 +02:00
Gunnar Beutner 7d630249cc Code cleanup. 2012-06-16 16:54:55 +02:00
Gunnar Beutner dbe48e501c Use specific types (rather than Object::Ptr) for event handlers. 2012-06-16 13:09:17 +02:00
Gunnar Beutner 7abf1bad51 Make Object::ClearHeldObjects() public. 2012-06-16 04:04:36 +02:00
Gunnar Beutner 7753e229cc Remove EventArgs struct. 2012-06-16 03:42:54 +02:00
Gunnar Beutner 10138c7ff8 Cleaned up Application::GetExeDirectory 2012-06-15 22:26:25 +02:00
Gunnar Beutner 9ab3f6aaba Compilation fixes for *NIX. 2012-06-15 19:56:28 +02:00
Gunnar Beutner 0bd5323629 Prefer boost::* over C++0x features. 2012-06-15 19:32:41 +02:00
Gunnar Beutner 8e61490530 Checker/delegation fixes. 2012-06-14 16:09:04 +02:00
Gunnar Beutner 1e1bb43dea Replaced custom event code with Boost.Signals. 2012-06-14 15:16:41 +02:00
Gunnar Beutner 739d0c1c29 Implemented asynchronous (internal) API calls. 2012-06-14 11:18:20 +02:00
Gunnar Beutner 31407fd07f Implemented rudimentary service checks. 2012-06-13 13:43:12 +02:00
Gunnar Beutner 7750242384 Bugfixes. 2012-06-12 11:56:12 +02:00
Gunnar Beutner c44d8d5912 Even more bugfixes. 2012-06-12 11:34:48 +02:00
Gunnar Beutner 900e65d009 More bugfixes. 2012-06-12 11:24:02 +02:00
Gunnar Beutner 0270d9cf52 Bugfixes. 2012-06-12 10:49:30 +02:00
Gunnar Beutner d45bcf99b1 Integrate libdyn with the configfile component. 2012-06-12 10:13:57 +02:00
Gunnar Beutner 1726e1ba0d Performance improvements. 2012-06-11 08:21:47 +02:00
Gunnar Beutner 3e2b5d5269 Fixed memory leaks in the parser.
Improved Dictionary performance.
2012-06-06 14:38:28 +02:00
Gunnar Beutner 9b8fd9755b Implemented additional parts of the config compiler. 2012-06-05 15:05:15 +02:00