]> granicus.if.org Git - icinga2/log
icinga2
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

8 years agoUse the NodeName constant in 'api setup'
Gunnar Beutner [Thu, 26 Nov 2015 07:09:24 +0000 (08:09 +0100)]
Use the NodeName constant in 'api setup'

fixes #10641

8 years agoHide the --master_zone option in --help because it's not currently implemented
Gunnar Beutner [Wed, 25 Nov 2015 17:58:52 +0000 (18:58 +0100)]
Hide the --master_zone option in --help because it's not currently implemented

fixes #10720

8 years agoUse the ZoneName and NodeName constants for 'node setup' and 'node wizard'
Gunnar Beutner [Wed, 25 Nov 2015 16:41:03 +0000 (17:41 +0100)]
Use the ZoneName and NodeName constants for 'node setup' and 'node wizard'

refs #10716

8 years agoFix master zone name
Jean Flach [Tue, 24 Nov 2015 13:32:07 +0000 (14:32 +0100)]
Fix master zone name

fixes #10716

8 years agoDocumentation: Fix error in Access Object Attributes at Runtime example
Markus Waldmueller [Wed, 4 Nov 2015 10:50:21 +0000 (11:50 +0100)]
Documentation: Fix error in Access Object Attributes at Runtime example

fixes #10528

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
8 years agoFix crash in ConfigItem::ActivateItems
Gunnar Beutner [Mon, 23 Nov 2015 16:25:35 +0000 (17:25 +0100)]
Fix crash in ConfigItem::ActivateItems

refs #10643

8 years agoFix crash in ConfigItem::ActivateItems
Michael Friedrich [Mon, 23 Nov 2015 13:02:33 +0000 (14:02 +0100)]
Fix crash in ConfigItem::ActivateItems

refs #10643

8 years agoFix unit tests for livestatus
Gunnar Beutner [Thu, 19 Nov 2015 19:25:10 +0000 (20:25 +0100)]
Fix unit tests for livestatus

refs #10643

8 years agoFix race condition in the ConfigItem class
Gunnar Beutner [Thu, 19 Nov 2015 18:38:20 +0000 (19:38 +0100)]
Fix race condition in the ConfigItem class

fixes #10643

8 years agoFix possible crash in Icinga 2 Setup Wizard
Jean Flach [Mon, 23 Nov 2015 13:12:25 +0000 (14:12 +0100)]
Fix possible crash in Icinga 2 Setup Wizard

fixes #10708

8 years agoUpdate docs
Jean Flach [Fri, 20 Nov 2015 12:42:13 +0000 (13:42 +0100)]
Update docs

An action was missing two parameters.

fixes #10645

8 years agoFix wrong icinga2 binary in development docs
Michael Friedrich [Mon, 23 Nov 2015 13:37:49 +0000 (14:37 +0100)]
Fix wrong icinga2 binary in development docs

fixes #10710

8 years agoBuild fix for systems where strsignal() returns a const char *
Gunnar Beutner [Tue, 24 Nov 2015 08:20:04 +0000 (09:20 +0100)]
Build fix for systems where strsignal() returns a const char *

8 years agoBuild fix for SLES 11 (with -std=c++11)
Gunnar Beutner [Sat, 21 Nov 2015 03:46:13 +0000 (04:46 +0100)]
Build fix for SLES 11 (with -std=c++11)

fixes #10615

8 years agoUpdate AUTHORS
Gunnar Beutner [Fri, 20 Nov 2015 15:12:56 +0000 (16:12 +0100)]
Update AUTHORS

refs #10692

8 years agoFix typos in the documentation
Simon Ruderich [Fri, 20 Nov 2015 14:57:16 +0000 (15:57 +0100)]
Fix typos in the documentation

fixes #10692

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
8 years agoFix: CLI command 'repository add' doesn't work
Gunnar Beutner [Fri, 20 Nov 2015 14:52:11 +0000 (15:52 +0100)]
Fix: CLI command 'repository add' doesn't work

fixes #10690

8 years agoFix indentation in command-plugins.conf
Gunnar Beutner [Fri, 20 Nov 2015 09:48:48 +0000 (10:48 +0100)]
Fix indentation in command-plugins.conf

fixes #10667

8 years agoFix pki new-ca not checking for existing ca files
Michael Friedrich [Thu, 19 Nov 2015 16:06:41 +0000 (17:06 +0100)]
Fix pki new-ca not checking for existing ca files

fixes #10677

8 years agoUpdate AUTHORS
Gunnar Beutner [Wed, 18 Nov 2015 19:30:42 +0000 (20:30 +0100)]
Update AUTHORS

refs #10622

8 years agoAdd by_ssh_options argument for the check_by_ssh plugin
Bruno Lingner [Sat, 14 Nov 2015 12:08:21 +0000 (13:08 +0100)]
Add by_ssh_options argument for the check_by_ssh plugin

fixes #10622

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>