]> granicus.if.org Git - icinga2/log
icinga2
8 years agoRegister deprecated methods in the 'Deprecated' namespace
Gunnar Beutner [Fri, 12 Aug 2016 11:42:22 +0000 (13:42 +0200)]
Register deprecated methods in the 'Deprecated' namespace

refs #12408

8 years agoFix 'use' keyword for templates
Gunnar Beutner [Fri, 12 Aug 2016 11:32:13 +0000 (13:32 +0200)]
Fix 'use' keyword for templates

fixes #12409

8 years agoChange scoping mechanism for the __using keyword
Gunnar Beutner [Fri, 12 Aug 2016 11:13:01 +0000 (13:13 +0200)]
Change scoping mechanism for the __using keyword

refs #12408

8 years agoFix exception with __using
Gunnar Beutner [Fri, 12 Aug 2016 10:05:02 +0000 (12:05 +0200)]
Fix exception with __using

refs #12408

8 years agoMake sure all constructors properly initialize the ScriptFrame object
Gunnar Beutner [Fri, 12 Aug 2016 09:42:59 +0000 (11:42 +0200)]
Make sure all constructors properly initialize the ScriptFrame object

refs #12408

8 years agoImplement support for namespaces
Gunnar Beutner [Fri, 12 Aug 2016 09:25:36 +0000 (11:25 +0200)]
Implement support for namespaces

fixes #12408

8 years agoImplement support for inspecting variables with LLDB/GDB
Gunnar Beutner [Fri, 12 Aug 2016 09:00:19 +0000 (11:00 +0200)]
Implement support for inspecting variables with LLDB/GDB

fixes #12407

8 years agoChange wording for the function validation message
Gunnar Beutner [Fri, 12 Aug 2016 05:58:24 +0000 (07:58 +0200)]
Change wording for the function validation message

refs #12393

8 years agoDB IDO: Really do not clear downtimes on checkable upsert
Michael Friedrich [Thu, 11 Aug 2016 15:40:35 +0000 (17:40 +0200)]
DB IDO: Really do not clear downtimes on checkable upsert

refs #12258
refs #12288

8 years agoAdd log message if notifications are forced (i.e. filters are not checked)
Michael Friedrich [Thu, 11 Aug 2016 14:23:58 +0000 (16:23 +0200)]
Add log message if notifications are forced (i.e. filters are not checked)

fixes #12404

8 years agoDocs: Fix incorrect anchors for Array#{filter,unique}
Michael Friedrich [Thu, 11 Aug 2016 12:14:20 +0000 (14:14 +0200)]
Docs: Fix incorrect anchors for Array#{filter,unique}

refs #12247

8 years agoDB IDO: Fixed downtime start does not update actual_start_time
Michael Friedrich [Thu, 11 Aug 2016 10:10:04 +0000 (12:10 +0200)]
DB IDO: Fixed downtime start does not update actual_start_time

fixes #12401

8 years agoUse InterlockedIncrement instead of a mutex in CreatePipeOverlapped
Gunnar Beutner [Thu, 11 Aug 2016 07:43:50 +0000 (09:43 +0200)]
Use InterlockedIncrement instead of a mutex in CreatePipeOverlapped

refs #10075

8 years agoFix missing names for user-defined functions
Gunnar Beutner [Wed, 10 Aug 2016 14:42:21 +0000 (16:42 +0200)]
Fix missing names for user-defined functions

refs #12393

8 years agoFix flexible downtimes expiry time and removal
Michael Friedrich [Wed, 10 Aug 2016 15:14:10 +0000 (17:14 +0200)]
Fix flexible downtimes expiry time and removal

fixes #12395

8 years agoMake sure functions are registered with the correct prefix
Gunnar Beutner [Wed, 10 Aug 2016 14:33:17 +0000 (16:33 +0200)]
Make sure functions are registered with the correct prefix

refs #12393

8 years agoFix downtime notification events and missing author/comment
Michael Friedrich [Wed, 10 Aug 2016 10:28:41 +0000 (12:28 +0200)]
Fix downtime notification events and missing author/comment

fixes #12333
fixes #11851

8 years agoImplement support for marking functions as deprecated
Gunnar Beutner [Wed, 10 Aug 2016 13:40:02 +0000 (15:40 +0200)]
Implement support for marking functions as deprecated

fixes #12393

8 years agoAdd vars for all check_swap args
Jean-Louis Dupond [Tue, 9 Aug 2016 14:59:01 +0000 (16:59 +0200)]
Add vars for all check_swap args

fixes #12392

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
8 years agoUpdate AUTHORS
Gunnar Beutner [Wed, 10 Aug 2016 10:30:20 +0000 (12:30 +0200)]
Update AUTHORS

refs #12391

8 years agoDon't violate POSIX by ensuring that the argument to usleep(3) is less than 1000000
Timo Buhrmester [Wed, 10 Aug 2016 09:51:13 +0000 (11:51 +0200)]
Don't violate POSIX by ensuring that the argument to usleep(3) is less than 1000000

fixes #12391

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
8 years agoFix race condition in CreatePipeOverlapped
Gunnar Beutner [Wed, 10 Aug 2016 10:12:56 +0000 (12:12 +0200)]
Fix race condition in CreatePipeOverlapped

fixes #10075

8 years agoDisallow casting "" to an Object
Gunnar Beutner [Wed, 10 Aug 2016 09:14:33 +0000 (11:14 +0200)]
Disallow casting "" to an Object

fixes #12390

8 years agoUse the "plugin-check-command" template in the livestatus unit tests
Gunnar Beutner [Wed, 10 Aug 2016 06:37:30 +0000 (08:37 +0200)]
Use the "plugin-check-command" template in the livestatus unit tests

refs #12338

8 years agoUpdate i2tcl to match latest language changes
Gunnar Beutner [Wed, 10 Aug 2016 06:28:42 +0000 (08:28 +0200)]
Update i2tcl to match latest language changes

refs #12338

8 years agoBuild fix for Ubuntu precise
Gunnar Beutner [Wed, 10 Aug 2016 06:22:17 +0000 (08:22 +0200)]
Build fix for Ubuntu precise

refs #12389

8 years agoInclude compiler name/version and build host name in --version
Gunnar Beutner [Wed, 10 Aug 2016 06:03:54 +0000 (08:03 +0200)]
Include compiler name/version and build host name in --version

fixes #12389

8 years agoMove internal script functions into the 'Internal' namespace
Gunnar Beutner [Tue, 9 Aug 2016 08:40:29 +0000 (10:40 +0200)]
Move internal script functions into the 'Internal' namespace

fixes #12338

8 years agoWindows build fix
Gunnar Beutner [Tue, 9 Aug 2016 13:41:27 +0000 (15:41 +0200)]
Windows build fix

fixes #12339

8 years agoUpdate AUTHORS
Michael Friedrich [Tue, 9 Aug 2016 12:20:23 +0000 (14:20 +0200)]
Update AUTHORS

refs #12061

8 years agoITL: Add db2_health CheckCommand definition
Carsten Köbke [Tue, 9 Aug 2016 11:47:16 +0000 (13:47 +0200)]
ITL: Add db2_health CheckCommand definition

fixes #12061

8 years agoImprove logging for the WorkQueue class
Gunnar Beutner [Tue, 9 Aug 2016 10:39:07 +0000 (12:39 +0200)]
Improve logging for the WorkQueue class

fixes #12336

8 years agoHandle I/O errors while writing the Icinga state file more gracefully
Gunnar Beutner [Tue, 9 Aug 2016 08:59:08 +0000 (10:59 +0200)]
Handle I/O errors while writing the Icinga state file more gracefully

fixes #12334

8 years agoUpdate AUTHORS
Gunnar Beutner [Tue, 9 Aug 2016 08:43:26 +0000 (10:43 +0200)]
Update AUTHORS

refs #12274

8 years agoFix incorrect custom variable name for the -q option for ntp_time.
Bård Dahlmo-Lerbæk [Wed, 3 Aug 2016 08:41:51 +0000 (10:41 +0200)]
Fix incorrect custom variable name for the -q option for ntp_time.

fixes #12274

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
8 years agoRename/Remove experimental script functions
Gunnar Beutner [Tue, 9 Aug 2016 07:35:16 +0000 (09:35 +0200)]
Rename/Remove experimental script functions

fixes #12332

8 years agoGelfWriter: Use raw CheckResult output for full_message attribute
Marius Sturm [Fri, 18 Mar 2016 22:44:46 +0000 (23:44 +0100)]
GelfWriter: Use raw CheckResult output for full_message attribute

fixes #10903

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
8 years agoFix building Icinga with -fvisibility=hidden
Gunnar Beutner [Tue, 9 Aug 2016 07:00:19 +0000 (09:00 +0200)]
Fix building Icinga with -fvisibility=hidden

fixes #12331

8 years agoDocs: Add SELinux chapter
Dirk Goetz [Mon, 18 Apr 2016 11:28:24 +0000 (13:28 +0200)]
Docs: Add SELinux chapter

fixes #10553

8 years agoAdd version info in /v1
Gunnar Beutner [Tue, 9 Aug 2016 06:44:53 +0000 (08:44 +0200)]
Add version info in /v1

fixes #12327

8 years agoUpdate AUTHORS
Michael Friedrich [Mon, 8 Aug 2016 15:56:35 +0000 (17:56 +0200)]
Update AUTHORS

refs #11359
refs #11650

8 years agoInit script: condrestart should only restart a running service
Berthold Cogel [Thu, 28 Jul 2016 15:52:35 +0000 (17:52 +0200)]
Init script: condrestart should only restart a running service

fixes #11650

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
8 years agoBuild fix for CentOS 5
Gunnar Beutner [Mon, 8 Aug 2016 13:27:16 +0000 (15:27 +0200)]
Build fix for CentOS 5

refs #11292

8 years agoAdd "check_mysql_query" CheckCommand definition
Christian Birk [Mon, 8 Aug 2016 08:07:49 +0000 (10:07 +0200)]
Add "check_mysql_query" CheckCommand definition

fixes #12314

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
8 years agoFix crash in Checkable::ProcessCheckResult when cr is NULL
Gunnar Beutner [Mon, 8 Aug 2016 12:17:44 +0000 (14:17 +0200)]
Fix crash in Checkable::ProcessCheckResult when cr is NULL

refs #12329

8 years agoImplement process_check_result script method for the Checkable class
Gunnar Beutner [Mon, 8 Aug 2016 12:14:45 +0000 (14:14 +0200)]
Implement process_check_result script method for the Checkable class

fixes #12329

8 years agoRegister a new script frame in Function::Invoke
Gunnar Beutner [Mon, 8 Aug 2016 11:53:45 +0000 (13:53 +0200)]
Register a new script frame in Function::Invoke

fixes #9848

8 years agoAdd the "exception" check command
Gunnar Beutner [Mon, 8 Aug 2016 10:51:20 +0000 (12:51 +0200)]
Add the "exception" check command

refs #10075

8 years agoFix incorrect behavior for max_check_attempts
Gunnar Beutner [Mon, 8 Aug 2016 09:02:08 +0000 (11:02 +0200)]
Fix incorrect behavior for max_check_attempts

fixes #11898

8 years agoDon't add empty lines to libedit's history
Gunnar Beutner [Mon, 8 Aug 2016 06:01:52 +0000 (08:01 +0200)]
Don't add empty lines to libedit's history

refs #12234

8 years agoAdd the "-e" parameter for the SNMP check command
Mirko Nardin [Fri, 5 Aug 2016 07:17:41 +0000 (09:17 +0200)]
Add the "-e" parameter for the SNMP check command

fixes #11359

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
8 years agoRemove temporary icinga2.debug file in case the config validation fails
Gunnar Beutner [Fri, 5 Aug 2016 07:09:20 +0000 (09:09 +0200)]
Remove temporary icinga2.debug file in case the config validation fails

fixes #12318

8 years agoFix incorrect parameter name for NotificationSentAllUsersHandler
Gunnar Beutner [Fri, 5 Aug 2016 04:53:06 +0000 (06:53 +0200)]
Fix incorrect parameter name for NotificationSentAllUsersHandler

fixes #12310

8 years agoFix that notifications with empty times.{begin,end} are not sent
Michael Friedrich [Thu, 4 Aug 2016 15:27:35 +0000 (17:27 +0200)]
Fix that notifications with empty times.{begin,end} are not sent

fixes #10363

8 years agoDisable immediate hard state for first check result
Michael Friedrich [Thu, 4 Aug 2016 14:16:58 +0000 (16:16 +0200)]
Disable immediate hard state for first check result

fixes #7354

8 years agoFix duplicate notifications on HA failover
Gunnar Beutner [Thu, 4 Aug 2016 08:12:55 +0000 (10:12 +0200)]
Fix duplicate notifications on HA failover

fixes #12267

8 years agoBuild fix for Windows
Gunnar Beutner [Thu, 4 Aug 2016 04:34:30 +0000 (06:34 +0200)]
Build fix for Windows

refs #11292

8 years agoEnsure to send recovery notifications if the was a problem notification before a...
Michael Friedrich [Wed, 3 Aug 2016 16:28:09 +0000 (18:28 +0200)]
Ensure to send recovery notifications if the was a problem notification before a downtime

fixes #12293

8 years agoAdd the notification type into the log message
Michael Friedrich [Wed, 3 Aug 2016 15:32:55 +0000 (17:32 +0200)]
Add the notification type into the log message

fixes #12304

8 years agoDB IDO: Do not try to delete downtimes when using the session_token
Michael Friedrich [Wed, 3 Aug 2016 14:15:22 +0000 (16:15 +0200)]
DB IDO: Do not try to delete downtimes when using the session_token

Missed it after modifying the comments.

refs #12258
refs #12288

8 years agoRemove obsolete README files in tools/syntax
Michael Friedrich [Wed, 3 Aug 2016 13:54:50 +0000 (15:54 +0200)]
Remove obsolete README files in tools/syntax

fixes #12302

8 years agoAdd a check command for check_breeze
Dirk Goetz [Thu, 19 Nov 2015 11:26:06 +0000 (12:26 +0100)]
Add a check command for check_breeze
Add a check command for check_flexlm
Add a check command for check_game

refs #6225

8 years agoAdd a check command for check_ide_smart
Dirk Goetz [Mon, 9 Nov 2015 13:56:05 +0000 (14:56 +0100)]
Add a check command for check_ide_smart

refs #6225

8 years agoAdd a check command for check_file_age.
Dirk Goetz [Mon, 2 Nov 2015 12:24:14 +0000 (13:24 +0100)]
Add a check command for check_file_age.
Add a deprecation note for check_ldaps to check_ldap.

refs #6225

8 years agoUpdate AUTHORS
Gunnar Beutner [Wed, 3 Aug 2016 05:47:34 +0000 (07:47 +0200)]
Update AUTHORS

refs #12188

8 years agoMake the minimum TLS protocol version configurable
Uwe Ebel [Mon, 1 Aug 2016 03:32:47 +0000 (05:32 +0200)]
Make the minimum TLS protocol version configurable

The ApiListener accepts all TLS versions that the underlying
OpenSSL library supports. This patch give the ability to restrict
the connection to a minimum TLS version.

fixes #11292

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
8 years agoFix that the first notification interval is incorrect
Michael Friedrich [Tue, 2 Aug 2016 16:41:01 +0000 (18:41 +0200)]
Fix that the first notification interval is incorrect

fixes #12257

8 years agoOptimize two ObjectLocks into one in Notification::BeginExecuteNotification method
Conrad Clement [Wed, 20 Jul 2016 18:30:05 +0000 (14:30 -0400)]
Optimize two ObjectLocks into one in Notification::BeginExecuteNotification method

object is locked twice to update values of
NotificationNumber, LastNotification and LastProblemNotification.
LastNotificaiton is updated inside each ObjectLock
merge two ObjectLocks into one and remove duplicate update

fixes #12188

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
8 years agoFix missing MySQL session_token changes
Michael Friedrich [Tue, 2 Aug 2016 13:05:21 +0000 (15:05 +0200)]
Fix missing MySQL session_token changes

refs #12258
refs #12288

8 years agoDB IDO: Use upsert and session token for comment/downtime updates
Michael Friedrich [Mon, 1 Aug 2016 15:54:03 +0000 (17:54 +0200)]
DB IDO: Use upsert and session token for comment/downtime updates

refs #12258
fixes #12288

8 years agoDB IDO: Ensure that queries are not executed if categories don't match
Michael Friedrich [Tue, 2 Aug 2016 12:27:20 +0000 (14:27 +0200)]
DB IDO: Ensure that queries are not executed if categories don't match

refs #12147
refs #12147

8 years agoEnhance TLS handshake error messages with connection information
Michael Friedrich [Tue, 2 Aug 2016 10:14:03 +0000 (12:14 +0200)]
Enhance TLS handshake error messages with connection information

fixes #12287

8 years agoFix incorrect index drop in pgsql.sql
Michael Friedrich [Tue, 2 Aug 2016 09:05:48 +0000 (11:05 +0200)]
Fix incorrect index drop in pgsql.sql

refs #12210

8 years agoFix incorrect session_token index for PostgreSQL
Michael Friedrich [Mon, 1 Aug 2016 13:04:47 +0000 (15:04 +0200)]
Fix incorrect session_token index for PostgreSQL

refs #12210

8 years agoFix build with OpenSSL 1.1
Markus Frosch [Mon, 1 Aug 2016 07:47:58 +0000 (09:47 +0200)]
Fix build with OpenSSL 1.1

error: cannot convert ‘const boost::shared_ptr<x509_st>’ to ‘X509* {aka
x509_st*}’ for argument ‘1’ to ‘ASN1_TIME* X509_get_notBefore(X509*)’

refs #12044

8 years agoFix missing session_token column
Michael Friedrich [Mon, 1 Aug 2016 07:37:10 +0000 (09:37 +0200)]
Fix missing session_token column

refs #12210

8 years agoDocs: Fix API permissions for status/query
Michael Friedrich [Fri, 29 Jul 2016 15:00:36 +0000 (17:00 +0200)]
Docs: Fix API permissions for status/query

fixes #12259

8 years ago'Sandboxed' property isn't properly propagated to child frames
Gunnar Beutner [Fri, 29 Jul 2016 12:11:52 +0000 (14:11 +0200)]
'Sandboxed' property isn't properly propagated to child frames

refs #12247

8 years agoDon't write empty lines to the history file
Gunnar Beutner [Fri, 29 Jul 2016 11:55:07 +0000 (13:55 +0200)]
Don't write empty lines to the history file

refs #12234

8 years agoImplement history support for 'icinga2 console'
Gunnar Beutner [Fri, 29 Jul 2016 11:45:16 +0000 (13:45 +0200)]
Implement history support for 'icinga2 console'

fixes #12234

8 years agoAdd check command definition for check_graphite
Markus Waldmüller [Fri, 29 Jul 2016 09:29:40 +0000 (11:29 +0200)]
Add check command definition for check_graphite

fixes #12256

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
8 years agoChange how Array#reduce works
Gunnar Beutner [Fri, 29 Jul 2016 09:09:46 +0000 (11:09 +0200)]
Change how Array#reduce works

refs #12247

8 years agoAdd map/reduce and filter functionality for the Array class
Gunnar Beutner [Fri, 29 Jul 2016 08:47:13 +0000 (10:47 +0200)]
Add map/reduce and filter functionality for the Array class

fixes #12247

8 years agoUse application start-up time for the IDO session token
Gunnar Beutner [Fri, 29 Jul 2016 06:40:10 +0000 (08:40 +0200)]
Use application start-up time for the IDO session token

fixes #12250

8 years agoRemove obsolete debug log message
Gunnar Beutner [Fri, 29 Jul 2016 05:09:01 +0000 (07:09 +0200)]
Remove obsolete debug log message

fixes #12254

8 years agoFix InfluxdbWriter Trailing Backslash
Simon Murray [Thu, 28 Jul 2016 09:28:53 +0000 (10:28 +0100)]
Fix InfluxdbWriter Trailing Backslash

Backslashes escape spaces or commas (and evidently equals), given tags are
separated by commas, tag keys and values are separated by equals and tags
are separated from fields by a space we need to take action when these end
in a backslash e.g. 'C:\'.  Also discovered a bug whereby the metric tag was
missing out on escaping.

fixes #12227

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
8 years agoDeprecation warning should include object type and name
Michael Friedrich [Thu, 28 Jul 2016 15:43:50 +0000 (17:43 +0200)]
Deprecation warning should include object type and name

fixes #12240

8 years agoEnhance client disconnect message for "No data received on new API connection."
Michael Friedrich [Thu, 28 Jul 2016 15:33:15 +0000 (17:33 +0200)]
Enhance client disconnect message for "No data received on new API connection."

fixes #12116

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
8 years agoFix that reminder notifications ignore HA mode
Michael Friedrich [Thu, 28 Jul 2016 15:39:52 +0000 (17:39 +0200)]
Fix that reminder notifications ignore HA mode

fixes #12249

8 years agoCheckerComponent sometimes fails to schedule checks in time
Gunnar Beutner [Thu, 28 Jul 2016 10:50:48 +0000 (12:50 +0200)]
CheckerComponent sometimes fails to schedule checks in time

fixes #12180

8 years agoIncrease systemd startup timeout
Gunnar Beutner [Wed, 27 Jul 2016 05:44:11 +0000 (07:44 +0200)]
Increase systemd startup timeout

fixes #12237

8 years agoFix min/max execution_time
Rune Darrud [Mon, 25 Jul 2016 15:28:24 +0000 (17:28 +0200)]
Fix min/max execution_time

fixes #12225

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
8 years agoSet min_latency and min_execution_time to 0 when there have been no checkresults...
Rune Darrud [Mon, 25 Jul 2016 14:01:44 +0000 (16:01 +0200)]
Set min_latency and min_execution_time to 0 when there have been no checkresults processed

fixes #12216

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
8 years agoUpdate .mailmap
Gunnar Beutner [Tue, 26 Jul 2016 07:37:37 +0000 (09:37 +0200)]
Update .mailmap

refs #12221

8 years agoLog a warning if there are more than 2 zone endpoint members
Gunnar Beutner [Tue, 26 Jul 2016 06:10:47 +0000 (08:10 +0200)]
Log a warning if there are more than 2 zone endpoint members

fixes #12222

8 years agoDocs: Improve yum CheckCommand
Michael Friedrich [Mon, 25 Jul 2016 15:33:19 +0000 (17:33 +0200)]
Docs: Improve yum CheckCommand

fixes #12204

8 years agoITL: Add missing parameters for (latest) mysql_health
Jo Goossens [Mon, 25 Jul 2016 09:37:55 +0000 (11:37 +0200)]
ITL: Add missing parameters for (latest) mysql_health

fixes #12221

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
8 years agoDB IDO: Do not clear {host,service,contact}group_members tables on restart
Michael Friedrich [Thu, 21 Jul 2016 15:37:41 +0000 (17:37 +0200)]
DB IDO: Do not clear {host,service,contact}group_members tables on restart

fixes #12210

8 years agoDocs: Better explaination for zones.d and apply rule workaround
Michael Friedrich [Mon, 25 Jul 2016 13:38:50 +0000 (15:38 +0200)]
Docs: Better explaination for zones.d and apply rule workaround

refs #12217

8 years agoDocs: Add a note for three level clusters with CSR auto-signing
Michael Friedrich [Mon, 25 Jul 2016 08:54:34 +0000 (10:54 +0200)]
Docs: Add a note for three level clusters with CSR auto-signing

fixes #12219