73 Commits

Author SHA1 Message Date
Gunnar Beutner
989d7139f3 Refactor scheduling stuff from *CheckTask into the checker component
Fixes #3067
2013-01-22 09:40:37 +01:00
Gunnar Beutner
02de634c12 Implement REGISTER_SCRIPTFUNCTION() and clean up how check types are registered. 2013-01-22 09:21:50 +01:00
Gunnar Beutner
7dc761236d Remove InitializeLibrary TODO.
Closes #3538
2013-01-22 09:04:36 +01:00
Gunnar Beutner
c20ae866b7 Implemented support for external commands. 2013-01-22 08:34:29 +01:00
Gunnar Beutner
54ce8d51d8 Implement support for time periods. 2013-01-21 13:47:36 +01:00
Gunnar Beutner
9c74bfd5be Implement String::ToDouble().
Fixes #3544.
2013-01-21 13:44:17 +01:00
Gunnar Beutner
8f2aea6958 Made String::Split() const. 2013-01-21 13:29:00 +01:00
Gunnar Beutner
5b4712c55b Fixed incorrect argument name. 2013-01-21 13:21:10 +01:00
Gunnar Beutner
853dbfa82e Implemented command pipe (sort of). 2013-01-21 13:08:08 +01:00
Gunnar Beutner
9074a384fd Fix: replicated & local endpoints should not have local: prefix. 2013-01-18 10:37:22 +01:00
Gunnar Beutner
51bad2d2a6 Fix: DynamicObject::Unregister() failed to unregister objects. 2013-01-18 09:55:05 +01:00
Gunnar Beutner
5a7aeb1f19 Fix: Endpoints were not properly marked as local. 2013-01-18 09:37:27 +01:00
Gunnar Beutner
70c66fa542 Implemented the #library directive and fixed loading icinga.dll on Windows. 2013-01-17 15:05:34 +01:00
Gunnar Beutner
747e3e7de8 Fixed bug with invalid type in state files. 2013-01-17 15:03:44 +01:00
Gunnar Beutner
ea115a2c8c Fixed DynamicObject::DumpObjects(). 2012-12-04 15:41:07 +01:00
Gunnar Beutner
28e58df3aa Removed obsolete comment. 2012-12-04 15:37:41 +01:00
Gunnar Beutner
83772d4386 Implemented DynamicType support.
Fixes #3477
2012-12-04 08:42:24 +01:00
Gunnar Beutner
18e8d4a976 Refactored IcingaApplication::Get*().
Fixes #3209, #3277
2012-11-26 08:30:52 +01:00
Gunnar Beutner
8e687ea7fe Added some more code documentation. 2012-11-26 08:29:26 +01:00
Gunnar Beutner
d26af07e48 Build fix for *NIX. 2012-11-23 12:34:06 +01:00
Gunnar Beutner
0785a082e9 Minor cleanups. 2012-11-23 11:04:08 +01:00
Gunnar Beutner
334bfe388a Implemented the StdioStream and UnixSocket classes. 2012-11-23 11:03:33 +01:00
Gunnar Beutner
1055a306c9 Build fix for *NIX. 2012-11-22 12:12:24 +01:00
Gunnar Beutner
321d66023f Refactored the socket classes. 2012-11-22 12:04:32 +01:00
Gunnar Beutner
482742f00e Fixed incorrect use of boost::algorithm::is_iless. 2012-10-31 12:06:21 +01:00
Gunnar Beutner
a5f361b7b6 Made type and attribute names case-insensitive.
Fixes #3223
2012-10-23 15:57:45 +02:00
Gunnar Beutner
6c32ce048e Fixed VS filters for pluginchecktask.cpp and pluginchecktask.h. 2012-10-17 12:35:18 +02:00
Gunnar Beutner
98f1244271 Fix: Added missing DLL exports for Windows. 2012-10-17 12:03:07 +02:00
Gunnar Beutner
e57bf22d82 Fix: Renaming temp files didn't work on Windows.
Fixes #3216
2012-10-17 11:35:06 +02:00
Gunnar Beutner
69bf01155d Added missing GPL headers. 2012-10-16 10:41:54 +02:00
Gunnar Beutner
e426548863 Bugfix: services property doesn't work when the first host definition is abstract.
Fixes #3300
2012-10-15 08:45:14 +02:00
Gunnar Beutner
cfb07e9e2c Ignore Windows new-lines.
Fixes #3292
2012-10-15 08:27:07 +02:00
Gunnar Beutner
ec0e319d8a Don't write local-only objects to the state file. 2012-10-12 10:16:03 +02:00
Gunnar Beutner
4e5702e31d Bugfix: Connecting to a remote node crashes Icinga2. 2012-10-11 14:17:40 +02:00
Michael Friedrich
bb50720843 Configuration: add _path suffix to IcingaApplication attributes "ca" and "cert"
refs #3222
2012-10-02 15:04:17 +02:00
Michael Friedrich
c2bad406ef Configuration: use underscore in attributes, document all using new locations
... from #3228

fixes #3222
2012-10-02 14:44:57 +02:00
Gunnar Beutner
115489a531 Fixed loading components when using a custom --libdir. 2012-10-02 09:26:17 +02:00
Gunnar Beutner
47fa56a805 Added methods for retrieving the installation prefix and local state dir. 2012-09-28 13:16:08 +02:00
Gunnar Beutner
e55aa712b5 Made IComponent::GetConfig() usable in IComponent::Start().
Fixes #3200
2012-09-28 10:40:12 +02:00
Gunnar Beutner
5ff640fd14 Fixed Utility::Sleep on Windows. 2012-09-27 10:05:54 +02:00
Gunnar Beutner
0cb232f494 Handle some exceptions that previously caused crashes. 2012-09-27 09:58:16 +02:00
Gunnar Beutner
c5479057f7 Make exception messages more verbose. 2012-09-27 09:38:28 +02:00
Gunnar Beutner
74a3bca0f6 Fixed crash in Utility::Daemonize().
Fixes #3194
2012-09-27 08:21:07 +02:00
Gunnar Beutner
426ff0b706 Added missing GPL header in scripttask.cpp. 2012-09-25 15:46:24 +02:00
Gunnar Beutner
2f0f1dcd64 Removed win32.cpp / unix.cpp files as they were no longer needed. 2012-09-25 15:45:19 +02:00
Gunnar Beutner
edf812b6b5 Removed ::Sleep and implemented Utility::Sleep. 2012-09-25 15:41:43 +02:00
Gunnar Beutner
e1fc41e735 Sleep for 5 seconds rather than 5 milliseconds. 2012-09-25 15:35:46 +02:00
Gunnar Beutner
f8aa5f67a2 Fixed grammar mistakes. 2012-09-25 15:33:51 +02:00
Gunnar Beutner
980913d980 Properly deal with time changes (2nd attempt). 2012-09-25 15:24:14 +02:00
Gunnar Beutner
c81fd071e6 Detect local time changes. 2012-09-25 14:03:41 +02:00