Commit Graph

4617 Commits

Author SHA1 Message Date
Gunnar Beutner e5ae9dd94e Make PID path configurable. 2012-07-13 08:30:20 +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 ec1c95f9dd Updated config documentation. 2012-07-12 06:49:37 +02:00
Gunnar Beutner b2998f43c3 Config compiler: Added support for floating point numbers as well as negative numbers. 2012-07-11 21:03:22 +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 97b5c70eea Implemented -d (daemonize) option. 2012-07-10 16:02:45 +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 86ae6579ed Documentation for the config format. 2012-07-10 13:53:46 +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 b9fd84a87f Removed support for tuples from the configuration parser. 2012-07-10 10:23:55 +02:00
Gunnar Beutner e807d379ca Build fixes for the unit tests. 2012-07-10 09:44:11 +02:00
Gunnar Beutner 6122628884 Merge branch 'master' of github.com:gunnarbeutner/strawberry 2012-07-10 09:38:24 +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 b38a618ce7 Moved CIB class constructors from header file to .cpp files. 2012-07-09 17:07:20 +02:00
Gunnar Beutner 5f32319c02 Removed unused code. 2012-07-09 17:04:39 +02:00
Gunnar Beutner 9e7ba72eb4 Clean up reachability calculation. 2012-07-09 17:03:24 +02:00
Gunnar Beutner 16e8d131fb Added GetProperty/SetTag/GetTag accessors to ConfigObjectAdapter. 2012-07-09 16:44:46 +02:00
Gunnar Beutner c7788f73c2 Verify object type in the CIB class constructors. 2012-07-09 16:38:01 +02:00
Gunnar Beutner 0032e32026 Force compat module to write status.dat/objects.cache right after program start. 2012-07-09 16:22:38 +02:00
Gunnar Beutner 777f39c1ef Renamed Dictionary::{Set,Get}Property -> Dictionary::{Set,Get} 2012-07-09 16:19:56 +02:00
Gunnar Beutner 8d27f66b83 Moved host reachability/state code into the cib library. 2012-07-09 13:27:59 +02:00
Gunnar Beutner c8261fa8f2 Auto-detect host parents. 2012-07-09 12:44:31 +02:00
Gunnar Beutner 9f56ce6c46 Fixed config parser error messages. 2012-07-09 11:39:14 +02:00
Gunnar Beutner 746d24c9a2 Distinguish between 'dependencies' (reachability) and 'hostchecks' (host status). 2012-07-09 10:28:49 +02:00
Gunnar Beutner 55ca6fd276 Implemented host dependencies 2012-07-09 10:09:53 +02:00
Gunnar Beutner 0b730a8f6e Cleaned up << operator for the DebugInfo class. 2012-07-08 23:23:48 +02:00
Gunnar Beutner c80d84f61e Add path to the DebugInfo struct. 2012-07-08 21:33:51 +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 1c1e1ff5e2 Implemented auto-discovery script. 2012-07-08 11:37:31 +02:00
Gunnar Beutner 0f471683cd Bugfixes for the 'convenience' component. 2012-07-08 11:37:15 +02:00
Gunnar Beutner 4ad1789e33 Implemented extended service template format. 2012-07-08 10:20:54 +02:00
Gunnar Beutner 0a6cf57f57 Added convenience module to list of dependencies. 2012-07-08 09:57:33 +02:00
Gunnar Beutner 8eac0a91c2 Fixed truncated plugin output. 2012-07-07 18:25:27 +02:00
Gunnar Beutner 67789d99ce Fixed Win32 build dependencies. 2012-07-07 13:28:25 +02:00
Gunnar Beutner 28f88df37c Fixed build on Win32. 2012-07-07 13:17:50 +02:00
Gunnar Beutner e8b112689e Link convenience module into icinga app when building with --disable-shared. 2012-07-06 15:56:31 +02:00
Gunnar Beutner de55b5d0d2 Don't instantiate service objects for host templates. 2012-07-06 15:52:13 +02:00
Gunnar Beutner acf08b7a4e Bugfix for the convenience component. 2012-07-06 14:36:58 +02:00