]>
granicus.if.org Git - icinga2/log
Gunnar Beutner [Tue, 19 Jan 2016 15:43:46 +0000 (16:43 +0100)]
Only build leak detection code when I2_LEAK_DEBUG is set
refs #10963
Gunnar Beutner [Tue, 19 Jan 2016 15:24:12 +0000 (16:24 +0100)]
Check the certificate name when reconnecting to an instance
refs #10963
Gunnar Beutner [Tue, 19 Jan 2016 14:25:44 +0000 (15:25 +0100)]
Decrease memory usage for the Object class
refs #10963
Gunnar Beutner [Tue, 19 Jan 2016 14:24:17 +0000 (15:24 +0100)]
Improve debug support for analyzing memory leaks
refs #10963
Jean Flach [Fri, 15 Jan 2016 09:11:52 +0000 (10:11 +0100)]
Plug two memory leaks
refs #10963
Jean Flach [Fri, 18 Dec 2015 15:03:57 +0000 (16:03 +0100)]
Replace boost-base64 with an openssl implementation
Also add unit tests
fixes #10714
Gunnar Beutner [Tue, 23 Feb 2016 07:41:48 +0000 (08:41 +0100)]
Fix: "node setup" tries to chown() files before they're created
fixes #11204
Gunnar Beutner [Tue, 23 Feb 2016 07:42:46 +0000 (08:42 +0100)]
Update AUTHORS
refs #11178
Stefan Triep [Wed, 17 Feb 2016 19:42:14 +0000 (20:42 +0100)]
Documentation: Fix escaping the pipe character in tables
fixes #11178
Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
Gunnar Beutner [Mon, 22 Feb 2016 07:12:35 +0000 (08:12 +0100)]
Build fix for CentOS 5
fixes #11179
Gunnar Beutner [Tue, 16 Feb 2016 12:30:55 +0000 (13:30 +0100)]
Rename the IOTHREADS macro
refs #11014
Thomas Widhalm [Sat, 5 Dec 2015 19:37:23 +0000 (20:37 +0100)]
Add check_iostat to ITL
fixes #10777
Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>
Per von Zweigbergk [Sat, 31 Oct 2015 13:47:36 +0000 (14:47 +0100)]
Fixed precision for percentage calculations with large units
The check_memory and check_swap plugins on Windows were incorrectly
rounding the memory/swap measurements to the nearest unit prior to
calculating a percentage. This was causing imprecise percentage
values when the unit selected meant that the values in question had
few significant figures.
fixes #10497
Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>
Jean Flach [Fri, 12 Feb 2016 12:15:23 +0000 (13:15 +0100)]
Document disk_ignore_reserved
fixes #11138
Jean Flach [Fri, 12 Feb 2016 09:22:15 +0000 (10:22 +0100)]
Add -f option to check_disk CheckCommand
fixes #11138
Gunnar Beutner [Mon, 22 Feb 2016 07:05:23 +0000 (08:05 +0100)]
Update AUTHORS
refs #10777
refs #11132
Adam James [Tue, 9 Feb 2016 18:04:37 +0000 (18:04 +0000)]
Fix parsing of YYYY-MM-DD in LegacyTimePeriod::ParseTimeSpec
fixes #11132
Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>
Michael Friedrich [Mon, 22 Feb 2016 19:23:18 +0000 (20:23 +0100)]
DB IDO: PArtially revert change for *group_members
Otherwise the index breaks.
refs #11103
Michael Friedrich [Mon, 8 Feb 2016 10:05:27 +0000 (11:05 +0100)]
DB IDO: Fix problem with hostgroup_members cleanup
fixes #11103
Gunnar Beutner [Tue, 9 Feb 2016 11:46:11 +0000 (12:46 +0100)]
Fix: Cluster WQ thread dies after fork()
fixes #11118
Michael Friedrich [Fri, 12 Feb 2016 13:11:50 +0000 (14:11 +0100)]
ApiListener: Bail out if object could not be created during config sync
refs #11006
Gunnar Beutner [Tue, 9 Feb 2016 08:13:43 +0000 (09:13 +0100)]
Fix crash in ApiListener::ConfigUpdateObjectAPIHandler
fixes #11006
Jean Flach [Mon, 8 Feb 2016 16:10:12 +0000 (17:10 +0100)]
Remove unused variables
fixes #11111
Jean Flach [Mon, 8 Feb 2016 15:04:41 +0000 (16:04 +0100)]
Make schedule-downtime default fixed
fixes #10923
Michael Friedrich [Fri, 5 Feb 2016 11:37:00 +0000 (12:37 +0100)]
Fix: Deleting an object via API does not disable it in DB IDO
fixes #11065
Gunnar Beutner [Tue, 9 Feb 2016 12:56:17 +0000 (13:56 +0100)]
Build fix
fixes #11096
Michael Friedrich [Thu, 4 Feb 2016 22:15:48 +0000 (23:15 +0100)]
Windows build fix
fixes #11096
Tobias Birnbaum [Wed, 3 Feb 2016 02:33:08 +0000 (18:33 -0800)]
Fix missing escaping in doc/7-icinga-template-library.md
There are several not properly escaped sequences in
doc/7-icinga-template-library.md
Namely these are missing backslashes in front of \n, \r, \t in various
occurrences. The make for example markup->latex conversion using pandoc
impossible.
fixes #11074
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
Michael Friedrich [Thu, 4 Feb 2016 21:46:44 +0000 (22:46 +0100)]
Update AUTHORS
refs #11074
refs #11075
Tobias Birnbaum [Wed, 3 Feb 2016 02:41:34 +0000 (18:41 -0800)]
Docs: Fix outdated link to icingaweb2-module-nagvis
The link to icingaweb2-module-nagvis is pointing to an outdated
repository. This is fixed now by using the official Icinga-git
repository.
fixes #11075
Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
Michael Friedrich [Thu, 4 Feb 2016 21:40:01 +0000 (22:40 +0100)]
Fix: API queries on non-existant objects cause exception
fixes #11088
Gunnar Beutner [Wed, 3 Feb 2016 11:56:54 +0000 (12:56 +0100)]
Fix memory leak in Stream::Close
refs #10655
Gunnar Beutner [Wed, 3 Feb 2016 08:54:31 +0000 (09:54 +0100)]
Fix memory/thread leak in the HttpServerConnection class
fixes #10655
Gunnar Beutner [Wed, 13 Jan 2016 09:30:38 +0000 (10:30 +0100)]
Ensure that HttpServerConnections are properly closed
fixes #10655
Gunnar Beutner [Thu, 4 Feb 2016 12:17:37 +0000 (13:17 +0100)]
Fix crash in ConfigItem::RunWithActivationContext
fixes #11085
Gunnar Beutner [Mon, 8 Feb 2016 12:15:24 +0000 (13:15 +0100)]
Make sure the "syncing" attribute is set to false
refs #11083
Michael Friedrich [Thu, 4 Feb 2016 10:30:27 +0000 (11:30 +0100)]
Ensure that config sync updates are always sent on reconnect
fixes #11083
Michael Friedrich [Tue, 26 Jan 2016 14:59:29 +0000 (15:59 +0100)]
Implement String#trim
fixes #11037
Michael Friedrich [Tue, 26 Jan 2016 14:16:59 +0000 (15:16 +0100)]
Fix incorrect --version information
fixes #10784
Gunnar Beutner [Tue, 2 Feb 2016 12:51:17 +0000 (13:51 +0100)]
Improve performance for TlsStream::OnEvent
refs #11014
Gunnar Beutner [Tue, 2 Feb 2016 11:03:12 +0000 (12:03 +0100)]
Fix crash in IdoCheckTask::ScriptFunc
refs #11014
Gunnar Beutner [Tue, 2 Feb 2016 10:17:33 +0000 (11:17 +0100)]
Use multiple threads for socket IO
refs #11014
Gunnar Beutner [Tue, 2 Feb 2016 08:54:31 +0000 (09:54 +0100)]
Remove debug log message
refs #11014
Gunnar Beutner [Tue, 2 Feb 2016 08:52:23 +0000 (09:52 +0100)]
Avoid unnecessary pollfd updates
refs #11014
Gunnar Beutner [Tue, 2 Feb 2016 07:28:54 +0000 (08:28 +0100)]
Increase the buffer size in TlsStream::OnEvent to avoid unnecessary poll() calls
refs #11014
Gunnar Beutner [Mon, 1 Feb 2016 13:50:18 +0000 (14:50 +0100)]
Fix deadlock in HttpClientConnection::DataAvailableHandler
refs #11014
Gunnar Beutner [Mon, 1 Feb 2016 11:58:42 +0000 (12:58 +0100)]
Fix incorrect memcpy() with overlapping buffers
refs #11014
Gunnar Beutner [Mon, 1 Feb 2016 10:25:34 +0000 (11:25 +0100)]
Fix incorrect method call in JsonRpcConnection::MessageHandler
refs #11014
Gunnar Beutner [Mon, 1 Feb 2016 08:33:33 +0000 (09:33 +0100)]
Avoid unnecessary new/deletes
refs #11014
Gunnar Beutner [Mon, 1 Feb 2016 07:35:55 +0000 (08:35 +0100)]
Fix deadlock in {HttpServerConnection,JsonRpcConnection}::DataAvailableHandler
refs #11014
Michael Friedrich [Fri, 29 Jan 2016 13:09:50 +0000 (14:09 +0100)]
Remove debug output, part 2
refs #11014
Michael Friedrich [Fri, 29 Jan 2016 13:03:58 +0000 (14:03 +0100)]
Remove debug output
refs #11014
Gunnar Beutner [Thu, 28 Jan 2016 12:09:17 +0000 (13:09 +0100)]
Avoid unnecessary reallocs in FIFO::Optimize
refs #11014
Gunnar Beutner [Thu, 28 Jan 2016 12:07:09 +0000 (13:07 +0100)]
Avoid unnecessary dictionary lookups in SocketEvents::ThreadProc
refs #11014
Gunnar Beutner [Thu, 28 Jan 2016 11:23:07 +0000 (12:23 +0100)]
Remove debug output
refs #11014
Gunnar Beutner [Thu, 28 Jan 2016 10:55:31 +0000 (11:55 +0100)]
Avoid unnecessary wake-ups in SocketEvents::ChangeEvents (part 2)
refs #11014
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
Gunnar Beutner [Wed, 27 Jan 2016 15:43:23 +0000 (16:43 +0100)]
Decode cluster messages in the WorkQueue threads
refs #11014
Gunnar Beutner [Wed, 27 Jan 2016 14:45:58 +0000 (15:45 +0100)]
Use multiple WorkQueues to process cluster messages
refs #11014
Gunnar Beutner [Wed, 27 Jan 2016 12:39:31 +0000 (13:39 +0100)]
Improve performance for ApiListener::RelayMessageOne
refs #11014
Gunnar Beutner [Wed, 27 Jan 2016 11:18:16 +0000 (12:18 +0100)]
Improve the performance for ApiListener::SyncRelayMessage (part 2)
refs #11014
Gunnar Beutner [Wed, 27 Jan 2016 07:43:20 +0000 (08:43 +0100)]
Improve performance for ApiListener::SyncRelayMessage
refs #11014
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
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
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
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
Michael Friedrich [Mon, 25 Jan 2016 14:21:25 +0000 (15:21 +0100)]
Fix cluster config timestamp again
refs #11014
Michael Friedrich [Mon, 25 Jan 2016 13:25:37 +0000 (14:25 +0100)]
Fix cluster config sync timestamp
refs #11014
Gunnar Beutner [Mon, 25 Jan 2016 09:57:06 +0000 (10:57 +0100)]
Make sure we only have one connection per satellite
refs #11014
Gunnar Beutner [Tue, 26 Jan 2016 09:45:03 +0000 (10:45 +0100)]
Use MkDirP instead of MkDir when syncing zone configs
fixes #10932
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
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
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
Michael Friedrich [Wed, 9 Dec 2015 14:33:31 +0000 (15:33 +0100)]
Documentation: Fix missing SUSE repository for monitoring plugins
fixes #10806
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
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
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
Michael Friedrich [Wed, 25 Nov 2015 12:11:41 +0000 (13:11 +0100)]
Use a work queue for replaying the cluster log
refs #10713
Gunnar Beutner [Mon, 30 Nov 2015 14:31:11 +0000 (15:31 +0100)]
Fix incorrect return value for ApiListener::GetInstance
refs #10711
Michael Friedrich [Tue, 24 Nov 2015 14:25:55 +0000 (15:25 +0100)]
Improve performance for Zone::CanAccessObject
fixes #10711
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
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
Michael Friedrich [Wed, 20 Jan 2016 15:38:31 +0000 (16:38 +0100)]
ExternalCommandListener: Fix crash when reading from socket
refs #10700
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
Jean Flach [Mon, 18 Jan 2016 15:12:59 +0000 (16:12 +0100)]
Fix AUTHORS and .mailmap
A name appears twice
fixes #10981
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
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
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
Michael Friedrich [Wed, 13 Jan 2016 15:48:43 +0000 (16:48 +0100)]
Troubleshooting: Explain how to fetch the executed command
fixes #10964
Gunnar Beutner [Mon, 11 Jan 2016 13:23:16 +0000 (14:23 +0100)]
Fix incorrect is_active queries
fixes #10891
Gunnar Beutner [Mon, 11 Jan 2016 13:28:58 +0000 (14:28 +0100)]
Build fix for Windows
fixes #10824
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>
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>
Michael Friedrich [Fri, 18 Dec 2015 13:33:55 +0000 (14:33 +0100)]
Enhance "setting up check plugins" documentation
fixes #10880
Michael Friedrich [Fri, 18 Dec 2015 10:15:29 +0000 (11:15 +0100)]
Update AUTHORS
refs #10890
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>
Michael Friedrich [Thu, 17 Dec 2015 09:20:41 +0000 (10:20 +0100)]
Fix that "repository add" writes invalid "type" attribute
fixes #10867
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
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
Michael Friedrich [Wed, 16 Dec 2015 14:57:59 +0000 (15:57 +0100)]
Fix failed reload via systemd
fixes #10226