]> granicus.if.org Git - icinga2/log
icinga2
11 years agoImplement the external commands "SCHEDULE_FORCED_HOST_SVC_CHECKS" and "SCHEDULE_HOST_...
Gunnar Beutner [Wed, 23 Jan 2013 09:42:16 +0000 (10:42 +0100)]
Implement the external commands "SCHEDULE_FORCED_HOST_SVC_CHECKS" and "SCHEDULE_HOST_SVC_CHECKS".

11 years agoThrow exception for missing types.
Gunnar Beutner [Wed, 23 Jan 2013 09:41:38 +0000 (10:41 +0100)]
Throw exception for missing types.

11 years agoReuse pipe inode if it already exists.
Gunnar Beutner [Wed, 23 Jan 2013 09:18:23 +0000 (10:18 +0100)]
Reuse pipe inode if it already exists.

Fixes #3552

11 years agoProperly deal with I/O errors when parsing config files.
Gunnar Beutner [Wed, 23 Jan 2013 08:57:06 +0000 (09:57 +0100)]
Properly deal with I/O errors when parsing config files.

Fixes #3152

11 years agoImplement --enable-debug configure option.
Gunnar Beutner [Wed, 23 Jan 2013 08:45:25 +0000 (09:45 +0100)]
Implement --enable-debug configure option.

Fixes #3254

11 years agoImplemented external command "SHUTDOWN_PROGRAM".
Gunnar Beutner [Tue, 22 Jan 2013 15:23:25 +0000 (16:23 +0100)]
Implemented external command "SHUTDOWN_PROGRAM".

11 years agoRemoved enable_checks option from documentation.
Gunnar Beutner [Tue, 22 Jan 2013 15:22:57 +0000 (16:22 +0100)]
Removed enable_checks option from documentation.

11 years agoImplement enable_checks property for services.
Gunnar Beutner [Tue, 22 Jan 2013 15:01:08 +0000 (16:01 +0100)]
Implement enable_checks property for services.

Fixes #3550

11 years agoExternalCommand: use exceptions instead of return values.
Gunnar Beutner [Tue, 22 Jan 2013 14:13:51 +0000 (15:13 +0100)]
ExternalCommand: use exceptions instead of return values.

Fixes #3549

11 years agoImplemented the external commands SCHEDULE_SVC_CHECK and SCHEDULE_FORCED_SVC_CHECK.
Gunnar Beutner [Tue, 22 Jan 2013 11:56:29 +0000 (12:56 +0100)]
Implemented the external commands SCHEDULE_SVC_CHECK and SCHEDULE_FORCED_SVC_CHECK.

11 years agoImplement property change handler for next_check.
Gunnar Beutner [Tue, 22 Jan 2013 11:44:23 +0000 (12:44 +0100)]
Implement property change handler for next_check.

Fixes #3547

11 years agoPass through timestamps to external command handlers.
Gunnar Beutner [Tue, 22 Jan 2013 11:39:33 +0000 (12:39 +0100)]
Pass through timestamps to external command handlers.

11 years agoImplemented the PROCESS_SERVICE_CHECK_RESULT external command.
Gunnar Beutner [Tue, 22 Jan 2013 11:05:36 +0000 (12:05 +0100)]
Implemented the PROCESS_SERVICE_CHECK_RESULT external command.

11 years agoFixed invalid cast in Service::BeginExecuteCheck().
Gunnar Beutner [Tue, 22 Jan 2013 10:11:11 +0000 (11:11 +0100)]
Fixed invalid cast in Service::BeginExecuteCheck().

11 years agoMove service check code into the Service class.
Gunnar Beutner [Tue, 22 Jan 2013 10:07:09 +0000 (11:07 +0100)]
Move service check code into the Service class.

Fixes #3546

11 years agoImplement support for anonymous multicast messages.
Gunnar Beutner [Tue, 22 Jan 2013 09:14:52 +0000 (10:14 +0100)]
Implement support for anonymous multicast messages.

Fixes #3545

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*