]> granicus.if.org Git - icinga2/log
icinga2
10 years agoModifiedAttributes for Enable* must call signals.
Michael Friedrich [Sat, 10 May 2014 15:24:39 +0000 (17:24 +0200)]
ModifiedAttributes for Enable* must call signals.

Refs #6151
Refs #5219

10 years agoDB IDO: Add Enable* db events.
Michael Friedrich [Sat, 10 May 2014 14:52:48 +0000 (16:52 +0200)]
DB IDO: Add Enable* db events.

Refs #6151

10 years agoAdd OnEnablePerfdataChanged signal.
Michael Friedrich [Sat, 10 May 2014 14:24:58 +0000 (16:24 +0200)]
Add OnEnablePerfdataChanged signal.

Refs #6151

10 years agoDocumentation: Fix HostGroup assign example.
Michael Friedrich [Sat, 10 May 2014 13:56:51 +0000 (15:56 +0200)]
Documentation: Fix HostGroup assign example.

Fixes #6163

10 years agoFix scoping rules for dictionaries.
Gunnar Beutner [Sat, 10 May 2014 10:43:16 +0000 (12:43 +0200)]
Fix scoping rules for dictionaries.

Refs #6183

10 years agoUse a separate scope for "for" loops.
Gunnar Beutner [Sat, 10 May 2014 10:03:54 +0000 (12:03 +0200)]
Use a separate scope for "for" loops.

Refs #6183

10 years agoImplement for loops.
Gunnar Beutner [Sat, 10 May 2014 09:26:56 +0000 (11:26 +0200)]
Implement for loops.

Fixes #6183

10 years agoImplement support for arrays for the indexer operator.
Gunnar Beutner [Sat, 10 May 2014 08:46:49 +0000 (10:46 +0200)]
Implement support for arrays for the indexer operator.

Fixes #6182

10 years agoConfig validator: Make sure that objects are not abstract.
Gunnar Beutner [Fri, 9 May 2014 17:40:56 +0000 (19:40 +0200)]
Config validator: Make sure that objects are not abstract.

Fixes #6148

10 years agoFix an issue where expired Timer pointers caused other timers to be delayed.
Gunnar Beutner [Fri, 9 May 2014 17:26:31 +0000 (19:26 +0200)]
Fix an issue where expired Timer pointers caused other timers to be delayed.

Fixes #6179

10 years agoUpdate Vagrant documentation link.
Gunnar Beutner [Fri, 9 May 2014 13:32:49 +0000 (15:32 +0200)]
Update Vagrant documentation link.

Refs #5795

10 years agoDisable timer unit tests.
Gunnar Beutner [Fri, 9 May 2014 12:48:25 +0000 (14:48 +0200)]
Disable timer unit tests.

Refs #6179

10 years agoFix deadlock when calling functions recursively.
Gunnar Beutner [Fri, 9 May 2014 12:45:59 +0000 (14:45 +0200)]
Fix deadlock when calling functions recursively.

Fixes #6178

10 years agoImplement HA for IDO connections.
Gunnar Beutner [Fri, 9 May 2014 11:02:30 +0000 (13:02 +0200)]
Implement HA for IDO connections.

Refs #6107

10 years agoReimplement load-balancing for checks.
Gunnar Beutner [Fri, 9 May 2014 09:32:24 +0000 (11:32 +0200)]
Reimplement load-balancing for checks.

Refs #6107

10 years agoApply: Inherit zone from parent object.
Gunnar Beutner [Fri, 9 May 2014 08:33:22 +0000 (10:33 +0200)]
Apply: Inherit zone from parent object.

Refs #6107

10 years agoRemove the ZlibStream class and the stream_bio functionality.
Gunnar Beutner [Fri, 9 May 2014 08:23:54 +0000 (10:23 +0200)]
Remove the ZlibStream class and the stream_bio functionality.

Fixes #6119

10 years agoUpdate documentation.
Gunnar Beutner [Fri, 9 May 2014 08:12:37 +0000 (10:12 +0200)]
Update documentation.

Refs #5795

10 years agoRemove Perl dependency for Debian packages.
Michael Friedrich [Thu, 8 May 2014 16:15:39 +0000 (18:15 +0200)]
Remove Perl dependency for Debian packages.

Fixes #6150

10 years agoFix the timer_scope test.
Gunnar Beutner [Thu, 8 May 2014 15:23:26 +0000 (17:23 +0200)]
Fix the timer_scope test.

Refs #6107

10 years agoDon't log repository messages.
Gunnar Beutner [Thu, 8 May 2014 13:46:47 +0000 (15:46 +0200)]
Don't log repository messages.

Refs #6107

10 years agoRemove zone check in ApiEvents::UpdateRepositoryAPIHandler.
Gunnar Beutner [Thu, 8 May 2014 13:27:16 +0000 (15:27 +0200)]
Remove zone check in ApiEvents::UpdateRepositoryAPIHandler.

Refs #6107

10 years agoImplement timeout for anonymous ApiClient objects.
Gunnar Beutner [Thu, 8 May 2014 13:12:56 +0000 (15:12 +0200)]
Implement timeout for anonymous ApiClient objects.

Refs #6107

10 years agoClean up reconnect handler.
Gunnar Beutner [Thu, 8 May 2014 13:00:09 +0000 (15:00 +0200)]
Clean up reconnect handler.

Refs #6107

10 years agoUpdate scripts.
Gunnar Beutner [Thu, 8 May 2014 12:05:36 +0000 (14:05 +0200)]
Update scripts.

Refs #6107

10 years agoDecrease default check intervals.
Gunnar Beutner [Thu, 8 May 2014 11:56:28 +0000 (13:56 +0200)]
Decrease default check intervals.

Refs #6107

10 years agoFix missing variable assignment in Zone::CanAccessObject().
Gunnar Beutner [Thu, 8 May 2014 11:29:53 +0000 (13:29 +0200)]
Fix missing variable assignment in Zone::CanAccessObject().

Refs #6107

10 years agoFix incorrect function name.
Gunnar Beutner [Thu, 8 May 2014 11:15:08 +0000 (13:15 +0200)]
Fix incorrect function name.

Refs #6107

10 years agoImplement aliasing support for "localhost".
Gunnar Beutner [Thu, 8 May 2014 11:08:34 +0000 (13:08 +0200)]
Implement aliasing support for "localhost".

Refs #6107

10 years agoFix permissions for master zones.
Gunnar Beutner [Thu, 8 May 2014 10:36:48 +0000 (12:36 +0200)]
Fix permissions for master zones.

Refs #6107

10 years agoUpdate scripts and example config.
Gunnar Beutner [Thu, 8 May 2014 10:17:21 +0000 (12:17 +0200)]
Update scripts and example config.

Refs #6107

10 years agoUpdate Debian package.
Gunnar Beutner [Thu, 8 May 2014 07:21:45 +0000 (09:21 +0200)]
Update Debian package.

Refs #6107

10 years agoBuild fix for RHEL.
Gunnar Beutner [Thu, 8 May 2014 07:19:38 +0000 (09:19 +0200)]
Build fix for RHEL.

Refs #6107

10 years agoRefactor the agent and cluster components.
Gunnar Beutner [Sat, 3 May 2014 18:02:22 +0000 (20:02 +0200)]
Refactor the agent and cluster components.

Refs #6107

10 years agoRun INITIALIZE_ONCE() after static initializers.
Gunnar Beutner [Sat, 3 May 2014 23:34:53 +0000 (01:34 +0200)]
Run INITIALIZE_ONCE() after static initializers.

Refs #6107

10 years agoImplement support for the "package" keyword.
Gunnar Beutner [Sat, 3 May 2014 18:01:23 +0000 (20:01 +0200)]
Implement support for the "package" keyword.

Refs #6107

10 years agoStatusDataWriter: Fix dependency relations.
Michael Friedrich [Tue, 6 May 2014 14:10:33 +0000 (16:10 +0200)]
StatusDataWriter: Fix dependency relations.

Fixes #6131

10 years agoMigation: Remove migration script from RPM spec.
Markus Frosch [Tue, 6 May 2014 10:35:34 +0000 (12:35 +0200)]
Migation: Remove migration script from RPM spec.

Refs #5821

10 years agoProperly shut down TLS streams.
Gunnar Beutner [Sat, 3 May 2014 17:56:47 +0000 (19:56 +0200)]
Properly shut down TLS streams.

Refs #6107

10 years agoMake sure handles aren't inherited by the child process.
Gunnar Beutner [Sat, 3 May 2014 17:55:46 +0000 (19:55 +0200)]
Make sure handles aren't inherited by the child process.

Refs #6107

10 years agoDocumentation: One more subsections fix.
Michael Friedrich [Sun, 4 May 2014 20:05:44 +0000 (22:05 +0200)]
Documentation: One more subsections fix.

Refs #6115

10 years agoMigration: Remove broken script, update documentation for work-in-progress.
Michael Friedrich [Sun, 4 May 2014 19:59:07 +0000 (21:59 +0200)]
Migration: Remove broken script, update documentation for work-in-progress.

Refs #5821

10 years agoDocumentation: Fix subsections.
Michael Friedrich [Sun, 4 May 2014 19:51:00 +0000 (21:51 +0200)]
Documentation: Fix subsections.

Refs #6115

10 years agoDocumentation: Change order.
Michael Friedrich [Sun, 4 May 2014 16:49:09 +0000 (18:49 +0200)]
Documentation: Change order.

Refs #6115

10 years agoDon't allow "managed" downtimes to be deleted by users.
Michael Friedrich [Sun, 4 May 2014 14:57:11 +0000 (16:57 +0200)]
Don't allow "managed" downtimes to be deleted by users.

Fixes #5980

10 years agoFix string conversion in CompatUtility::GetCheckableCommandArgs().
Michael Friedrich [Sun, 4 May 2014 14:49:24 +0000 (16:49 +0200)]
Fix string conversion in CompatUtility::GetCheckableCommandArgs().

Refs #5926

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