]> granicus.if.org Git - icinga2/log
icinga2
8 years agoITL: Add perfsyntax parameter to nscp-local-counter CheckCommand
Michael Friedrich [Sun, 14 Aug 2016 13:47:47 +0000 (15:47 +0200)]
ITL: Add perfsyntax parameter to nscp-local-counter CheckCommand

fixes #12424

8 years agoFix typo in mysql schema
Rune Darrud [Sun, 14 Aug 2016 10:59:35 +0000 (12:59 +0200)]
Fix typo in mysql schema

fixes #12423

8 years agoFix log message for WriteCert()
Michael Friedrich [Sun, 14 Aug 2016 07:28:55 +0000 (09:28 +0200)]
Fix log message for WriteCert()

refs #12422

8 years agoFix that pki sign-csr is not logging the certificate file location
Michael Friedrich [Sun, 14 Aug 2016 07:21:52 +0000 (09:21 +0200)]
Fix that pki sign-csr is not logging the certificate file location

fixes #12422

8 years agoAvoid duplicate IDO config updates at startup
Gunnar Beutner [Sat, 13 Aug 2016 20:54:22 +0000 (22:54 +0200)]
Avoid duplicate IDO config updates at startup

fixes #12417

8 years agoClean up the code a bit
Gunnar Beutner [Sat, 13 Aug 2016 19:43:59 +0000 (21:43 +0200)]
Clean up the code a bit

refs #11423

8 years agoITL: Fix the description for http_certificate
Michael Friedrich [Sat, 13 Aug 2016 13:50:45 +0000 (15:50 +0200)]
ITL: Fix the description for http_certificate

fixes #12416

8 years agoRemove Downtime objects w/o reference to ScheduledDowntime objects
Michael Friedrich [Sat, 13 Aug 2016 13:18:50 +0000 (15:18 +0200)]
Remove Downtime objects w/o reference to ScheduledDowntime objects

fixes #11423

8 years agoMove type variables into the 'Types' namespace
Gunnar Beutner [Fri, 12 Aug 2016 14:53:44 +0000 (16:53 +0200)]
Move type variables into the 'Types' namespace

refs #12408

8 years agoAdd URL and short description for Monitoring Plugins inside the ITL documentation
Michael Friedrich [Fri, 12 Aug 2016 14:44:50 +0000 (16:44 +0200)]
Add URL and short description for Monitoring Plugins inside the ITL documentation

fixes #12412

8 years agoRemove extraneous space in a log message
Gunnar Beutner [Fri, 12 Aug 2016 14:38:05 +0000 (16:38 +0200)]
Remove extraneous space in a log message

refs #12304

8 years agoFix incorrect function name for deprecated functions
Gunnar Beutner [Fri, 12 Aug 2016 13:41:03 +0000 (15:41 +0200)]
Fix incorrect function name for deprecated functions

refs #12408

8 years agoFix auto-completion suggestions for "icinga2 console"
Gunnar Beutner [Fri, 12 Aug 2016 13:36:47 +0000 (15:36 +0200)]
Fix auto-completion suggestions for "icinga2 console"

refs #12408

8 years agoFix i2tcl module
Gunnar Beutner [Fri, 12 Aug 2016 13:24:04 +0000 (15:24 +0200)]
Fix i2tcl module

refs #12393

8 years agoImplement the System#sleep function
Gunnar Beutner [Fri, 12 Aug 2016 13:21:28 +0000 (15:21 +0200)]
Implement the System#sleep function

fixes #12411

8 years agoFix crash in ScriptFrame::AddImport
Gunnar Beutner [Fri, 12 Aug 2016 13:20:41 +0000 (15:20 +0200)]
Fix crash in ScriptFrame::AddImport

refs #12408

8 years agoAdd documentation for swap CheckCommand parameters
Michael Friedrich [Fri, 12 Aug 2016 13:05:23 +0000 (15:05 +0200)]
Add documentation for swap CheckCommand parameters

fixes #12392

8 years agoEnhance log messages for {,reminder} notifications
Michael Friedrich [Fri, 12 Aug 2016 12:49:29 +0000 (14:49 +0200)]
Enhance log messages for {,reminder} notifications

refs #12402

8 years agoMake sure base classes are registered in the right order
Gunnar Beutner [Fri, 12 Aug 2016 12:18:23 +0000 (14:18 +0200)]
Make sure base classes are registered in the right order

refs #12408

8 years agoAdd namespace qualifier for some assert() calls
Gunnar Beutner [Fri, 12 Aug 2016 11:44:51 +0000 (13:44 +0200)]
Add namespace qualifier for some assert() calls

refs #12408

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