]> granicus.if.org Git - icinga2/log
icinga2
10 years agoBuild fix for Windows.
Gunnar Beutner [Thu, 1 May 2014 09:27:43 +0000 (11:27 +0200)]
Build fix for Windows.

Refs #5788

10 years agoImprove error message when trying to open a config file.
Gerd von Egidy [Tue, 29 Apr 2014 22:23:20 +0000 (00:23 +0200)]
Improve error message when trying to open a config file.

Fixes #5666

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
10 years agoFix how the stdin/stdout fds are set to null during Daemonize().
Gerd von Egidy [Tue, 29 Apr 2014 20:37:42 +0000 (22:37 +0200)]
Fix how the stdin/stdout fds are set to null during Daemonize().

Fixes #5951

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
10 years agoicinga2 init script should start/stop mysql/pgsql.
Michael Friedrich [Tue, 29 Apr 2014 15:26:39 +0000 (17:26 +0200)]
icinga2 init script should start/stop mysql/pgsql.

Fixes #5479

10 years agoUpdate spec file. v0.0.10
Gunnar Beutner [Tue, 29 Apr 2014 13:23:51 +0000 (15:23 +0200)]
Update spec file.

10 years agoUpdate documentation & what's new.
Michael Friedrich [Tue, 29 Apr 2014 12:33:37 +0000 (14:33 +0200)]
Update documentation & what's new.

10 years agoMake sure that WQ threads are started after Daemonize().
Gunnar Beutner [Tue, 29 Apr 2014 11:17:08 +0000 (13:17 +0200)]
Make sure that WQ threads are started after Daemonize().

Fixes #6063

10 years agoChange log level for some messages.
Gunnar Beutner [Tue, 29 Apr 2014 09:01:28 +0000 (11:01 +0200)]
Change log level for some messages.

Fixes #6072

10 years agoRemove superfluous commas in the ITL.
Gunnar Beutner [Tue, 29 Apr 2014 08:44:09 +0000 (10:44 +0200)]
Remove superfluous commas in the ITL.

Fixes #6071

10 years agoRename "optional" attribute to "required" and change the default value.
Gunnar Beutner [Tue, 29 Apr 2014 08:41:32 +0000 (10:41 +0200)]
Rename "optional" attribute to "required" and change the default value.

Fixes #6069

10 years agoMerge branch 'feature/improve-daemon-start-5788' into next
Gunnar Beutner [Tue, 29 Apr 2014 08:34:08 +0000 (10:34 +0200)]
Merge branch 'feature/improve-daemon-start-5788' into next

Fixes #5788

10 years agoFix possible race when the reload-process determines it's parent pid and the true...
Gerd von Egidy [Mon, 28 Apr 2014 22:05:39 +0000 (00:05 +0200)]
Fix possible race when the reload-process determines it's parent pid and the true parent has ended

Now transfers the true parent pid as parameter to --reload-internal.

Refs #5788

10 years agoFix handling of m_RequestRestart in RunEventLoop, improve reload timeout
Gerd von Egidy [Mon, 28 Apr 2014 21:30:56 +0000 (23:30 +0200)]
Fix handling of m_RequestRestart in RunEventLoop, improve reload timeout

Refs #5788

10 years agoFix logging during shutdown procedure.
Gerd von Egidy [Sun, 27 Apr 2014 21:40:37 +0000 (23:40 +0200)]
Fix logging during shutdown procedure.

Refs #5788

10 years agoFork new process from previous daemon on reload.
Gerd von Egidy [Sun, 27 Apr 2014 19:47:25 +0000 (21:47 +0200)]
Fork new process from previous daemon on reload.

The previously planned logic of forking a new daemon from the reload-process didn't work with
systemd: systemd does not allow long-running processes started from within the reload command.

Replaces parameter --reload with --reload-internal which is used when starting the new daemon.

Refs #5788

10 years agoAdd --reload command-line parameter.
Gerd von Egidy [Sun, 13 Apr 2014 22:16:48 +0000 (00:16 +0200)]
Add --reload command-line parameter.

Refs #5788

10 years agoSplit ConfigItem::ActivateItems() into ConfigItem::ValidateItems() and ConfigItem...
Gerd von Egidy [Sun, 13 Apr 2014 19:12:18 +0000 (21:12 +0200)]
Split ConfigItem::ActivateItems() into ConfigItem::ValidateItems() and ConfigItem::ActivateItems().

Also removes the -Z commandline parameter: won't be needed when this feature is done.

Refs #5788

10 years agoImplement the "order" attribute for command arguments.
Gunnar Beutner [Tue, 29 Apr 2014 08:32:06 +0000 (10:32 +0200)]
Implement the "order" attribute for command arguments.

Refs #5933

10 years agoFix the IDO test.
Gunnar Beutner [Mon, 28 Apr 2014 11:15:52 +0000 (13:15 +0200)]
Fix the IDO test.

Refs #5223

10 years agoAdd uptime information to the "icinga" check type.
Gunnar Beutner [Mon, 28 Apr 2014 07:16:27 +0000 (09:16 +0200)]
Add uptime information to the "icinga" check type.

Fixes #6064

10 years agoFix support for StatsOr and StatsAnd.
Gunnar Beutner [Sun, 27 Apr 2014 11:29:18 +0000 (13:29 +0200)]
Fix support for StatsOr and StatsAnd.

Fixes #6062

10 years agoTurn off column headers for Stats queries.
Gunnar Beutner [Sun, 27 Apr 2014 10:05:33 +0000 (12:05 +0200)]
Turn off column headers for Stats queries.

Fixes #6061

10 years agoSet Icinga service to start automatically.
Gunnar Beutner [Sat, 26 Apr 2014 21:22:12 +0000 (23:22 +0200)]
Set Icinga service to start automatically.

Fixes #6050

10 years agoAdd ssh_port parameter for the ssh check command.
Gunnar Beutner [Sat, 26 Apr 2014 16:19:12 +0000 (18:19 +0200)]
Add ssh_port parameter for the ssh check command.

Refs #5933

10 years agoAdd version information to the "icinga" check task.
Gunnar Beutner [Sat, 26 Apr 2014 14:43:38 +0000 (16:43 +0200)]
Add version information to the "icinga" check task.

Refs #4865

10 years agoAdd missing $ sign in a macro.
Gunnar Beutner [Sat, 26 Apr 2014 14:40:30 +0000 (16:40 +0200)]
Add missing $ sign in a macro.

Refs #5933

10 years agoImplement support for optional command arguments.
Gunnar Beutner [Sat, 26 Apr 2014 11:16:08 +0000 (13:16 +0200)]
Implement support for optional command arguments.

Fixes #5933

10 years agoMerge branch 'feature/cluster-5467' into next
Gunnar Beutner [Fri, 25 Apr 2014 13:07:19 +0000 (15:07 +0200)]
Merge branch 'feature/cluster-5467' into next

Fixes #5467

10 years agoImplement loop detection for cluster links.
Gunnar Beutner [Fri, 25 Apr 2014 12:33:45 +0000 (14:33 +0200)]
Implement loop detection for cluster links.

Refs #5467

10 years agoFix incorrect type for notification timestamps.
Gunnar Beutner [Wed, 23 Apr 2014 12:41:07 +0000 (14:41 +0200)]
Fix incorrect type for notification timestamps.

Refs #5467

10 years agoFix deadlock in TlsStream::{Read,Write}.
Gunnar Beutner [Wed, 23 Apr 2014 11:42:59 +0000 (13:42 +0200)]
Fix deadlock in TlsStream::{Read,Write}.

Refs #5467

10 years agoClean up ClusterListener::Supports{Checks,Notifications}.
Gunnar Beutner [Wed, 23 Apr 2014 09:59:15 +0000 (11:59 +0200)]
Clean up ClusterListener::Supports{Checks,Notifications}.

Refs #5467

10 years agoAdd {Host,Service}Group attributes: notes, notes_url, action_url.
Michael Friedrich [Thu, 24 Apr 2014 12:48:57 +0000 (14:48 +0200)]
Add {Host,Service}Group attributes: notes, notes_url, action_url.

Fixes #6057

10 years agoFix duplicate service contacts.
Gunnar Beutner [Wed, 23 Apr 2014 20:41:51 +0000 (22:41 +0200)]
Fix duplicate service contacts.

Fixes #6058

10 years agoFix headers.
Michael Friedrich [Wed, 23 Apr 2014 13:57:58 +0000 (15:57 +0200)]
Fix headers.

10 years agoAdd group assign/ignore rules.
Michael Friedrich [Wed, 23 Apr 2014 10:44:36 +0000 (12:44 +0200)]
Add group assign/ignore rules.

Fixes #5910

10 years agoRevert "Add group apply (creates object only once and sets membership)."
Michael Friedrich [Wed, 23 Apr 2014 08:35:10 +0000 (10:35 +0200)]
Revert "Add group apply (creates object only once and sets membership)."

This reverts commit 559a4fef677a2075ac53e52b795a717c61fafefc.

Refs #5910

10 years agoAdd apply ping{4,6} to generic-host example config again.
Michael Friedrich [Wed, 23 Apr 2014 12:58:44 +0000 (14:58 +0200)]
Add apply ping{4,6} to generic-host example config again.

Fixes #6056

10 years agoDB IDO: Add missing dependency attributes.
Michael Friedrich [Wed, 23 Apr 2014 08:33:30 +0000 (10:33 +0200)]
DB IDO: Add missing dependency attributes.

Fixes #5745

10 years agoUse fewer threads by default.
Gunnar Beutner [Tue, 22 Apr 2014 17:47:19 +0000 (19:47 +0200)]
Use fewer threads by default.

Refs #6053

10 years agoProperly deal with exceptions in CheckerComponent::ExecuteCheckHelper.
Gunnar Beutner [Tue, 22 Apr 2014 17:02:45 +0000 (19:02 +0200)]
Properly deal with exceptions in CheckerComponent::ExecuteCheckHelper.

Refs #4865

10 years agoDrop unused statusmap_image & coords attributes entirely.
Michael Friedrich [Tue, 22 Apr 2014 11:48:06 +0000 (13:48 +0200)]
Drop unused statusmap_image & coords attributes entirely.

Fixes #6044

10 years agoRevert "Add statusmap_image and coords host attributes."
Michael Friedrich [Tue, 22 Apr 2014 10:09:24 +0000 (12:09 +0200)]
Revert "Add statusmap_image and coords host attributes."

This reverts commit 252980a6bdb9a47c1828b2a34a3738e5fa82fe51.

Refs #6044

10 years agoMake the debug log less spammy.
Gunnar Beutner [Tue, 22 Apr 2014 05:47:10 +0000 (07:47 +0200)]
Make the debug log less spammy.

Refs #4865

10 years agoBuild fix for OS X.
Gunnar Beutner [Tue, 22 Apr 2014 05:13:16 +0000 (07:13 +0200)]
Build fix for OS X.

10 years agoImplement support for environment variables on Windows.
Gunnar Beutner [Mon, 21 Apr 2014 18:15:03 +0000 (20:15 +0200)]
Implement support for environment variables on Windows.

Fixes #6049

10 years agoImplement Windows support for the Process class.
Gunnar Beutner [Mon, 21 Apr 2014 12:39:35 +0000 (14:39 +0200)]
Implement Windows support for the Process class.

Fixes #3684

10 years agoMake print_number work for non-finite numbers again.
Gunnar Beutner [Sun, 20 Apr 2014 17:21:55 +0000 (19:21 +0200)]
Make print_number work for non-finite numbers again.

Refs #4865

10 years agoMake print_number work for negative numbers again.
Gunnar Beutner [Sun, 20 Apr 2014 17:06:54 +0000 (19:06 +0200)]
Make print_number work for negative numbers again.

Refs #4865

10 years agoFix buffer overflow in print_number().
Gunnar Beutner [Sun, 20 Apr 2014 16:30:24 +0000 (18:30 +0200)]
Fix buffer overflow in print_number().

Refs #4865

10 years agoWait until the service has stopped in the uninstaller.
Gunnar Beutner [Sun, 20 Apr 2014 13:47:57 +0000 (15:47 +0200)]
Wait until the service has stopped in the uninstaller.

Refs #4865

10 years agoStop the Icinga service before uninstalling the files.
Gunnar Beutner [Sun, 20 Apr 2014 13:35:51 +0000 (15:35 +0200)]
Stop the Icinga service before uninstalling the files.

Refs #4865

10 years agoBuild fix for Clang >= 3.4.
Gunnar Beutner [Sun, 20 Apr 2014 12:09:01 +0000 (14:09 +0200)]
Build fix for Clang >= 3.4.

Fixes #5360

10 years agoRemove debug output for CPack.
Gunnar Beutner [Sun, 20 Apr 2014 12:06:09 +0000 (14:06 +0200)]
Remove debug output for CPack.

Refs #4865

10 years agoMake sure the installer doesn't overwrite config files.
Gunnar Beutner [Sun, 20 Apr 2014 09:22:15 +0000 (11:22 +0200)]
Make sure the installer doesn't overwrite config files.

Refs #4865

10 years agoFix incorrect #endif in icinga-app.cpp.
Gunnar Beutner [Sun, 20 Apr 2014 05:22:04 +0000 (07:22 +0200)]
Fix incorrect #endif in icinga-app.cpp.

Refs #4865

10 years agoFix crash in Timer::AdjustTimers.
Gunnar Beutner [Sun, 20 Apr 2014 05:21:38 +0000 (07:21 +0200)]
Fix crash in Timer::AdjustTimers.

Refs #4865

10 years agoFix OpenSSL path.
Gunnar Beutner [Sat, 19 Apr 2014 10:25:33 +0000 (12:25 +0200)]
Fix OpenSSL path.

Refs #4865

10 years agoAdd OpenSSL libs to the Windows installer package.
Gunnar Beutner [Sat, 19 Apr 2014 08:45:50 +0000 (10:45 +0200)]
Add OpenSSL libs to the Windows installer package.

Refs #4865

10 years agoInstall runtime libraries in sbin on Windows.
Gunnar Beutner [Sat, 19 Apr 2014 00:05:54 +0000 (02:05 +0200)]
Install runtime libraries in sbin on Windows.

Refs #4865

10 years agoAdd include for InstallRequiredSystemLibraries.
Gunnar Beutner [Fri, 18 Apr 2014 23:54:56 +0000 (01:54 +0200)]
Add include for InstallRequiredSystemLibraries.

Refs #4865

10 years agoUpdate manifest for the agent setup wizard.
Gunnar Beutner [Fri, 18 Apr 2014 19:16:26 +0000 (21:16 +0200)]
Update manifest for the agent setup wizard.

Refs #4865

10 years agoFix pkg data dir for Windows.
Gunnar Beutner [Fri, 18 Apr 2014 14:21:31 +0000 (16:21 +0200)]
Fix pkg data dir for Windows.

Refs #4865

10 years agoUse the right path prefix for Windows.
Gunnar Beutner [Fri, 18 Apr 2014 14:15:34 +0000 (16:15 +0200)]
Use the right path prefix for Windows.

Refs #4865

10 years agoAdd missing files for the Windows installer.
Gunnar Beutner [Fri, 18 Apr 2014 12:44:07 +0000 (14:44 +0200)]
Add missing files for the Windows installer.

Refs #4865

10 years agoAnother attempt at fixing the VS project file.
Gunnar Beutner [Fri, 18 Apr 2014 12:35:32 +0000 (14:35 +0200)]
Another attempt at fixing the VS project file.

Refs #4865

10 years agoFix project settings (again).
Gunnar Beutner [Fri, 18 Apr 2014 12:11:47 +0000 (14:11 +0200)]
Fix project settings (again).

Refs #4865

10 years agoFix VS project file.
Gunnar Beutner [Fri, 18 Apr 2014 11:49:40 +0000 (13:49 +0200)]
Fix VS project file.

Refs #4865

10 years agoFix the binary path for the agent wizard.
Gunnar Beutner [Fri, 18 Apr 2014 11:09:38 +0000 (13:09 +0200)]
Fix the binary path for the agent wizard.

Refs #4865

10 years agoFix project type for the Icinga2SetupAgent project.
Gunnar Beutner [Fri, 18 Apr 2014 10:46:11 +0000 (12:46 +0200)]
Fix project type for the Icinga2SetupAgent project.

Refs #4865

10 years agoAdd agent setup wizard for Windows.
Gunnar Beutner [Fri, 18 Apr 2014 10:39:50 +0000 (12:39 +0200)]
Add agent setup wizard for Windows.

Refs #4865

10 years agoFix NSIS installer and Windows service.
Gunnar Beutner [Fri, 18 Apr 2014 10:14:21 +0000 (12:14 +0200)]
Fix NSIS installer and Windows service.

Refs #4865

10 years agoDocumentation: Add a note on unsupported non-persistent comments.
Michael Friedrich [Thu, 17 Apr 2014 15:51:13 +0000 (17:51 +0200)]
Documentation: Add a note on unsupported non-persistent comments.

Refs #5295

10 years agoResolve runtime macros recursively in *_url, notes similar to vars.
Michael Friedrich [Thu, 17 Apr 2014 15:38:02 +0000 (17:38 +0200)]
Resolve runtime macros recursively in *_url, notes similar to vars.

Fixes #6014

10 years agoAdd statusmap_image and coords host attributes.
Michael Friedrich [Thu, 17 Apr 2014 14:48:59 +0000 (16:48 +0200)]
Add statusmap_image and coords host attributes.

They are as important as action_url, etc.

coords is made a dictionary consisting of x_2d and y_2d as keys.

Fixes #6044

10 years agoAdd CompatUtility::GetModifiedAttributesList() for Livestatus.
Michael Friedrich [Thu, 17 Apr 2014 14:01:44 +0000 (16:01 +0200)]
Add CompatUtility::GetModifiedAttributesList() for Livestatus.

Fixes #6042

10 years agoAdd modified attributes for user and command vars.
Michael Friedrich [Thu, 17 Apr 2014 13:20:28 +0000 (15:20 +0200)]
Add modified attributes for user and command vars.

Fixes #6043

10 years agoUse legacy attribute getters in interfaces.
Michael Friedrich [Thu, 17 Apr 2014 11:49:45 +0000 (13:49 +0200)]
Use legacy attribute getters in interfaces.

Fixes #6041

10 years agoRun the Windows Service as NT AUTHORITY\NetworkService.
Gunnar Beutner [Thu, 17 Apr 2014 11:46:21 +0000 (13:46 +0200)]
Run the Windows Service as NT AUTHORITY\NetworkService.

Refs #4865

10 years agoDocumentation: Update object attributes.
Michael Friedrich [Thu, 17 Apr 2014 09:59:11 +0000 (11:59 +0200)]
Documentation: Update object attributes.

Fixes #6009

10 years agoAdd global Enable{Host,Service}Checks. Update interfaces and external commands.
Michael Friedrich [Thu, 17 Apr 2014 09:29:47 +0000 (11:29 +0200)]
Add global Enable{Host,Service}Checks. Update interfaces and external commands.

Fixes #6037
Fixes #5975

10 years agoRevert "Use full Git version tag for the MSI package."
Gunnar Beutner [Wed, 16 Apr 2014 18:26:02 +0000 (20:26 +0200)]
Revert "Use full Git version tag for the MSI package."

This reverts commit 03750951c2572ee0f48e0b622c1a0e1762509821.

10 years agoAdd icon for the Windows installer.
Gunnar Beutner [Wed, 16 Apr 2014 17:54:18 +0000 (19:54 +0200)]
Add icon for the Windows installer.

Refs #4865

10 years agoAdd icon and version info resource for the Icinga binary.
Gunnar Beutner [Wed, 16 Apr 2014 17:04:57 +0000 (19:04 +0200)]
Add icon and version info resource for the Icinga binary.

Refs #4865

10 years agoMerge branch 'feature/cv-mod-attr-5956' into next
Michael Friedrich [Wed, 16 Apr 2014 15:53:47 +0000 (17:53 +0200)]
Merge branch 'feature/cv-mod-attr-5956' into next

Fixes #5956
Fixes #5962
Fixes #5609

10 years agoFix custom var override.
Michael Friedrich [Wed, 16 Apr 2014 15:48:33 +0000 (17:48 +0200)]
Fix custom var override.

Refs #5956
Refs #5962

10 years agoUpdate documentation for external commands.
Michael Friedrich [Wed, 16 Apr 2014 14:47:25 +0000 (16:47 +0200)]
Update documentation for external commands.

Refs #5956
Refs #5609

10 years agoAdd modified attributes for vars dictionary.
Michael Friedrich [Tue, 15 Apr 2014 15:33:56 +0000 (17:33 +0200)]
Add modified attributes for vars dictionary.

- new external commands
- raw values for 'vars'
- OnVarsChanged() signal for db_ido customvariablestatus updates
- refactor db_ido customvariable config updates

Refs #5956
Refs #5962

10 years agoGNU C++ pthread compiler option for AIX.
Carlos Cesario [Wed, 16 Apr 2014 13:08:47 +0000 (10:08 -0300)]
GNU C++ pthread compiler option for AIX.

Ref. https://www.ibm.com/developerworks/aix/library/au-gnu.html

Fixes #5999

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
10 years agoBuild fix.
Gunnar Beutner [Wed, 16 Apr 2014 13:05:50 +0000 (15:05 +0200)]
Build fix.

Refs #4865

10 years agoUse full Git version tag for the MSI package.
Gunnar Beutner [Wed, 16 Apr 2014 13:01:53 +0000 (15:01 +0200)]
Use full Git version tag for the MSI package.

Refs #4865

10 years agoAdd missing ::Stop calls.
Gunnar Beutner [Wed, 16 Apr 2014 13:01:31 +0000 (15:01 +0200)]
Add missing ::Stop calls.

Refs #4865

10 years agoAllow running Icinga 2 as a Windows service.
Gunnar Beutner [Wed, 16 Apr 2014 13:01:15 +0000 (15:01 +0200)]
Allow running Icinga 2 as a Windows service.

Refs #4865

10 years agoBuild fix for Windows.
Gunnar Beutner [Wed, 16 Apr 2014 09:13:55 +0000 (11:13 +0200)]
Build fix for Windows.

10 years agoImplement CLR-based checks.
Gunnar Beutner [Wed, 16 Apr 2014 08:39:13 +0000 (10:39 +0200)]
Implement CLR-based checks.

10 years agoFix failed agent checks after restarts.
Gunnar Beutner [Tue, 15 Apr 2014 13:56:41 +0000 (15:56 +0200)]
Fix failed agent checks after restarts.

Refs #4865

10 years agoFix copyright.
Michael Friedrich [Tue, 15 Apr 2014 13:03:56 +0000 (15:03 +0200)]
Fix copyright.

10 years agoFix icinga2-list-agents.
Gunnar Beutner [Tue, 15 Apr 2014 13:03:30 +0000 (15:03 +0200)]
Fix icinga2-list-agents.

Refs #6008

10 years agoAdd group apply (creates object only once and sets membership).
Michael Friedrich [Tue, 15 Apr 2014 11:45:44 +0000 (13:45 +0200)]
Add group apply (creates object only once and sets membership).

Refs #5910

10 years agoFix incorrect variable name in the auto-discovery script.
Gunnar Beutner [Tue, 15 Apr 2014 12:33:19 +0000 (14:33 +0200)]
Fix incorrect variable name in the auto-discovery script.

Refs #6008