]> granicus.if.org Git - icinga2/log
icinga2
12 years agoFixed incorrect references to the 'retention.dat' file.
Gunnar Beutner [Thu, 26 Jul 2012 09:42:57 +0000 (11:42 +0200)]
Fixed incorrect references to the 'retention.dat' file.

12 years agoSave program state when shutting down.
Gunnar Beutner [Thu, 26 Jul 2012 09:41:36 +0000 (11:41 +0200)]
Save program state when shutting down.

12 years agoKeep track of time using fractions of seconds.
Gunnar Beutner [Wed, 25 Jul 2012 10:59:17 +0000 (12:59 +0200)]
Keep track of time using fractions of seconds.

12 years agoBuild fixes.
Gunnar Beutner [Wed, 25 Jul 2012 07:07:15 +0000 (09:07 +0200)]
Build fixes.

12 years agoRemoved delegation::ServiceStatus message (obsoleted by the domain concept)
Gunnar Beutner [Wed, 25 Jul 2012 07:03:02 +0000 (09:03 +0200)]
Removed delegation::ServiceStatus message (obsoleted by the domain concept)

12 years agoFixed calculation of next check timestamp.
Gunnar Beutner [Tue, 24 Jul 2012 14:46:48 +0000 (16:46 +0200)]
Fixed calculation of next check timestamp.

12 years agoCleaned up status calculation code.
Gunnar Beutner [Tue, 24 Jul 2012 13:38:30 +0000 (15:38 +0200)]
Cleaned up status calculation code.

12 years agoAdd log message after main loop.
Gunnar Beutner [Tue, 24 Jul 2012 13:38:19 +0000 (15:38 +0200)]
Add log message after main loop.

12 years agoUse throw_exception() instead of throw.
Gunnar Beutner [Tue, 24 Jul 2012 13:38:04 +0000 (15:38 +0200)]
Use throw_exception() instead of throw.

12 years agoDon't save properties for non-persistent config objects.
Gunnar Beutner [Tue, 24 Jul 2012 12:18:33 +0000 (14:18 +0200)]
Don't save properties for non-persistent config objects.

12 years agoBuild fixes for *NIX.
Gunnar Beutner [Tue, 24 Jul 2012 11:45:21 +0000 (13:45 +0200)]
Build fixes for *NIX.

12 years agoAdd support for serializing empty Variants.
Gunnar Beutner [Tue, 24 Jul 2012 11:33:38 +0000 (13:33 +0200)]
Add support for serializing empty Variants.

12 years agoAlways load cibsync component.
Gunnar Beutner [Tue, 24 Jul 2012 11:26:56 +0000 (13:26 +0200)]
Always load cibsync component.

12 years agoImplemented state retention.
Gunnar Beutner [Tue, 24 Jul 2012 11:13:02 +0000 (13:13 +0200)]
Implemented state retention.

12 years agoMoved serialization functionality into the base library.
Gunnar Beutner [Tue, 24 Jul 2012 08:50:53 +0000 (10:50 +0200)]
Moved serialization functionality into the base library.

12 years agoBuild fix for *NIX.
Gunnar Beutner [Mon, 23 Jul 2012 08:27:12 +0000 (10:27 +0200)]
Build fix for *NIX.

12 years agoRefactored the Component class.
Gunnar Beutner [Mon, 23 Jul 2012 08:24:27 +0000 (10:24 +0200)]
Refactored the Component class.

12 years agoHandle all exception types rather than just the ones inheriting from std::exception.
Gunnar Beutner [Mon, 23 Jul 2012 06:57:19 +0000 (08:57 +0200)]
Handle all exception types rather than just the ones inheriting from std::exception.

12 years agoVS project file: Moved components into a separate folder.
Gunnar Beutner [Fri, 20 Jul 2012 12:30:53 +0000 (14:30 +0200)]
VS project file: Moved components into a separate folder.

12 years agoRemoved CIB::RequireInformation.
Gunnar Beutner [Fri, 20 Jul 2012 12:30:35 +0000 (14:30 +0200)]
Removed CIB::RequireInformation.

12 years agoMade *::ScriptFunc private.
Gunnar Beutner [Thu, 19 Jul 2012 09:17:05 +0000 (11:17 +0200)]
Made *::ScriptFunc private.

12 years agoMoved calculation of next check timestamp into the cibsync component.
Gunnar Beutner [Wed, 18 Jul 2012 09:52:22 +0000 (11:52 +0200)]
Moved calculation of next check timestamp into the cibsync component.

12 years agoUsed const references for the EndpointManager methods.
Gunnar Beutner [Wed, 18 Jul 2012 09:43:41 +0000 (11:43 +0200)]
Used const references for the EndpointManager methods.

12 years agoAdded TcpClient::OnConnected event.
Gunnar Beutner [Wed, 18 Jul 2012 09:15:39 +0000 (11:15 +0200)]
Added TcpClient::OnConnected event.

12 years agoBuild fix.
Gunnar Beutner [Tue, 17 Jul 2012 18:44:22 +0000 (20:44 +0200)]
Build fix.

12 years agoCleaned up socket exception handling.
Gunnar Beutner [Tue, 17 Jul 2012 18:41:06 +0000 (20:41 +0200)]
Cleaned up socket exception handling.

12 years agoRevert 78215843 as it requires Boost version 1.43.
Gunnar Beutner [Tue, 17 Jul 2012 17:19:03 +0000 (19:19 +0200)]
Revert 78215843 as it requires Boost version 1.43.

12 years agoTry to more uniformly distribute checks in their check interval.
Gunnar Beutner [Tue, 17 Jul 2012 17:10:14 +0000 (19:10 +0200)]
Try to more uniformly distribute checks in their check interval.

12 years agoRe-enable host macros.
Gunnar Beutner [Tue, 17 Jul 2012 11:03:44 +0000 (13:03 +0200)]
Re-enable host macros.

12 years agoUpdated delegation/checker to use cibsync rather than sending service objects.
Gunnar Beutner [Tue, 17 Jul 2012 10:57:21 +0000 (12:57 +0200)]
Updated delegation/checker to use cibsync rather than sending service objects.

12 years agoUse Boost.Range instead of tie().
Gunnar Beutner [Tue, 17 Jul 2012 08:29:30 +0000 (10:29 +0200)]
Use Boost.Range instead of tie().

12 years agoBuild fixes for *NIX.
Gunnar Beutner [Mon, 16 Jul 2012 22:01:23 +0000 (00:01 +0200)]
Build fixes for *NIX.

12 years agoUse BOOST_FOREACH for most for loops.
Gunnar Beutner [Mon, 16 Jul 2012 20:00:50 +0000 (22:00 +0200)]
Use BOOST_FOREACH for most for loops.

12 years agoImplemented native::NullCheck check method.
Gunnar Beutner [Mon, 16 Jul 2012 13:10:42 +0000 (15:10 +0200)]
Implemented native::NullCheck check method.

12 years agoBugfixes for SSL sockets.
Gunnar Beutner [Mon, 16 Jul 2012 09:44:11 +0000 (11:44 +0200)]
Bugfixes for SSL sockets.

12 years agoKeep track of whether sockets are connected.
Gunnar Beutner [Mon, 16 Jul 2012 09:15:20 +0000 (11:15 +0200)]
Keep track of whether sockets are connected.

12 years agoUpdated documention (check_type removed, methods->check added).
Gunnar Beutner [Mon, 16 Jul 2012 06:25:15 +0000 (08:25 +0200)]
Updated documention (check_type removed, methods->check added).

12 years agoRenamed "hooks" to "methods".
Gunnar Beutner [Mon, 16 Jul 2012 06:19:51 +0000 (08:19 +0200)]
Renamed "hooks" to "methods".

12 years agoRefactored jsonrpc lib to use the new TcpClient interface.
Gunnar Beutner [Sun, 15 Jul 2012 22:05:24 +0000 (00:05 +0200)]
Refactored jsonrpc lib to use the new TcpClient interface.

12 years agoAdded missing GPL Header.
Gunnar Beutner [Sun, 15 Jul 2012 22:04:16 +0000 (00:04 +0200)]
Added missing GPL Header.

12 years agoCleaned up TcpClient interface.
Gunnar Beutner [Sun, 15 Jul 2012 22:02:31 +0000 (00:02 +0200)]
Cleaned up TcpClient interface.

12 years agoCleaned up NagiosCheckTask.
Gunnar Beutner [Sun, 15 Jul 2012 15:48:58 +0000 (17:48 +0200)]
Cleaned up NagiosCheckTask.

12 years agoRemoved unused code.
Gunnar Beutner [Sun, 15 Jul 2012 15:36:02 +0000 (17:36 +0200)]
Removed unused code.

12 years agoMore bugfixes for AsyncTask.
Gunnar Beutner [Sun, 15 Jul 2012 15:29:59 +0000 (17:29 +0200)]
More bugfixes for AsyncTask.

12 years agoBugfixes for the AsyncTask class.
Gunnar Beutner [Sun, 15 Jul 2012 15:15:49 +0000 (17:15 +0200)]
Bugfixes for the AsyncTask class.

12 years agoRe-enabled /MP (parallel builds) on Windows.
Gunnar Beutner [Sun, 15 Jul 2012 11:15:51 +0000 (13:15 +0200)]
Re-enabled /MP (parallel builds) on Windows.

12 years agoEnabled pre-compiled headers for Windows builds.
Gunnar Beutner [Sun, 15 Jul 2012 11:13:19 +0000 (13:13 +0200)]
Enabled pre-compiled headers for Windows builds.

12 years agoBuild fixes for *NIX.
Gunnar Beutner [Sun, 15 Jul 2012 11:07:12 +0000 (13:07 +0200)]
Build fixes for *NIX.

12 years agoImplemented exception support for AsyncTasks.
Gunnar Beutner [Sun, 15 Jul 2012 08:58:03 +0000 (10:58 +0200)]
Implemented exception support for AsyncTasks.

12 years agoDisabled resolving host macros for now.
Gunnar Beutner [Sat, 14 Jul 2012 18:06:32 +0000 (20:06 +0200)]
Disabled resolving host macros for now.

12 years agoFixed assert() in ~AsyncTask obscuring other errors.
Gunnar Beutner [Sat, 14 Jul 2012 18:06:09 +0000 (20:06 +0200)]
Fixed assert() in ~AsyncTask obscuring other errors.

12 years agoBugfixes for the ScriptTask feature.
Gunnar Beutner [Sat, 14 Jul 2012 14:49:21 +0000 (16:49 +0200)]
Bugfixes for the ScriptTask feature.

12 years agoImplemented script tasks.
Gunnar Beutner [Sat, 14 Jul 2012 13:59:59 +0000 (15:59 +0200)]
Implemented script tasks.

12 years agoCleaned up AsyncTask class.
Gunnar Beutner [Sat, 14 Jul 2012 11:57:20 +0000 (13:57 +0200)]
Cleaned up AsyncTask class.

12 years agoRemoved unused code.
Gunnar Beutner [Sat, 14 Jul 2012 11:33:04 +0000 (13:33 +0200)]
Removed unused code.

12 years agoBugfixes for the Process/AsyncTask classes.
Gunnar Beutner [Sat, 14 Jul 2012 10:44:37 +0000 (12:44 +0200)]
Bugfixes for the Process/AsyncTask classes.

12 years agoImproved Event::Post performance.
Gunnar Beutner [Fri, 13 Jul 2012 21:33:30 +0000 (23:33 +0200)]
Improved Event::Post performance.

12 years agoFixed compilation errors on *NIX.
Gunnar Beutner [Fri, 13 Jul 2012 19:07:39 +0000 (21:07 +0200)]
Fixed compilation errors on *NIX.

12 years agoImplemented Process class, cleaned up NagiosCheckTask.
Gunnar Beutner [Fri, 13 Jul 2012 19:00:54 +0000 (21:00 +0200)]
Implemented Process class, cleaned up NagiosCheckTask.

12 years agoFixed compiler warning.
Gunnar Beutner [Fri, 13 Jul 2012 17:38:14 +0000 (19:38 +0200)]
Fixed compiler warning.

12 years agoMore Win32 build fixes.
Gunnar Beutner [Fri, 13 Jul 2012 13:29:39 +0000 (15:29 +0200)]
More Win32 build fixes.

12 years agoWin32 build fix.
Gunnar Beutner [Fri, 13 Jul 2012 13:24:19 +0000 (15:24 +0200)]
Win32 build fix.

12 years agoMade Timer::Timers private.
Gunnar Beutner [Fri, 13 Jul 2012 13:03:24 +0000 (15:03 +0200)]
Made Timer::Timers private.

12 years agoAdded IcingaConnection PHP class.
Gunnar Beutner [Fri, 13 Jul 2012 12:28:52 +0000 (14:28 +0200)]
Added IcingaConnection PHP class.

12 years agoRe-implemented integer support for the Variant class.
Gunnar Beutner [Fri, 13 Jul 2012 11:09:09 +0000 (13:09 +0200)]
Re-implemented integer support for the Variant class.

12 years agoFixed global macros.
Gunnar Beutner [Fri, 13 Jul 2012 09:40:57 +0000 (11:40 +0200)]
Fixed global macros.

12 years agoImplemented global macros.
Gunnar Beutner [Fri, 13 Jul 2012 09:29:23 +0000 (11:29 +0200)]
Implemented global macros.

12 years agoFixed Variant::IsEmpty()
Gunnar Beutner [Fri, 13 Jul 2012 09:24:05 +0000 (11:24 +0200)]
Fixed Variant::IsEmpty()

12 years agoFixed uninitialized variable.
Gunnar Beutner [Fri, 13 Jul 2012 07:59:26 +0000 (09:59 +0200)]
Fixed uninitialized variable.

12 years agoUpdated documentation.
Gunnar Beutner [Fri, 13 Jul 2012 07:09:26 +0000 (09:09 +0200)]
Updated documentation.

12 years agoImplemented 'log' config object and 'logpath' property for the 'application' object.
Gunnar Beutner [Fri, 13 Jul 2012 07:03:22 +0000 (09:03 +0200)]
Implemented 'log' config object and 'logpath' property for the 'application' object.

12 years agoMake PID path configurable.
Gunnar Beutner [Fri, 13 Jul 2012 06:30:20 +0000 (08:30 +0200)]
Make PID path configurable.

12 years agoImplemented support for writing a PID file.
Gunnar Beutner [Thu, 12 Jul 2012 15:03:34 +0000 (17:03 +0200)]
Implemented support for writing a PID file.

12 years agoRemoved I2_PLATFORM* macros.
Gunnar Beutner [Thu, 12 Jul 2012 14:12:19 +0000 (16:12 +0200)]
Removed I2_PLATFORM* macros.

12 years agoFixed crash while shutting down Icinga.
Gunnar Beutner [Thu, 12 Jul 2012 13:50:31 +0000 (15:50 +0200)]
Fixed crash while shutting down Icinga.

12 years agoFix: Make Dictionary::Add() return the new key.
Gunnar Beutner [Thu, 12 Jul 2012 08:24:54 +0000 (10:24 +0200)]
Fix: Make Dictionary::Add() return the new key.

12 years agoUpdated config documentation.
Gunnar Beutner [Thu, 12 Jul 2012 04:49:37 +0000 (06:49 +0200)]
Updated config documentation.

12 years agoConfig compiler: Added support for floating point numbers as well as negative numbers.
Gunnar Beutner [Wed, 11 Jul 2012 19:03:22 +0000 (21:03 +0200)]
Config compiler: Added support for floating point numbers as well as negative numbers.

12 years agoCleaned up the Variant class.
Gunnar Beutner [Wed, 11 Jul 2012 18:55:46 +0000 (20:55 +0200)]
Cleaned up the Variant class.

12 years agoUse STD*_FILENO constants in Utility::Daemonize.
Gunnar Beutner [Tue, 10 Jul 2012 14:24:17 +0000 (16:24 +0200)]
Use STD*_FILENO constants in Utility::Daemonize.

12 years agoImplemented -d (daemonize) option.
Gunnar Beutner [Tue, 10 Jul 2012 14:02:45 +0000 (16:02 +0200)]
Implemented -d (daemonize) option.

12 years agoRemoved unused ConfigObject methods.
Gunnar Beutner [Tue, 10 Jul 2012 13:57:54 +0000 (15:57 +0200)]
Removed unused ConfigObject methods.

12 years agoFixed compilation on Windows.
Gunnar Beutner [Tue, 10 Jul 2012 13:44:59 +0000 (15:44 +0200)]
Fixed compilation on Windows.

12 years agoImplemented logging to files and made logging configurable.
Gunnar Beutner [Tue, 10 Jul 2012 13:14:45 +0000 (15:14 +0200)]
Implemented logging to files and made logging configurable.

12 years agoDocumentation for the config format.
Gunnar Beutner [Tue, 10 Jul 2012 11:53:46 +0000 (13:53 +0200)]
Documentation for the config format.

12 years agoCleaned up syslog class.
Gunnar Beutner [Tue, 10 Jul 2012 11:32:15 +0000 (13:32 +0200)]
Cleaned up syslog class.

12 years agoImplemented syslog logger class.
Gunnar Beutner [Tue, 10 Jul 2012 11:31:17 +0000 (13:31 +0200)]
Implemented syslog logger class.

12 years agoAdded assert()s for some common thread-safety problems.
Gunnar Beutner [Tue, 10 Jul 2012 11:00:53 +0000 (13:00 +0200)]
Added assert()s for some common thread-safety problems.

12 years agoAdded documentation for the logger classes.
Gunnar Beutner [Tue, 10 Jul 2012 10:51:53 +0000 (12:51 +0200)]
Added documentation for the logger classes.

12 years agoMade logging more modular.
Gunnar Beutner [Tue, 10 Jul 2012 10:21:19 +0000 (12:21 +0200)]
Made logging more modular.

12 years agoRemoved support for tuples from the configuration parser.
Gunnar Beutner [Tue, 10 Jul 2012 08:23:55 +0000 (10:23 +0200)]
Removed support for tuples from the configuration parser.

12 years agoBuild fixes for the unit tests.
Gunnar Beutner [Tue, 10 Jul 2012 07:44:11 +0000 (09:44 +0200)]
Build fixes for the unit tests.

12 years agoMerge branch 'master' of github.com:gunnarbeutner/strawberry
Gunnar Beutner [Tue, 10 Jul 2012 07:38:24 +0000 (09:38 +0200)]
Merge branch 'master' of github.com:gunnarbeutner/strawberry

12 years agoAdded missing GPL headers and Visual Studio filters.
Gunnar Beutner [Mon, 9 Jul 2012 18:32:02 +0000 (20:32 +0200)]
Added missing GPL headers and Visual Studio filters.

12 years agoRenamed Ringbuffer class to RingBuffer
Gunnar Beutner [Mon, 9 Jul 2012 18:11:55 +0000 (20:11 +0200)]
Renamed Ringbuffer class to RingBuffer

12 years agoMoved CIB class constructors from header file to .cpp files.
Gunnar Beutner [Mon, 9 Jul 2012 15:07:20 +0000 (17:07 +0200)]
Moved CIB class constructors from header file to .cpp files.

12 years agoRemoved unused code.
Gunnar Beutner [Mon, 9 Jul 2012 15:04:39 +0000 (17:04 +0200)]
Removed unused code.

12 years agoClean up reachability calculation.
Gunnar Beutner [Mon, 9 Jul 2012 15:03:24 +0000 (17:03 +0200)]
Clean up reachability calculation.

12 years agoAdded GetProperty/SetTag/GetTag accessors to ConfigObjectAdapter.
Gunnar Beutner [Mon, 9 Jul 2012 14:44:46 +0000 (16:44 +0200)]
Added GetProperty/SetTag/GetTag accessors to ConfigObjectAdapter.

12 years agoVerify object type in the CIB class constructors.
Gunnar Beutner [Mon, 9 Jul 2012 14:38:01 +0000 (16:38 +0200)]
Verify object type in the CIB class constructors.