]> granicus.if.org Git - icinga2/log
icinga2
8 years agoFix deadlock in {HttpServerConnection,JsonRpcConnection}::DataAvailableHandler
Gunnar Beutner [Mon, 1 Feb 2016 07:35:55 +0000 (08:35 +0100)]
Fix deadlock in {HttpServerConnection,JsonRpcConnection}::DataAvailableHandler

refs #11014

8 years agoRemove debug output, part 2
Michael Friedrich [Fri, 29 Jan 2016 13:09:50 +0000 (14:09 +0100)]
Remove debug output, part 2

refs #11014

8 years agoRemove debug output
Michael Friedrich [Fri, 29 Jan 2016 13:03:58 +0000 (14:03 +0100)]
Remove debug output

refs #11014

8 years agoAvoid unnecessary reallocs in FIFO::Optimize
Gunnar Beutner [Thu, 28 Jan 2016 12:09:17 +0000 (13:09 +0100)]
Avoid unnecessary reallocs in FIFO::Optimize

refs #11014

8 years agoAvoid unnecessary dictionary lookups in SocketEvents::ThreadProc
Gunnar Beutner [Thu, 28 Jan 2016 12:07:09 +0000 (13:07 +0100)]
Avoid unnecessary dictionary lookups in SocketEvents::ThreadProc

refs #11014

8 years agoRemove debug output
Gunnar Beutner [Thu, 28 Jan 2016 11:23:07 +0000 (12:23 +0100)]
Remove debug output

refs #11014

8 years agoAvoid unnecessary wake-ups in SocketEvents::ChangeEvents (part 2)
Gunnar Beutner [Thu, 28 Jan 2016 10:55:31 +0000 (11:55 +0100)]
Avoid unnecessary wake-ups in SocketEvents::ChangeEvents (part 2)

refs #11014

8 years agoAvoid updating the file descriptor list for poll() unless we really need to
Gunnar Beutner [Thu, 28 Jan 2016 06:19:32 +0000 (07:19 +0100)]
Avoid updating the file descriptor list for poll() unless we really need to

refs #11014

8 years agoDecode cluster messages in the WorkQueue threads
Gunnar Beutner [Wed, 27 Jan 2016 15:43:23 +0000 (16:43 +0100)]
Decode cluster messages in the WorkQueue threads

refs #11014

8 years agoUse multiple WorkQueues to process cluster messages
Gunnar Beutner [Wed, 27 Jan 2016 14:45:58 +0000 (15:45 +0100)]
Use multiple WorkQueues to process cluster messages

refs #11014

8 years agoImprove performance for ApiListener::RelayMessageOne
Gunnar Beutner [Wed, 27 Jan 2016 12:39:31 +0000 (13:39 +0100)]
Improve performance for ApiListener::RelayMessageOne

refs #11014

8 years agoImprove the performance for ApiListener::SyncRelayMessage (part 2)
Gunnar Beutner [Wed, 27 Jan 2016 11:18:16 +0000 (12:18 +0100)]
Improve the performance for ApiListener::SyncRelayMessage (part 2)

refs #11014

8 years agoImprove performance for ApiListener::SyncRelayMessage
Gunnar Beutner [Wed, 27 Jan 2016 07:43:20 +0000 (08:43 +0100)]
Improve performance for ApiListener::SyncRelayMessage

refs #11014

8 years agoIgnore the .timestamp file when determining whether the zone config has changed ...
Gunnar Beutner [Tue, 26 Jan 2016 14:42:54 +0000 (15:42 +0100)]
Ignore the .timestamp file when determining whether the zone config has changed (second attempt)

refs #11014

8 years agoIgnore the .timestamp file when determining whether the zone config has changed
Gunnar Beutner [Tue, 26 Jan 2016 10:32:54 +0000 (11:32 +0100)]
Ignore the .timestamp file when determining whether the zone config has changed

refs #11014

8 years agoMake sure the updated config sync works with old versions of Icinga 2
Gunnar Beutner [Tue, 26 Jan 2016 09:46:27 +0000 (10:46 +0100)]
Make sure the updated config sync works with old versions of Icinga 2

refs #11014

8 years agoMake sure the .timestamp file is synced for config updates
Gunnar Beutner [Tue, 26 Jan 2016 08:04:26 +0000 (09:04 +0100)]
Make sure the .timestamp file is synced for config updates

refs #11014

8 years agoFix cluster config timestamp again
Michael Friedrich [Mon, 25 Jan 2016 14:21:25 +0000 (15:21 +0100)]
Fix cluster config timestamp again

refs #11014

8 years agoFix cluster config sync timestamp
Michael Friedrich [Mon, 25 Jan 2016 13:25:37 +0000 (14:25 +0100)]
Fix cluster config sync timestamp

refs #11014

8 years agoMake sure we only have one connection per satellite
Gunnar Beutner [Mon, 25 Jan 2016 09:57:06 +0000 (10:57 +0100)]
Make sure we only have one connection per satellite

refs #11014

8 years agoUse MkDirP instead of MkDir when syncing zone configs
Gunnar Beutner [Tue, 26 Jan 2016 09:45:03 +0000 (10:45 +0100)]
Use MkDirP instead of MkDir when syncing zone configs

fixes #10932

8 years agoFix mongodb CheckCommand
Claudio Kuenzler [Mon, 18 Jan 2016 14:00:34 +0000 (15:00 +0100)]
Fix mongodb CheckCommand

Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>
fixes #10979

8 years agoAdd timeout to snmpv3 check
Sebastian Brückner [Fri, 27 Nov 2015 13:50:15 +0000 (14:50 +0100)]
Add timeout to snmpv3 check

Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>
fixes #10920

8 years agoReload logs after logrotate across distros
Lee Clemens [Wed, 20 Jan 2016 00:12:00 +0000 (19:12 -0500)]
Reload logs after logrotate across distros

Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>
fixes #10935

8 years agoDocumentation: Fix missing SUSE repository for monitoring plugins
Michael Friedrich [Wed, 9 Dec 2015 14:33:31 +0000 (15:33 +0100)]
Documentation: Fix missing SUSE repository for monitoring plugins

fixes #10806

8 years agoDocumentation: Fix typos in troubleshooting.
Mathieu Lutfy [Wed, 23 Dec 2015 19:30:59 +0000 (14:30 -0500)]
Documentation: Fix typos in troubleshooting.

Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>
fixes #10908

8 years agoOnly execute chcon if selinux is enabled and use full context
Dirk Goetz [Fri, 4 Dec 2015 14:49:36 +0000 (15:49 +0100)]
Only execute chcon if selinux is enabled and use full context

fixes #10773

8 years agoAdded exclude parameter in disk-windows CheckCommand
Eduard Güldner [Thu, 10 Dec 2015 17:01:01 +0000 (18:01 +0100)]
Added exclude parameter in disk-windows CheckCommand

Added missing command parameter in definition for disk-windows CheckCommand
in order to be able to exclude certain drives from being checked.
This parameter was addressed in feature #9201
Further details can be found in feature #10787

Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>
fixes #10787

8 years agoUse a work queue for replaying the cluster log
Michael Friedrich [Wed, 25 Nov 2015 12:11:41 +0000 (13:11 +0100)]
Use a work queue for replaying the cluster log

refs #10713

8 years agoFix incorrect return value for ApiListener::GetInstance
Gunnar Beutner [Mon, 30 Nov 2015 14:31:11 +0000 (15:31 +0100)]
Fix incorrect return value for ApiListener::GetInstance

refs #10711

8 years agoImprove performance for Zone::CanAccessObject
Michael Friedrich [Tue, 24 Nov 2015 14:25:55 +0000 (15:25 +0100)]
Improve performance for Zone::CanAccessObject

fixes #10711

8 years agoDB IDO: Only update 'next_check' column when manually scheduling a check
Michael Friedrich [Fri, 22 Jan 2016 17:42:15 +0000 (18:42 +0100)]
DB IDO: Only update 'next_check' column when manually scheduling a check

Otherwise the changes from #7287 already take care of setting
the proper next check time from inside ProcessCheckResult().

There is no need to use the generic OnNextCheckChanged signal
but instead we're using a new one, locally just for DB IDO.

fixes #11019

8 years agoProperly set the next check time for active and passive checks
Michael Friedrich [Fri, 22 Jan 2016 17:40:14 +0000 (18:40 +0100)]
Properly set the next check time for active and passive checks

fixes #7287
refs #11019

8 years agoExternalCommandListener: Fix crash when reading from socket
Michael Friedrich [Wed, 20 Jan 2016 15:38:31 +0000 (16:38 +0100)]
ExternalCommandListener: Fix crash when reading from socket

refs #10700

8 years agoFix: Modified attributes do not work for the IcingaApplication object w/ external...
Michael Friedrich [Thu, 21 Jan 2016 18:07:54 +0000 (19:07 +0100)]
Fix: Modified attributes do not work for the IcingaApplication object w/ external commands

fixes #10974

8 years agoFix AUTHORS and .mailmap
Jean Flach [Mon, 18 Jan 2016 15:12:59 +0000 (16:12 +0100)]
Fix AUTHORS and .mailmap

A name appears twice

fixes #10981

8 years agoRaise a config error for "Checkable" objects in global zones
Michael Friedrich [Thu, 14 Jan 2016 14:33:28 +0000 (15:33 +0100)]
Raise a config error for "Checkable" objects in global zones

fixes #10807

8 years agodoc/5-advanced-topics: add example how to use custom functions in attributes
Simon Ruderich [Fri, 20 Nov 2015 15:22:28 +0000 (16:22 +0100)]
doc/5-advanced-topics: add example how to use custom functions in attributes

Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>
fixes #10947

8 years agoAdd network.target to unit file
Lee Clemens [Wed, 13 Jan 2016 18:22:27 +0000 (13:22 -0500)]
Add network.target to unit file

Icinga2 fails with 'Cannot bind TCP socket for host',
if other services requiring network.target are not installed.

Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>
fixes #10968

8 years agoTroubleshooting: Explain how to fetch the executed command
Michael Friedrich [Wed, 13 Jan 2016 15:48:43 +0000 (16:48 +0100)]
Troubleshooting: Explain how to fetch the executed command

fixes #10964

8 years agoFix incorrect is_active queries
Gunnar Beutner [Mon, 11 Jan 2016 13:23:16 +0000 (14:23 +0100)]
Fix incorrect is_active queries

fixes #10891

8 years agoBuild fix for Windows
Gunnar Beutner [Mon, 11 Jan 2016 13:28:58 +0000 (14:28 +0100)]
Build fix for Windows

fixes #10824

8 years agoChange B/s unit to B to comply with Nagios plugin spec
Per von Zweigbergk [Thu, 5 Nov 2015 16:27:41 +0000 (17:27 +0100)]
Change B/s unit to B to comply with Nagios plugin spec

Unfortunately B/s is not a valid unit in the Nagios plugin specification. As a bit of a sad workaround, we set the unit to B, which is technically incorrect, but we can't really do much about that without amending the spec...

fixes #10544

Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>
8 years agoFixed invalid quoting for network device names
Per von Zweigbergk [Thu, 5 Nov 2015 16:23:41 +0000 (17:23 +0100)]
Fixed invalid quoting for network device names

Quoting needs to be with single quotes, not double quotes. Also single quotes need to be escaped.

refs #10544

Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>
8 years agoEnhance "setting up check plugins" documentation
Michael Friedrich [Fri, 18 Dec 2015 13:33:55 +0000 (14:33 +0100)]
Enhance "setting up check plugins" documentation

fixes #10880

8 years agoUpdate AUTHORS
Michael Friedrich [Fri, 18 Dec 2015 10:15:29 +0000 (11:15 +0100)]
Update AUTHORS

refs #10890

8 years agoRemove superfluous ifdef
Arnd Hannemann [Fri, 27 Nov 2015 19:44:24 +0000 (20:44 +0100)]
Remove superfluous ifdef

fixes #10890

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
8 years agoFix that "repository add" writes invalid "type" attribute
Michael Friedrich [Thu, 17 Dec 2015 09:20:41 +0000 (10:20 +0100)]
Fix that "repository add" writes invalid "type" attribute

fixes #10867

8 years agoFix crash in DbEvents::RemoveCommentInternal()
Michael Friedrich [Fri, 18 Dec 2015 09:52:04 +0000 (10:52 +0100)]
Fix crash in DbEvents::RemoveCommentInternal()

Missing multiple queries as implemented with RemoveDowntimeInternal().

fixes #10883

8 years agoFix config validation for templates used as object reference name
Michael Friedrich [Thu, 17 Dec 2015 12:46:39 +0000 (13:46 +0100)]
Fix config validation for templates used as object reference name

fixes #10830

8 years agoFix failed reload via systemd
Michael Friedrich [Wed, 16 Dec 2015 14:57:59 +0000 (15:57 +0100)]
Fix failed reload via systemd

fixes #10226

8 years agoFix duplicate key violation for downtimes
Michael Friedrich [Wed, 16 Dec 2015 12:57:29 +0000 (13:57 +0100)]
Fix duplicate key violation for downtimes

refs #10829

8 years agoFix crash in Ido*Connection::InternalExecuteMultipleQueries
Gunnar Beutner [Wed, 16 Dec 2015 10:29:06 +0000 (11:29 +0100)]
Fix crash in Ido*Connection::InternalExecuteMultipleQueries

fixes #10862

8 years agoDon't log IDO statistics when we're not connected
Gunnar Beutner [Thu, 17 Dec 2015 11:05:35 +0000 (12:05 +0100)]
Don't log IDO statistics when we're not connected

refs #10860

8 years agoImplement additional query statistics for DB IDO
Gunnar Beutner [Wed, 16 Dec 2015 07:49:47 +0000 (08:49 +0100)]
Implement additional query statistics for DB IDO

fixes #10860

8 years agoDB IDO: Add a log message when the connection handling is completed
Michael Friedrich [Tue, 15 Dec 2015 15:50:17 +0000 (16:50 +0100)]
DB IDO: Add a log message when the connection handling is completed

fixes #10857

8 years agoImplement support for re-ordering groups of IDO queries
Michael Friedrich [Tue, 15 Dec 2015 14:29:48 +0000 (15:29 +0100)]
Implement support for re-ordering groups of IDO queries

fixes #10855

8 years agoAvoid duplicate config and status updates on startup
Michael Friedrich [Tue, 15 Dec 2015 12:44:58 +0000 (13:44 +0100)]
Avoid duplicate config and status updates on startup

fixes #10765

8 years agoFix DB IDO events for next_check, etc. updates
Michael Friedrich [Thu, 10 Dec 2015 14:24:28 +0000 (15:24 +0100)]
Fix DB IDO events for next_check, etc. updates

refs #10817

8 years agoFix invalid notification_id in DB IDO query
Michael Friedrich [Tue, 15 Dec 2015 10:55:21 +0000 (11:55 +0100)]
Fix invalid notification_id in DB IDO query

fixes #8976

8 years agoChange log level for authoritative zone config includes
Michael Friedrich [Fri, 18 Dec 2015 10:53:56 +0000 (11:53 +0100)]
Change log level for authoritative zone config includes

LogWarning will make users wonder about a problem each time
Icinga 2 starts.

refs #10819

8 years agoFix cluster config sync for (non-)authoritative configs
Michael Friedrich [Fri, 11 Dec 2015 18:54:17 +0000 (19:54 +0100)]
Fix cluster config sync for (non-)authoritative configs

Details: https://dev.icinga.org/issues/10819#note-39

refs #10819

8 years agoAdd more debug logging for api package config sync
Michael Friedrich [Fri, 11 Dec 2015 16:03:07 +0000 (17:03 +0100)]
Add more debug logging for api package config sync

refs #10819

8 years agoFix that cluster config sync ignores zones.d directory from API config packages
Michael Friedrich [Thu, 10 Dec 2015 21:21:29 +0000 (22:21 +0100)]
Fix that cluster config sync ignores zones.d directory from API config packages

fixes #10819

8 years agoFix that relative paths do not work with include_zones
Michael Friedrich [Fri, 11 Dec 2015 15:58:43 +0000 (16:58 +0100)]
Fix that relative paths do not work with include_zones

fixes #10828

8 years agoFix priority ordering for IDO queries
Michael Friedrich [Mon, 14 Dec 2015 10:36:03 +0000 (11:36 +0100)]
Fix priority ordering for IDO queries

fixes #10829
refs #8714

8 years agoClean up the FinishAsyncQueries code a bit
Gunnar Beutner [Mon, 14 Dec 2015 09:33:43 +0000 (10:33 +0100)]
Clean up the FinishAsyncQueries code a bit

refs #8714

8 years agoImplement support for priorities in the WorkQueue class
Gunnar Beutner [Thu, 10 Dec 2015 15:54:43 +0000 (16:54 +0100)]
Implement support for priorities in the WorkQueue class

fixes #8714

8 years agoMake sure that all strings in the IDO database are UTF8-encoded
Gunnar Beutner [Thu, 10 Dec 2015 11:25:46 +0000 (12:25 +0100)]
Make sure that all strings in the IDO database are UTF8-encoded

fixes #10554

8 years agoUpdate docs
Jean Flach [Fri, 20 Nov 2015 15:07:44 +0000 (16:07 +0100)]
Update docs

The semicolon is not required at all.
We also can expect an admin to be capable of fixing the problems
araising from locale problems by himself.

fixes #10460, #10458

8 years agoFix incorrect type name in the documentation
Gunnar Beutner [Thu, 21 Jan 2016 08:06:21 +0000 (09:06 +0100)]
Fix incorrect type name in the documentation

fixes #10998

8 years agoUpdate copyright headers for 2016
Gunnar Beutner [Tue, 12 Jan 2016 07:29:59 +0000 (08:29 +0100)]
Update copyright headers for 2016

8 years agoDocumentation: Fix formatting in "Advanced Filters" chapter
Michael Friedrich [Tue, 15 Dec 2015 13:03:01 +0000 (14:03 +0100)]
Documentation: Fix formatting in "Advanced Filters" chapter

fixes #10852

8 years agoFix build error with older CMake versions on VERSION_LESS compare
Michael Friedrich [Fri, 11 Dec 2015 11:11:09 +0000 (12:11 +0100)]
Fix build error with older CMake versions on VERSION_LESS compare

fixes #10826

8 years agoFix missing documentation for API packages zones.d config sync
Michael Friedrich [Fri, 11 Dec 2015 11:03:31 +0000 (12:03 +0100)]
Fix missing documentation for API packages zones.d config sync

fixes #10825

8 years agoUse NodeName instead of GetFQDN() in embedded checks
Michael Friedrich [Thu, 10 Dec 2015 14:27:49 +0000 (15:27 +0100)]
Use NodeName instead of GetFQDN() in embedded checks

fixes #10818

8 years agoDocumentation: Fix postgresql-setup initdb
Michael Friedrich [Tue, 8 Dec 2015 15:04:02 +0000 (16:04 +0100)]
Documentation: Fix postgresql-setup initdb

fixes #10779

8 years agoAdd CMake flag for disabling the unit tests
Michael Friedrich [Wed, 25 Nov 2015 14:24:04 +0000 (15:24 +0100)]
Add CMake flag for disabling the unit tests

fixes #10660

8 years agoRemove the local zone name question in node wizard
Gunnar Beutner [Mon, 30 Nov 2015 07:25:37 +0000 (08:25 +0100)]
Remove the local zone name question in node wizard

fixes #10724

8 years agoUpdate default port behaviour in node wizard
Jean Flach [Fri, 27 Nov 2015 15:36:37 +0000 (16:36 +0100)]
Update default port behaviour in node wizard

fixes #10728

8 years agoFix missing num_hosts_pending in /v1/status/CIB
Michael Friedrich [Thu, 26 Nov 2015 19:03:46 +0000 (20:03 +0100)]
Fix missing num_hosts_pending in /v1/status/CIB

fixes #10736

8 years agoFix that the hpasm CheckCommand is using the PluginDir constant
Michael Friedrich [Mon, 7 Dec 2015 09:22:22 +0000 (10:22 +0100)]
Fix that the hpasm CheckCommand is using the PluginDir constant

fixes #10780

8 years agoUpdate AUTHORS
Gunnar Beutner [Mon, 30 Nov 2015 07:27:45 +0000 (08:27 +0100)]
Update AUTHORS

refs #10745

8 years agoITL: fix ipmi-sensor variable names
Luca Lesinigo [Sat, 28 Nov 2015 20:56:29 +0000 (21:56 +0100)]
ITL: fix ipmi-sensor variable names

fixes #10745

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
8 years agoDisable --std=c++11 for ancient GCC versions
Gunnar Beutner [Mon, 30 Nov 2015 07:16:39 +0000 (08:16 +0100)]
Disable --std=c++11 for ancient GCC versions

fixes #10744

8 years agoTurn '=>' lambda expressions into side-effect-free statements
Gunnar Beutner [Tue, 1 Dec 2015 15:41:00 +0000 (16:41 +0100)]
Turn '=>' lambda expressions into side-effect-free statements

fixes #10760

8 years agoFix crash on startup with incorrect directory permissions
Michael Friedrich [Tue, 8 Dec 2015 14:12:13 +0000 (15:12 +0100)]
Fix crash on startup with incorrect directory permissions

fixes #10739

8 years agoUpdate the documentation
Gunnar Beutner [Fri, 4 Dec 2015 14:29:07 +0000 (15:29 +0100)]
Update the documentation

8 years agoUpdate AUTHORS
Michael Friedrich [Fri, 4 Dec 2015 09:27:47 +0000 (10:27 +0100)]
Update AUTHORS

refs #10449

8 years agoFix missing path in mkdir() exception
Michael Friedrich [Mon, 30 Nov 2015 09:37:57 +0000 (10:37 +0100)]
Fix missing path in mkdir() exception

fixes #10748

8 years agoFix problem with livestatus filter "type"
Michael Kraus [Wed, 2 Dec 2015 08:55:49 +0000 (09:55 +0100)]
Fix problem with livestatus filter "type"

There was a regression in changeset 3d4e48aa124fd76493fe7ca6584fe6ee541104c5 for issue 10449 that
made the "class" filter work, but broke the "type" filter. Reverting some changes seems to do the
trick.

refs #10449

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
8 years agoLivestatus: Fix "class" filter for log table
Michael Friedrich [Thu, 26 Nov 2015 18:15:54 +0000 (19:15 +0100)]
Livestatus: Fix "class" filter for log table

fixes #10449

8 years agoRelease version 2.4.1 v2.4.1
Gunnar Beutner [Thu, 26 Nov 2015 10:00:12 +0000 (11:00 +0100)]
Release version 2.4.1

8 years agoFix return value in PkiUtility
Jean Flach [Thu, 26 Nov 2015 10:10:55 +0000 (11:10 +0100)]
Fix return value in PkiUtility

refs #10632

8 years agoBuild fix for Windows
Gunnar Beutner [Thu, 26 Nov 2015 10:17:17 +0000 (11:17 +0100)]
Build fix for Windows

refs #10693

8 years agoAdd running_kernel_use_sudo option for the running_kernel check
Gunnar Beutner [Mon, 23 Nov 2015 12:26:42 +0000 (13:26 +0100)]
Add running_kernel_use_sudo option for the running_kernel check

fixes #10693

8 years agoImplement Platform* global variables
Gunnar Beutner [Sun, 22 Nov 2015 11:36:50 +0000 (12:36 +0100)]
Implement Platform* global variables

refs #10693

8 years agoUpdate AUTHORS
Michael Friedrich [Thu, 26 Nov 2015 09:34:35 +0000 (10:34 +0100)]
Update AUTHORS

refs #10528

8 years agoAdd a note for different binary locations to development docs
Michael Friedrich [Thu, 26 Nov 2015 09:33:13 +0000 (10:33 +0100)]
Add a note for different binary locations to development docs

refs #10710

8 years agoUpdate node wizard
Jean Flach [Tue, 24 Nov 2015 16:01:46 +0000 (17:01 +0100)]
Update node wizard

The wizard now displays basic information on the to-be-imported master
certificate and asks the user for confirmation.

fixes #10632