Commit Graph

231 Commits

Author SHA1 Message Date
Michael Friedrich abcf7672c4 update .gitignore for docs and binaries 2012-10-11 16:20:37 +02:00
Gunnar Beutner a63ef86869 Remove path spec from the console logger. 2012-10-11 10:27:58 +02:00
Michael Friedrich 9b9d4903ee Config: add a demo service example (since #3250 is now fixed) 2012-10-09 00:27:35 +02:00
Michael Friedrich 0f19f24843 Config: add Logger with debug severity by default 2012-10-09 00:24:58 +02:00
Michael Friedrich 836bc067cd Config: add more example config for an icinga2 localhost (fixes #3256) 2012-10-08 00:21:56 +02:00
Michael Friedrich 19faa2a755 Compat IDO: update documentation for reconnect_interval (refs #3207) 2012-10-07 22:24:54 +02:00
Michael Friedrich b9342442e7 Configuration: add windows based sample config file #3233
the first sample, with files in the same dir where icinga-app.exe will
be started. furthermore, this requires winping.exe to be put into
C:\Plugins (from https://www.itefix.no/i2/check_winping)

fixes #3233
2012-10-04 16:00:36 +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 e6254baea3 Fixed linking against compatido when using --disable-shared. 2012-09-28 15:30:42 +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 47fa56a805 Added methods for retrieving the installation prefix and local state dir. 2012-09-28 13:16:08 +02:00
Gunnar Beutner 23cd92803b Removed obsolete config files. 2012-09-28 12:37:18 +02:00
Michael Friedrich 550a7959d7 compatido: add config options: socket_{address, port}, instance_name
fixes #3158
2012-09-28 12:13:50 +02:00
Michael Friedrich ea9309096c Merge branch 'master' into mfriedrich/compatido 2012-09-27 15:10:04 +02:00
Gunnar Beutner bd37c357d1 Build fix for Windows. 2012-09-27 10:14:45 +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 5157853af9 Add right lib dir to the search path. 2012-09-26 12:08:07 +02:00
Gunnar Beutner d6874052c6 Removed example certificates.
Fixes #3180
2012-09-26 10:49:40 +02:00
Gunnar Beutner ca5593eb66 Install icinga2 binary in $PREFIX/sbin rather than $PREFIX/bin. 2012-09-26 09:56:28 +02:00
Michael Friedrich d0ed2a4840 Merge branch 'master' into mfriedrich/compatido 2012-09-25 15:27:14 +02:00
Gunnar Beutner 0d77919057 Removed references to Nagios from the example config. 2012-09-25 15:26:06 +02:00
Michael Friedrich a96a77c87c compatidio: add a comment sample component to icinga2.conf.dist 2012-09-25 15:21:33 +02:00
Michael Friedrich c726adb550 Merge branch 'master' into mfriedrich/compatido 2012-09-25 15:18:15 +02:00
Gunnar Beutner 8c491cb545 Added documentation for the example config file. 2012-09-25 13:46:28 +02:00
Gunnar Beutner a4fa8950c4 Implemented lexer rules for time durations.
Fixes #3073
2012-09-25 11:17:04 +02:00
Michael Friedrich 8886155fb0 Merge branch 'master' into mfriedrich/compatido 2012-09-25 11:07:17 +02:00
Gunnar Beutner f53f8e64fd Renamed NagiosCheckTask to PluginCheckTask.
Fixes #3146
2012-09-25 09:08:50 +02:00
Michael Friedrich f5d2924452 Merge branch 'master' into mfriedrich/compatido
Conflicts:
	components/Makefile.am
	configure.ac
	icinga2.sln
2012-09-24 17:48:46 +02:00
Michael Friedrich 81c3f07f13 compatido: add commented component example to icinga-standalone.conf 2012-09-22 18:17:37 +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 de29105e43 Fixed module path for 64-bit RHEL.
Fixes #3150
2012-09-21 15:14:26 +02:00
Gunnar Beutner 5921337b46 Merged convenience component into libicinga. 2012-09-21 13:49:14 +02:00
Gunnar Beutner d272f0d19d Fix: missing files in the dist tarball 2012-09-18 13:19:27 +02:00
Gunnar Beutner 86c0aff719 Build fix for Windows. 2012-09-17 11:13:35 +02:00
Gunnar Beutner 093931a1d3 Renamed icinga binary to icinga2 to avoid conflicts with Icinga 1.x 2012-09-17 09:48:34 +02:00
Gunnar Beutner 636acd1a2c Add missing Makefile.am. 2012-09-17 09:36:51 +02:00
Gunnar Beutner a6828f57d3 Fixed a typo in the example config. 2012-09-14 15:41:14 +02:00
Gunnar Beutner 5c5db5b3a5 Added example config files and updated the build script so they get installed. 2012-09-14 11:35:30 +02:00
Gunnar Beutner 7e0fa1ce13 Renamed component: cibsync -> replication 2012-09-14 10:52:57 +02:00
Gunnar Beutner b996635a91 Report version number at startup. 2012-09-10 14:44:54 +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 dc6246642f Implemented replication for Endpoint objects. 2012-09-03 10:29:02 +02:00
Gunnar Beutner 468f5216b8 Fixed build errors on Windows. 2012-08-22 08:29:51 +02:00
Gunnar Beutner 88ee0dba54 Removed discovery module from example config. 2012-08-17 14:27:38 +02:00
Gunnar Beutner d086f6fae2 Added missing macros. 2012-08-17 14:26:10 +02:00
Gunnar Beutner 643f2b42b5 Removed duplicate host object. 2012-08-17 14:23:17 +02:00
Gunnar Beutner c1ce5ed8ba Updated standalone config example. 2012-08-17 13:56:04 +02:00
Gunnar Beutner 9ed4e78491 Updated example configs and fixed yet another crash. 2012-08-14 14:23:16 +02:00
Gunnar Beutner 0667491942 Updated example configs. 2012-08-14 14:09:08 +02:00
Gunnar Beutner 06b1a73864 Fixed crash while shutting down Icinga. 2012-08-14 14:04:05 +02:00
Gunnar Beutner 160219f4d3 Refactored Application class to use DynamicObject as a base class. 2012-08-14 12:51:51 +02:00
Gunnar Beutner 8b87e30197 Removed roles/publications. 2012-08-14 10:53:04 +02:00
Gunnar Beutner 645a767ecc Build fix for Boost 1.50 (and possibly other versions as well). 2012-08-14 10:40:43 +02:00
Gunnar Beutner b9ee3b26eb Fixed remote replication of non-config attributes. 2012-08-04 10:23:18 +02:00
Gunnar Beutner d789cee443 Build fixes and code cleanup. 2012-08-03 13:19:55 +02:00
Gunnar Beutner a38379c56d Implemented support for replicating object tags [WIP - broken]. 2012-08-02 11:45:50 +02:00
Gunnar Beutner 24a5a10e00 Refactored ConfigObject adapter classes. 2012-07-27 19:56:57 +02:00
Gunnar Beutner 8e118983be Refactored jsonrpc lib to use the new TcpClient interface. 2012-07-16 00:05:24 +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 3e472012d1 Implemented exception support for AsyncTasks. 2012-07-15 10:58:03 +02:00
Gunnar Beutner 30aa16d9dc Implemented script tasks. 2012-07-14 15:59:59 +02:00
Gunnar Beutner 20dbad0131 Implemented Process class, cleaned up NagiosCheckTask. 2012-07-13 21:00:54 +02:00
Gunnar Beutner 8dc5ba7632 Added missing GPL headers and Visual Studio filters. 2012-07-09 20:32:02 +02:00
Gunnar Beutner 0a6cf57f57 Added convenience module to list of dependencies. 2012-07-08 09:57:33 +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 37cf22aaf0 Implemented ConfigItemBuilder class. 2012-07-06 14:33:10 +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 02482463d3 Fixed build scripts for *NIX. 2012-07-03 08:31:30 +02:00
Gunnar Beutner 334c247655 Win32 bugfixes. 2012-07-01 13:21:49 +02:00
Gunnar Beutner 5f0bec3936 Implemented compat module (WIP). 2012-06-27 18:43:34 +02:00
Gunnar Beutner a9d865c94f Combine private and public keys into one file. 2012-06-27 09:10:37 +02:00
Gunnar Beutner 34d26d424f Made sockets multi-threaded. 2012-06-24 05:27:01 +02:00
Gunnar Beutner 9338362bf8 Bugfixes. 2012-06-17 21:27:13 +02:00
Gunnar Beutner 0bd5323629 Prefer boost::* over C++0x features. 2012-06-15 19:32:41 +02:00
Gunnar Beutner d52afa080e Bugfixes. 2012-06-14 21:09:35 +02:00
Gunnar Beutner 146880c110 Added log messages, fixed config. 2012-06-14 16:31:38 +02:00
Gunnar Beutner 0b9cd3423b Updated test configs. 2012-06-14 16:14:13 +02:00
Gunnar Beutner 27f9d9373c Added delegation component. 2012-06-14 13:21:40 +02:00
Gunnar Beutner b0a372c5f8 Build fixes. 2012-06-14 13:04:22 +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 16d2a02e04 Converted example config files. 2012-06-12 11:45:37 +02:00
Gunnar Beutner 0270d9cf52 Bugfixes. 2012-06-12 10:49:30 +02:00
Gunnar Beutner 132a62f4eb Fixed Solaris compatibility. 2012-05-29 16:56:25 +02:00
Gunnar Beutner 3027ea1758 Added SQLite. 2012-05-29 13:52:24 +02:00
Gunnar Beutner d130d6017f Improved MingW compatibility. 2012-05-28 10:41:21 +02:00
Gunnar Beutner 94eba566af Proper integration for Boost. 2012-05-25 22:04:03 +02:00
Gunnar Beutner 77bec95ec5 Cleaned up jsonrpc library.
Updated documentation.
2012-05-15 16:29:46 +02:00
Gunnar Beutner bcaff12d20 Make sure icinga works even without SSL. 2012-05-15 11:08:04 +02:00
Gunnar Beutner 925e947a98 Updated documentation.
Cleaned up Dictionary class.
2012-05-15 10:58:14 +02:00
Gunnar Beutner d9b7debdcc Cleaned up application initialization.
Made code documentation more doxygen-friendly.
Added doxygen config file.
2012-05-14 19:14:23 +02:00
Gunnar Beutner 7b03f52e99 Added support for --disable-shared. 2012-05-12 16:12:26 +02:00
Gunnar Beutner f6dff42434 Fixed FSF address. 2012-05-11 13:33:57 +02:00
Gunnar Beutner 1ec7c223d4 Fixed more compilation warnings. 2012-05-10 13:49:24 +02:00
Gunnar Beutner 3214c29363 Added copyright headers.
Updated Debian build files.
2012-05-10 12:06:41 +02:00
Gunnar Beutner 68a4eadb54 Updated demo config file. 2012-05-09 13:18:47 +02:00
Gunnar Beutner 2c93eea4e7 Fixed library dependencies (libtool). 2012-05-09 12:10:07 +02:00
Gunnar Beutner 18bffce0ed Implemented message-based authorisation checks. 2012-05-09 10:16:31 +02:00
Gunnar Beutner b844607274 Updated test config files. 2012-05-08 13:46:13 +02:00
Gunnar Beutner 1573c19aaa Removed rpclistener/rpcconnection config object types. 2012-05-08 13:03:29 +02:00
Gunnar Beutner 63e318383d Bugfix: duplicate Welcome messages 2012-05-08 10:17:45 +02:00
Gunnar Beutner 8a5e1423ca Bugfix: Deal with error code for bind() 2012-05-08 09:44:58 +02:00
Gunnar Beutner e7a718ac11 Windows build fixes
Added C3 test config.
2012-05-08 09:41:39 +02:00
Gunnar Beutner 4c04c47018 Implemented broker authorisation. 2012-05-08 09:20:42 +02:00
Gunnar Beutner 28bdbe1ffe Cleaned up JSON-RPC client code. 2012-05-07 13:48:17 +02:00
Gunnar Beutner 3f1fb0e36d Start SSL handshake once the connection has been established. 2012-05-07 11:41:23 +02:00
Gunnar Beutner c8a5343fe5 Refactored subscription code in preparation for a centralized broker/discovery component. 2012-05-07 11:13:47 +02:00
Gunnar Beutner 415f1d39aa Close old connection when duplicate endpoints are found. 2012-04-27 13:44:53 +02:00
Gunnar Beutner d55965c070 Made SSL cert paths configurable. 2012-04-27 13:12:06 +02:00
Gunnar Beutner 4d873b50fb Disallow connections to endpoints we're already connected to. 2012-04-27 11:50:01 +02:00
Gunnar Beutner 0d8b352150 Fixed subscription code. 2012-04-25 20:35:37 +02:00
Gunnar Beutner fa9449fc73 SSL bugfixes. 2012-04-24 16:27:23 +02:00
Gunnar Beutner 21ef4836ee Implement SSL support. 2012-04-24 14:02:15 +02:00
Gunnar Beutner a60c7cd2a3 Updated test config. 2012-04-23 14:06:13 +02:00
Gunnar Beutner d3798c4bf4 Implemented demo component. 2012-04-23 13:45:41 +02:00
Gunnar Beutner fb53dd345c Refactored authentication code into a separate component. 2012-04-20 16:06:06 +02:00
Gunnar Beutner 2cd43ed8c6 Refactored subscription handling into a separate component. 2012-04-19 11:29:36 +02:00
Gunnar Beutner 9b20a9271e Build fixes. 2012-04-13 13:21:36 +02:00
Gunnar Beutner 9bfff6ddb7 Restructured components. 2012-04-13 13:10:35 +02:00
Gunnar Beutner 44136cf4d0 Build fixes for *NIX. 2012-04-13 11:49:49 +02:00
Gunnar Beutner 05a6303f82 Build fixes for Windows. 2012-04-13 11:45:09 +02:00