Commit Graph

160 Commits

Author SHA1 Message Date
Gunnar Beutner f694954512 ExternalCommand: use exceptions instead of return values.
Fixes #3549
2013-01-22 15:13:51 +01:00
Gunnar Beutner 61f2b5f0cf Pass through timestamps to external command handlers. 2013-01-22 12:39:33 +01:00
Gunnar Beutner ecb044b679 Disable command pipe functionality on Windows. 2013-01-22 08:47:56 +01:00
Gunnar Beutner c20ae866b7 Implemented support for external commands. 2013-01-22 08:34:29 +01:00
Gunnar Beutner ccbb98e64a Use String::ToString() in CompatComponent::ProcessCommand(). 2013-01-21 13:45:27 +01:00
Gunnar Beutner d4a6d68ef0 Implemented parsing command pipe data. 2013-01-21 13:39:20 +01:00
Gunnar Beutner 853dbfa82e Implemented command pipe (sort of). 2013-01-21 13:08:08 +01:00
Gunnar Beutner 83772d4386 Implemented DynamicType support.
Fixes #3477
2012-12-04 08:42:24 +01:00
Gunnar Beutner e57bf22d82 Fix: Renaming temp files didn't work on Windows.
Fixes #3216
2012-10-17 11:35:06 +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
Michael Friedrich 4609f7d980 install: create all dirs needed by automake install
refs #3228
2012-10-02 14:44:22 +02:00
Michael Friedrich 4b768c2680 Compat: default localstatedir mkdir will be $prefix/var/icinga2 2012-10-02 13:23:35 +02:00
Michael Friedrich edb9a47c97 compat: add config options: {status,objects}path
requires automake target for localstatedir as default, if not set.

refs #2796
2012-09-28 14:26:01 +02:00
Gunnar Beutner b13e14d221 Changed header for the status.dat file. 2012-09-25 11:38:40 +02:00
Gunnar Beutner b9b009b6da Build fix for Windows. 2012-09-21 16:28:14 +02:00
Gunnar Beutner bb8935fe9b Added Win64 build support. 2012-09-21 16:15:36 +02:00
Gunnar Beutner fa7879776c Report PID in the status.dat file. 2012-09-19 14:10:34 +02:00
Gunnar Beutner 8e4bdf3872 Build fixes for Windows. 2012-09-10 14:35:01 +02:00
Gunnar Beutner 037e3d913b Refactored the libraries. 2012-09-10 14:07:32 +02:00
Gunnar Beutner c7b29c6b46 Build fix for Windows. 2012-09-07 11:46:38 +02:00
Gunnar Beutner 9bc93ce4a9 Renamed 'doc' to 'docs'.
Moved Doxygen files to docs/.
Removed cJSON directory.
Moved libraries into lib/.
Renamed 'config' to 'm4'.
Renamed 'dyn' library to 'config'.
2012-09-07 10:27:31 +02:00
Gunnar Beutner 6982656f2d Ignore service reachability for status.dat output. 2012-08-06 14:14:28 +02:00
Gunnar Beutner 5641e521b0 Build fixes for Windows. 2012-08-03 18:17:47 +02:00
Gunnar Beutner a38379c56d Implemented support for replicating object tags [WIP - broken]. 2012-08-02 11:45:50 +02:00
Gunnar Beutner 8c185a38b0 Renamed ConfigObject to DynamicObject. 2012-07-30 10:17:29 +02:00
Gunnar Beutner 24a5a10e00 Refactored ConfigObject adapter classes. 2012-07-27 19:56:57 +02:00
Gunnar Beutner 1eb25ad4e9 Keep track of time using fractions of seconds. 2012-07-25 12:59:17 +02:00
Gunnar Beutner 7d1ec0332d Removed CIB::RequireInformation. 2012-07-20 14:30:35 +02:00
Gunnar Beutner b162ca9bfb Added TcpClient::OnConnected event. 2012-07-18 11:15:39 +02:00
Gunnar Beutner a224c20a30 Revert 78215843 as it requires Boost version 1.43. 2012-07-17 19:19:03 +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 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 0032e32026 Force compat module to write status.dat/objects.cache right after program start. 2012-07-09 16:22:38 +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 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 28f88df37c Fixed build on Win32. 2012-07-07 13:17:50 +02:00
Gunnar Beutner 37cf22aaf0 Implemented ConfigItemBuilder class. 2012-07-06 14:33:10 +02:00
Gunnar Beutner a11a36154f Bugfix: Use service alias in service group definition. 2012-07-06 11:21:19 +02:00
Gunnar Beutner d26d8e7bb7 Re-designed reachability detection. 2012-07-03 15:11:54 +02:00
Gunnar Beutner f9139a6f97 Bugfixes. 2012-07-03 15:01:09 +02:00
Gunnar Beutner 734ec2f5fb Implemented service dependencies. 2012-07-03 14:18:46 +02:00
Gunnar Beutner 5dc74ecf0e Build fixes for *NIX. 2012-07-03 10:00:44 +02:00
Gunnar Beutner 40350bfce8 Make checkers configurable. 2012-07-02 16:19:43 +02:00
Gunnar Beutner 45fef3573c Disable freshness stuff in status.dat 2012-07-02 15:49:36 +02:00
Gunnar Beutner 1b421d0cc0 Bugfixes. 2012-07-02 15:48:49 +02:00
Gunnar Beutner f2420fb17a Moved CIB stuff into a separate library and loadable component. 2012-07-02 12:34:54 +02:00
Gunnar Beutner 338e2bcbb1 Renamed DictionaryIterator to Dictionary::Iterator. 2012-06-30 15:22:51 +02:00
Gunnar Beutner b576bb5ecc Implemented host and service groups. 2012-06-30 13:39:55 +02:00
Gunnar Beutner 80bec5fcd4 Performance fixes for the compat module.
Split plugin output/perfdata.
2012-06-29 14:14:51 +02:00
Gunnar Beutner 3ec746bd2f Moved task stats to the CIB.
Refactored CheckResult class into a message-based class.
2012-06-29 12:18:50 +02:00
Gunnar Beutner 2272e410c2 Implement task statistics. 2012-06-28 15:43:49 +02:00
Gunnar Beutner ab08736338 Bugfixes and config conversion script. 2012-06-28 14:24:41 +02:00
Gunnar Beutner ccc5f0c61d Fixed execution time calculation. 2012-06-27 23:57:46 +02:00
Gunnar Beutner d11da74931 Fixed latency calculation. 2012-06-27 23:38:50 +02:00
Gunnar Beutner 5f0bec3936 Implemented compat module (WIP). 2012-06-27 18:43:34 +02:00