]> granicus.if.org Git - icinga2/log
icinga2
11 years agoAdded missing I2_ICINGA_API specifier for the TimePeriod class.
Gunnar Beutner [Tue, 22 Jan 2013 09:14:08 +0000 (10:14 +0100)]
Added missing I2_ICINGA_API specifier for the TimePeriod class.

11 years agoRefactor scheduling stuff from *CheckTask into the checker component
Gunnar Beutner [Tue, 22 Jan 2013 08:33:57 +0000 (09:33 +0100)]
Refactor scheduling stuff from *CheckTask into the checker component

Fixes #3067

11 years agoImplement REGISTER_SCRIPTFUNCTION() and clean up how check types are registered.
Gunnar Beutner [Tue, 22 Jan 2013 08:21:50 +0000 (09:21 +0100)]
Implement REGISTER_SCRIPTFUNCTION() and clean up how check types are registered.

11 years agoRemove InitializeLibrary TODO.
Gunnar Beutner [Tue, 22 Jan 2013 08:04:36 +0000 (09:04 +0100)]
Remove InitializeLibrary TODO.

Closes #3538

11 years agoDisable command pipe functionality on Windows.
Gunnar Beutner [Tue, 22 Jan 2013 07:47:56 +0000 (08:47 +0100)]
Disable command pipe functionality on Windows.

11 years agoImplemented support for external commands.
Gunnar Beutner [Tue, 22 Jan 2013 07:34:29 +0000 (08:34 +0100)]
Implemented support for external commands.

11 years agoRemove /GM flag for Debug|x64
Gunnar Beutner [Tue, 22 Jan 2013 07:26:47 +0000 (08:26 +0100)]
Remove /GM flag for Debug|x64

Fixes #3537

11 years agoImplement support for time periods.
Gunnar Beutner [Mon, 21 Jan 2013 12:47:36 +0000 (13:47 +0100)]
Implement support for time periods.

11 years agoUse String::ToString() in CompatComponent::ProcessCommand().
Gunnar Beutner [Mon, 21 Jan 2013 12:45:27 +0000 (13:45 +0100)]
Use String::ToString() in CompatComponent::ProcessCommand().

11 years agoImplement String::ToDouble().
Gunnar Beutner [Mon, 21 Jan 2013 12:44:17 +0000 (13:44 +0100)]
Implement String::ToDouble().

Fixes #3544.

11 years agoImplemented parsing command pipe data.
Gunnar Beutner [Mon, 21 Jan 2013 12:39:20 +0000 (13:39 +0100)]
Implemented parsing command pipe data.

11 years agoMade String::Split() const.
Gunnar Beutner [Mon, 21 Jan 2013 12:29:00 +0000 (13:29 +0100)]
Made String::Split() const.

11 years agoFixed incorrect argument name.
Gunnar Beutner [Mon, 21 Jan 2013 12:21:10 +0000 (13:21 +0100)]
Fixed incorrect argument name.

11 years agoImplemented command pipe (sort of).
Gunnar Beutner [Mon, 21 Jan 2013 12:08:08 +0000 (13:08 +0100)]
Implemented command pipe (sort of).

11 years agoFix: replicated & local endpoints should not have local: prefix.
Gunnar Beutner [Fri, 18 Jan 2013 09:37:22 +0000 (10:37 +0100)]
Fix: replicated & local endpoints should not have local: prefix.

11 years agoFix: DynamicObject::Unregister() failed to unregister objects.
Gunnar Beutner [Fri, 18 Jan 2013 08:55:05 +0000 (09:55 +0100)]
Fix: DynamicObject::Unregister() failed to unregister objects.

11 years agoFix: Endpoints were not properly marked as local.
Gunnar Beutner [Fri, 18 Jan 2013 08:36:28 +0000 (09:36 +0100)]
Fix: Endpoints were not properly marked as local.

11 years agoImplemented the #library directive and fixed loading icinga.dll on Windows.
Gunnar Beutner [Thu, 17 Jan 2013 14:05:34 +0000 (15:05 +0100)]
Implemented the #library directive and fixed loading icinga.dll on Windows.

11 years agoFixed bug with invalid type in state files.
Gunnar Beutner [Thu, 17 Jan 2013 14:03:44 +0000 (15:03 +0100)]
Fixed bug with invalid type in state files.

11 years agoFixed DynamicObject::DumpObjects().
Gunnar Beutner [Tue, 4 Dec 2012 14:41:07 +0000 (15:41 +0100)]
Fixed DynamicObject::DumpObjects().

11 years agoRemoved obsolete comment.
Gunnar Beutner [Tue, 4 Dec 2012 14:37:41 +0000 (15:37 +0100)]
Removed obsolete comment.

11 years agoImplemented DynamicType support.
Gunnar Beutner [Tue, 4 Dec 2012 07:42:24 +0000 (08:42 +0100)]
Implemented DynamicType support.

Fixes #3477

11 years agoFixed build warning for compatido.
Gunnar Beutner [Mon, 26 Nov 2012 07:33:40 +0000 (08:33 +0100)]
Fixed build warning for compatido.

11 years agoRefactored IcingaApplication::Get*().
Gunnar Beutner [Mon, 26 Nov 2012 07:30:52 +0000 (08:30 +0100)]
Refactored IcingaApplication::Get*().

Fixes #3209, #3277

11 years agoAdded some more code documentation.
Gunnar Beutner [Mon, 26 Nov 2012 07:29:26 +0000 (08:29 +0100)]
Added some more code documentation.

11 years agoBuild fix for *NIX.
Gunnar Beutner [Fri, 23 Nov 2012 11:34:06 +0000 (12:34 +0100)]
Build fix for *NIX.

11 years agoMinor cleanups.
Gunnar Beutner [Fri, 23 Nov 2012 10:04:08 +0000 (11:04 +0100)]
Minor cleanups.

11 years agoImplemented the StdioStream and UnixSocket classes.
Gunnar Beutner [Fri, 23 Nov 2012 10:02:34 +0000 (11:02 +0100)]
Implemented the StdioStream and UnixSocket classes.

11 years agoFixed indentation.
Gunnar Beutner [Thu, 22 Nov 2012 12:16:38 +0000 (13:16 +0100)]
Fixed indentation.

11 years agoBuild fix for *NIX.
Gunnar Beutner [Thu, 22 Nov 2012 11:12:24 +0000 (12:12 +0100)]
Build fix for *NIX.

11 years agoRefactored the socket classes.
Gunnar Beutner [Thu, 22 Nov 2012 11:04:32 +0000 (12:04 +0100)]
Refactored the socket classes.

12 years agoFixed incorrect use of boost::algorithm::is_iless.
Gunnar Beutner [Wed, 31 Oct 2012 11:06:21 +0000 (12:06 +0100)]
Fixed incorrect use of boost::algorithm::is_iless.

12 years agoMade type and attribute names case-insensitive.
Gunnar Beutner [Tue, 23 Oct 2012 13:57:45 +0000 (15:57 +0200)]
Made type and attribute names case-insensitive.

Fixes #3223

12 years agoRemoved duplicate config files. v0.0.1
Gunnar Beutner [Fri, 19 Oct 2012 10:17:06 +0000 (12:17 +0200)]
Removed duplicate config files.

12 years agoContrib: add demo configuration from osmc 2012 presentation
Michael Friedrich [Fri, 19 Oct 2012 10:07:32 +0000 (12:07 +0200)]
Contrib: add demo configuration from osmc 2012 presentation

12 years agoFixed VS filters for pluginchecktask.cpp and pluginchecktask.h.
Gunnar Beutner [Wed, 17 Oct 2012 10:28:22 +0000 (12:28 +0200)]
Fixed VS filters for pluginchecktask.cpp and pluginchecktask.h.

12 years agoFix: Added missing DLL exports for Windows.
Gunnar Beutner [Wed, 17 Oct 2012 10:03:07 +0000 (12:03 +0200)]
Fix: Added missing DLL exports for Windows.

12 years agoFix: Renaming temp files didn't work on Windows.
Gunnar Beutner [Wed, 17 Oct 2012 09:35:06 +0000 (11:35 +0200)]
Fix: Renaming temp files didn't work on Windows.

Fixes #3216

12 years agoAdded missing GPL headers.
Gunnar Beutner [Tue, 16 Oct 2012 08:41:54 +0000 (10:41 +0200)]
Added missing GPL headers.

12 years agoChanged version number (again).
Gunnar Beutner [Tue, 16 Oct 2012 08:27:29 +0000 (10:27 +0200)]
Changed version number (again).

12 years agoAdded disclaimer text to "configure".
Gunnar Beutner [Tue, 16 Oct 2012 07:54:06 +0000 (09:54 +0200)]
Added disclaimer text to "configure".

12 years agoDocumentation: remove log_path from icingaApplication as well (refs #3277)
Michael Friedrich [Mon, 15 Oct 2012 22:06:21 +0000 (00:06 +0200)]
Documentation: remove log_path from icingaApplication as well (refs #3277)

12 years agoChanged log level for debug message.
Gunnar Beutner [Mon, 15 Oct 2012 16:25:56 +0000 (18:25 +0200)]
Changed log level for debug message.

12 years agoFixed example config.
Gunnar Beutner [Mon, 15 Oct 2012 15:55:54 +0000 (17:55 +0200)]
Fixed example config.

12 years agoUpdated version number (2.0.0a1).
Gunnar Beutner [Mon, 15 Oct 2012 12:57:50 +0000 (14:57 +0200)]
Updated version number (2.0.0a1).

12 years agoConfig: remove log_path config option from IcingaApplication (refs #3277)
Michael Friedrich [Mon, 15 Oct 2012 12:39:49 +0000 (14:39 +0200)]
Config: remove log_path config option from IcingaApplication (refs #3277)

12 years agoFixed grammar mistake.
Gunnar Beutner [Mon, 15 Oct 2012 06:54:08 +0000 (08:54 +0200)]
Fixed grammar mistake.

12 years agoOnly log check timer when we actually created any tasks.
Gunnar Beutner [Mon, 15 Oct 2012 06:52:31 +0000 (08:52 +0200)]
Only log check timer when we actually created any tasks.

12 years agoBugfix: services property doesn't work when the first host definition is abstract.
Gunnar Beutner [Mon, 15 Oct 2012 06:45:14 +0000 (08:45 +0200)]
Bugfix: services property doesn't work when the first host definition is abstract.

Fixes #3300

12 years agoIgnore Windows new-lines.
Gunnar Beutner [Mon, 15 Oct 2012 06:27:07 +0000 (08:27 +0200)]
Ignore Windows new-lines.

Fixes #3292

12 years agoBugfix: Delegation didn't work for local-only instances.
Gunnar Beutner [Fri, 12 Oct 2012 13:45:33 +0000 (15:45 +0200)]
Bugfix: Delegation didn't work for local-only instances.

12 years agoExample config: Renamed host "localhost-i2" to "localhost".
Gunnar Beutner [Fri, 12 Oct 2012 11:14:44 +0000 (13:14 +0200)]
Example config: Renamed host "localhost-i2" to "localhost".

12 years agoConfig: only use one sample localhost
Michael Friedrich [Fri, 12 Oct 2012 10:31:20 +0000 (12:31 +0200)]
Config: only use one sample localhost

12 years agoBuild fix for FreeBSD.
Gunnar Beutner [Fri, 12 Oct 2012 08:50:16 +0000 (10:50 +0200)]
Build fix for FreeBSD.

Fixes #3271

12 years agoBugfix: The delegation component should use only non-local checker endpoints.
Gunnar Beutner [Fri, 12 Oct 2012 08:33:11 +0000 (10:33 +0200)]
Bugfix: The delegation component should use only non-local checker endpoints.

12 years agoDon't write local-only objects to the state file.
Gunnar Beutner [Fri, 12 Oct 2012 08:16:03 +0000 (10:16 +0200)]
Don't write local-only objects to the state file.

12 years agoBugfix: Replicated objects weren't removed on peer instances when they were removed...
Gunnar Beutner [Fri, 12 Oct 2012 07:58:34 +0000 (09:58 +0200)]
Bugfix: Replicated objects weren't removed on peer instances when they were removed on the source instance.

12 years agoConfig: add Logger to win32 config too, for debug console
Michael Friedrich [Thu, 11 Oct 2012 22:43:39 +0000 (00:43 +0200)]
Config: add Logger to win32 config too, for debug console

12 years agoupdate .gitignore for docs and binaries
Michael Friedrich [Thu, 11 Oct 2012 14:20:37 +0000 (16:20 +0200)]
update .gitignore for docs and binaries

12 years agoBugfix: Connecting to a remote node crashes Icinga2.
Gunnar Beutner [Thu, 11 Oct 2012 12:17:40 +0000 (14:17 +0200)]
Bugfix: Connecting to a remote node crashes Icinga2.

12 years agoRemove path spec from the console logger.
Gunnar Beutner [Thu, 11 Oct 2012 08:27:58 +0000 (10:27 +0200)]
Remove path spec from the console logger.

12 years agoCompat IDO: move some log msg to debug level
Michael Friedrich [Mon, 8 Oct 2012 22:59:43 +0000 (00:59 +0200)]
Compat IDO: move some log msg to debug level

12 years agoConfig: add a demo service example (since #3250 is now fixed)
Michael Friedrich [Mon, 8 Oct 2012 22:27:35 +0000 (00:27 +0200)]
Config: add a demo service example (since #3250 is now fixed)

12 years agoConfig: add Logger with debug severity by default
Michael Friedrich [Mon, 8 Oct 2012 22:24:58 +0000 (00:24 +0200)]
Config: add Logger with debug severity by default

12 years agoFixed double-free in libpopen_noshell.
Gunnar Beutner [Mon, 8 Oct 2012 11:02:33 +0000 (13:02 +0200)]
Fixed double-free in libpopen_noshell.

Fixes #3250.

12 years agoMerge branch 'master' of git.icinga.org:icinga2
Michael Friedrich [Mon, 8 Oct 2012 08:33:25 +0000 (10:33 +0200)]
Merge branch 'master' of git.icinga.org:icinga2

Conflicts:
components/compatido/compatidocomponent.cpp

12 years agoCompat IDO: remove more hardcoded values, prepare setting the socket
Michael Friedrich [Mon, 8 Oct 2012 08:26:07 +0000 (10:26 +0200)]
Compat IDO: remove more hardcoded values, prepare setting the socket

12 years agoWrapped VERSION in #ifndef and moved it to the top of the file.
Gunnar Beutner [Mon, 8 Oct 2012 08:14:43 +0000 (10:14 +0200)]
Wrapped VERSION in #ifndef and moved it to the top of the file.

12 years agoCompat IDO: hardcode program version for now, fixes windoze
Michael Friedrich [Mon, 8 Oct 2012 07:58:28 +0000 (09:58 +0200)]
Compat IDO: hardcode program version for now, fixes windoze

12 years agoConfig: add more example config for an icinga2 localhost (fixes #3256)
Michael Friedrich [Sun, 7 Oct 2012 22:21:56 +0000 (00:21 +0200)]
Config: add more example config for an icinga2 localhost (fixes #3256)

12 years agoCompat IDO: serialize dumps (refs #3257)
Michael Friedrich [Sun, 7 Oct 2012 21:45:55 +0000 (23:45 +0200)]
Compat IDO: serialize dumps (refs #3257)

- dump config once, protect it from status dumps
- send process start to ido2db to allow deletion of inactive objects

12 years agoCompat IDO: update documentation for reconnect_interval (refs #3207)
Michael Friedrich [Sun, 7 Oct 2012 20:24:54 +0000 (22:24 +0200)]
Compat IDO: update documentation for reconnect_interval (refs #3207)

12 years agoCompat IDO: make sending of data serialized (refs #3257), always send hello
Michael Friedrich [Sun, 7 Oct 2012 20:20:54 +0000 (22:20 +0200)]
Compat IDO: make sending of data serialized (refs #3257), always send hello

12 years agoCompat IDO: add reconnect to ido2db, if not connected (refs #3207)
Michael Friedrich [Sun, 7 Oct 2012 19:47:50 +0000 (21:47 +0200)]
Compat IDO: add reconnect to ido2db, if not connected (refs #3207)

12 years agoCompatIDO: cleanup, add more default values with their correct type
Michael Friedrich [Fri, 5 Oct 2012 20:28:06 +0000 (22:28 +0200)]
CompatIDO: cleanup, add more default values with their correct type

12 years agoRevert "Fixed build problems on FreeBSD."
Gunnar Beutner [Fri, 5 Oct 2012 11:17:58 +0000 (13:17 +0200)]
Revert "Fixed build problems on FreeBSD."

This reverts commit a6f572071da1b06b2b9035a2acca0299a399b005.

12 years agoContrib: remove the broken config conversion script for now
Michael Friedrich [Fri, 5 Oct 2012 10:47:17 +0000 (12:47 +0200)]
Contrib: remove the broken config conversion script for now

12 years agoFixed build problems on FreeBSD.
Gunnar Beutner [Fri, 5 Oct 2012 09:34:01 +0000 (11:34 +0200)]
Fixed build problems on FreeBSD.

Fixes #3247

12 years agoMerge branch 'master' of git.icinga.org:icinga2
Gunnar Beutner [Fri, 5 Oct 2012 09:30:43 +0000 (11:30 +0200)]
Merge branch 'master' of git.icinga.org:icinga2

12 years agoConfiguration: add windows based sample config file #3233
Michael Friedrich [Thu, 4 Oct 2012 14:00:36 +0000 (16:00 +0200)]
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

12 years agoconfigure.ac: Use $PACKAGE instead of $PACKAGE_NAME.
Gunnar Beutner [Thu, 4 Oct 2012 06:55:05 +0000 (08:55 +0200)]
configure.ac: Use $PACKAGE instead of $PACKAGE_NAME.

12 years agoMoved GPLHeader file to the contrib dir.
Gunnar Beutner [Thu, 4 Oct 2012 06:54:47 +0000 (08:54 +0200)]
Moved GPLHeader file to the contrib dir.

12 years agoCompatIDO: implement first draft of {en,dis}able objects supported in ido2db 1.8...
Michael Friedrich [Tue, 2 Oct 2012 23:25:44 +0000 (01:25 +0200)]
CompatIDO: implement first draft of {en,dis}able objects supported in ido2db 1.8 refs #3157

12 years agodo not include created runtime dirs in make dist*
Michael Friedrich [Tue, 2 Oct 2012 15:57:28 +0000 (17:57 +0200)]
do not include created runtime dirs in make dist*

12 years agoDocumentation: add modeline for vim syntax highlighting to icinga2-config.txt
Michael Friedrich [Tue, 2 Oct 2012 15:47:13 +0000 (17:47 +0200)]
Documentation: add modeline for vim syntax highlighting to icinga2-config.txt

12 years agoDocumentation: remove icinga2-config.odt
Michael Friedrich [Tue, 2 Oct 2012 13:36:59 +0000 (15:36 +0200)]
Documentation: remove icinga2-config.odt

12 years agoConfiguration: add _path suffix to IcingaApplication attributes "ca" and "cert"
Michael Friedrich [Tue, 2 Oct 2012 13:04:17 +0000 (15:04 +0200)]
Configuration: add _path suffix to IcingaApplication attributes "ca" and "cert"

refs #3222

12 years agoConfiguration: use underscore in attributes, document all using new locations
Michael Friedrich [Tue, 2 Oct 2012 12:44:57 +0000 (14:44 +0200)]
Configuration: use underscore in attributes, document all using new locations

... from #3228

fixes #3222

12 years agoinstall: create all dirs needed by automake install
Michael Friedrich [Tue, 2 Oct 2012 12:44:22 +0000 (14:44 +0200)]
install: create all dirs needed by automake install

refs #3228

12 years agoCompat: default localstatedir mkdir will be $prefix/var/icinga2
Michael Friedrich [Tue, 2 Oct 2012 11:23:35 +0000 (13:23 +0200)]
Compat: default localstatedir mkdir will be $prefix/var/icinga2

12 years agos/component/Component/ in docs
Michael Friedrich [Tue, 2 Oct 2012 09:27:14 +0000 (11:27 +0200)]
s/component/Component/ in docs

12 years agoConfiguration: update type components, add compat(ido) examples and attributes
Michael Friedrich [Tue, 2 Oct 2012 09:23:11 +0000 (11:23 +0200)]
Configuration: update type components, add compat(ido) examples and attributes

refs #3158
refs #2796

12 years agoFixed detection of flex/bison on FreeBSD.
Gunnar Beutner [Tue, 2 Oct 2012 09:17:08 +0000 (11:17 +0200)]
Fixed detection of flex/bison on FreeBSD.

12 years agoFixed loading components when using a custom --libdir.
Gunnar Beutner [Tue, 2 Oct 2012 07:26:17 +0000 (09:26 +0200)]
Fixed loading components when using a custom --libdir.

12 years agoFixed linking against compatido when using --disable-shared.
Gunnar Beutner [Fri, 28 Sep 2012 13:30:42 +0000 (15:30 +0200)]
Fixed linking against compatido when using --disable-shared.

12 years agocompat: add config options: {status,objects}path
Michael Friedrich [Fri, 28 Sep 2012 12:26:01 +0000 (14:26 +0200)]
compat: add config options: {status,objects}path

requires automake target for localstatedir as default, if not set.

refs #2796

12 years agoMerge branch 'master' of git.icinga.org:icinga2
Michael Friedrich [Fri, 28 Sep 2012 11:15:33 +0000 (13:15 +0200)]
Merge branch 'master' of git.icinga.org:icinga2

12 years agoMerge branch 'master' of git.icinga.org:icinga2
Gunnar Beutner [Fri, 28 Sep 2012 11:17:40 +0000 (13:17 +0200)]
Merge branch 'master' of git.icinga.org:icinga2

12 years agoAdded methods for retrieving the installation prefix and local state dir.
Gunnar Beutner [Fri, 28 Sep 2012 11:16:08 +0000 (13:16 +0200)]
Added methods for retrieving the installation prefix and local state dir.

12 years agocompatido: now REALLY make those default config options static
Michael Friedrich [Fri, 28 Sep 2012 11:14:03 +0000 (13:14 +0200)]
compatido: now REALLY make those default config options static

refs #3158