]> granicus.if.org Git - icinga2/log
icinga2
10 years agoDocumentation: Apply new structure.
Michael Friedrich [Sun, 4 May 2014 09:25:12 +0000 (11:25 +0200)]
Documentation: Apply new structure.

Fixes #6115

10 years agoAdd debug log entries for dependencies.
Michael Friedrich [Sat, 3 May 2014 19:02:19 +0000 (21:02 +0200)]
Add debug log entries for dependencies.

Refs #5872

10 years agoDocumentation: Fix notifications for hosts and services.
Michael Friedrich [Sat, 3 May 2014 18:07:37 +0000 (20:07 +0200)]
Documentation: Fix notifications for hosts and services.

Fixes #6114

10 years agoRename Dependency 'state_filter' to 'states'.
Michael Friedrich [Sat, 3 May 2014 17:53:16 +0000 (19:53 +0200)]
Rename Dependency 'state_filter' to 'states'.

Fixes #6113

10 years agoDocs: Fixed some typos.
Wolfgang Nieder [Sat, 3 May 2014 09:14:54 +0000 (11:14 +0200)]
Docs: Fixed some typos.

Signed-off-by: Michael Friedrich <Michael.Friedrich@netways.de>
10 years agoImplement CompatUtility::GetCheckableCommandArgs() for DB IDO, Livestatus, StatusData...
Michael Friedrich [Sat, 3 May 2014 01:18:37 +0000 (03:18 +0200)]
Implement CompatUtility::GetCheckableCommandArgs() for DB IDO, Livestatus, StatusDataWriter.

Fixes #5926

10 years agoImplement summary macros e.g. $icinga.num_services_critical$.
Michael Friedrich [Sat, 3 May 2014 00:06:58 +0000 (02:06 +0200)]
Implement summary macros e.g. $icinga.num_services_critical$.

Additional $icinga.uptime$ macro.

Fixes #2742

10 years agoMerge branch 'feature/db-ido-update-events-6051' into next
Michael Friedrich [Fri, 2 May 2014 22:41:05 +0000 (00:41 +0200)]
Merge branch 'feature/db-ido-update-events-6051' into next

Fixes #6051

10 years agoDB IDO: Update Host/Service state 'scheduled_downtime_depth' on DowntimeTriggered.
Michael Friedrich [Fri, 2 May 2014 22:37:47 +0000 (00:37 +0200)]
DB IDO: Update Host/Service state 'scheduled_downtime_depth' on DowntimeTriggered.

Refs #6051

10 years agoDB IDO: Update Host/Service state 'last_notification' on NotificationSentToAllUsers.
Michael Friedrich [Fri, 2 May 2014 22:16:53 +0000 (00:16 +0200)]
DB IDO: Update Host/Service state 'last_notification' on NotificationSentToAllUsers.

Refs #6051

10 years agoDB IDO: Update Host/Service state 'is_flapping' on FlappingChanged.
Michael Friedrich [Fri, 2 May 2014 21:49:52 +0000 (23:49 +0200)]
DB IDO: Update Host/Service state 'is_flapping' on FlappingChanged.

Refs #6051

10 years agoDB IDO: Update Host/Service state 'next_check' on NextCheckChanged.
Michael Friedrich [Fri, 2 May 2014 21:38:37 +0000 (23:38 +0200)]
DB IDO: Update Host/Service state 'next_check' on NextCheckChanged.

Refs #6051

10 years agoDB IDO: Update Host/Service status on Acknowledgement Add/Clear.
Michael Friedrich [Fri, 2 May 2014 21:17:36 +0000 (23:17 +0200)]
DB IDO: Update Host/Service status on Acknowledgement Add/Clear.

Refs #6051

10 years agoFix exception for Notification objects without checkable object.
Michael Friedrich [Fri, 2 May 2014 17:43:49 +0000 (19:43 +0200)]
Fix exception for Notification objects without checkable object.

Fixes #6111

10 years agoFix state_filter attribute validation for Depdency objects.
Michael Friedrich [Fri, 2 May 2014 17:37:55 +0000 (19:37 +0200)]
Fix state_filter attribute validation for Depdency objects.

Fixes #6110

10 years agoDocumentation: Fix wrong user attribute.
Michael Friedrich [Fri, 2 May 2014 15:48:14 +0000 (17:48 +0200)]
Documentation: Fix wrong user attribute.

10 years agoImport test config for existing issues.
Michael Friedrich [Thu, 1 May 2014 23:03:03 +0000 (01:03 +0200)]
Import test config for existing issues.

10 years agoMerge branch 'fix/apply-req-group-assign-6105' into next
Michael Friedrich [Thu, 1 May 2014 22:58:59 +0000 (00:58 +0200)]
Merge branch 'fix/apply-req-group-assign-6105' into next

Fixes #6105

10 years agoMake AddGroup() unique.
Michael Friedrich [Thu, 1 May 2014 22:38:46 +0000 (00:38 +0200)]
Make AddGroup() unique.

Refs #6105

10 years agoAllow EvaluateRules() to keep rules for the next iteration.
Michael Friedrich [Thu, 1 May 2014 22:23:29 +0000 (00:23 +0200)]
Allow EvaluateRules() to keep rules for the next iteration.

Refs #6105

10 years agoGroup assign requires object.groups update too (for apply rules).
Michael Friedrich [Thu, 1 May 2014 21:53:38 +0000 (23:53 +0200)]
Group assign requires object.groups update too (for apply rules).

Refs #6105

10 years agoAdd AddGroup() for host, service, user objects.
Michael Friedrich [Thu, 1 May 2014 21:53:08 +0000 (23:53 +0200)]
Add AddGroup() for host, service, user objects.

Refs #6105

10 years agoEvaluate object rules (group assign) before and after creating objects with apply...
Michael Friedrich [Thu, 1 May 2014 21:51:42 +0000 (23:51 +0200)]
Evaluate object rules (group assign) before and after creating objects with apply rules.

Refs #6105

10 years agoFix dependency logging for hosts and services.
Michael Friedrich [Thu, 1 May 2014 20:07:35 +0000 (22:07 +0200)]
Fix dependency logging for hosts and services.

Fixes #6104

10 years agoChecker: Fix exception on disabled host checks.
Michael Friedrich [Thu, 1 May 2014 19:57:58 +0000 (21:57 +0200)]
Checker: Fix exception on disabled host checks.

Fixes #6103

10 years agoStatusDataWriter: Fix missing host dependencies.
Michael Friedrich [Thu, 1 May 2014 18:54:09 +0000 (20:54 +0200)]
StatusDataWriter: Fix missing host dependencies.

Fixes #6102

10 years agoMake Application::ReadPidFile work on Windows.
Gunnar Beutner [Thu, 1 May 2014 16:42:36 +0000 (18:42 +0200)]
Make Application::ReadPidFile work on Windows.

Refs #5788

10 years agoMerge branch 'feature/fix-rpm-on-arm-6100' into next
Michael Friedrich [Thu, 1 May 2014 14:41:46 +0000 (16:41 +0200)]
Merge branch 'feature/fix-rpm-on-arm-6100' into next

Fixes #6100

10 years agoDon't distribute COPYING, README,... twice in the icinga2-doc package.
Gerd von Egidy [Thu, 1 May 2014 14:38:25 +0000 (16:38 +0200)]
Don't distribute COPYING, README,... twice in the icinga2-doc package.

Refs #6100

10 years agoAlways install the unprocessed markdown documentation.
Gerd von Egidy [Thu, 1 May 2014 14:19:20 +0000 (16:19 +0200)]
Always install the unprocessed markdown documentation.

Refs #6100

10 years agoDon't require pandoc and sphinx during build because a working pandoc is currently...
Gerd von Egidy [Thu, 1 May 2014 12:30:25 +0000 (14:30 +0200)]
Don't require pandoc and sphinx during build because a working pandoc is currently only available on Fedora x86.

Refs #6100

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