]> granicus.if.org Git - icinga2/log
icinga2
9 years agoEnable unity builds by default
Gunnar Beutner [Sun, 1 Mar 2015 00:27:42 +0000 (01:27 +0100)]
Enable unity builds by default

9 years agoFix another crash in Timer::Call
Gunnar Beutner [Sat, 28 Feb 2015 07:43:49 +0000 (08:43 +0100)]
Fix another crash in Timer::Call

fixes #8550

9 years agoRefactor the API timeout timer
Gunnar Beutner [Fri, 27 Feb 2015 19:18:20 +0000 (20:18 +0100)]
Refactor the API timeout timer

refs #8554

9 years agoMake sure that the timeout timer gets destroyed properly
Gunnar Beutner [Fri, 27 Feb 2015 18:54:41 +0000 (19:54 +0100)]
Make sure that the timeout timer gets destroyed properly

refs #8554

9 years agoUse the main threadpool to disconnect API clients
Gunnar Beutner [Fri, 27 Feb 2015 17:31:37 +0000 (18:31 +0100)]
Use the main threadpool to disconnect API clients

refs #8554

9 years agoFix a deadlock in WorkQueue::WorkerThreadProc
Gunnar Beutner [Fri, 27 Feb 2015 17:29:21 +0000 (18:29 +0100)]
Fix a deadlock in WorkQueue::WorkerThreadProc

refs #8554

9 years agoFix a crash in Timer::Reschedule
Gunnar Beutner [Fri, 27 Feb 2015 15:44:33 +0000 (16:44 +0100)]
Fix a crash in Timer::Reschedule

refs #8554

9 years agoFix crash in SocketEvents::ThreadProc
Gunnar Beutner [Fri, 27 Feb 2015 14:53:38 +0000 (15:53 +0100)]
Fix crash in SocketEvents::ThreadProc

fixes #8554

9 years agoFix whitespace
Jean-Marcel Flach [Fri, 27 Feb 2015 14:12:45 +0000 (15:12 +0100)]
Fix whitespace

9 years agoUse RequestShutdown with exitcode instead of Application::Exit
Jean-Marcel Flach [Thu, 26 Feb 2015 16:09:45 +0000 (17:09 +0100)]
Use RequestShutdown with exitcode instead of Application::Exit

fixes #8436

9 years agoFix null pointer dereference in ApiClient::TimeoutTimerHandler
Gunnar Beutner [Fri, 27 Feb 2015 13:09:46 +0000 (14:09 +0100)]
Fix null pointer dereference in ApiClient::TimeoutTimerHandler

fixes #8553

9 years agoAdd colours to troubleshoot cli
Jean-Marcel Flach [Fri, 27 Feb 2015 13:09:26 +0000 (14:09 +0100)]
Add colours to troubleshoot cli

refs #3446

9 years agoFix a crash in Timer::Call
Gunnar Beutner [Fri, 27 Feb 2015 13:07:12 +0000 (14:07 +0100)]
Fix a crash in Timer::Call

fixes #8473

9 years agoFix another potential hang in TlsStream::Handshake
Gunnar Beutner [Fri, 27 Feb 2015 08:03:23 +0000 (09:03 +0100)]
Fix another potential hang in TlsStream::Handshake

refs #8550

9 years agoFix a deadlock in ApiClient::Disconnect
Gunnar Beutner [Thu, 26 Feb 2015 16:23:06 +0000 (17:23 +0100)]
Fix a deadlock in ApiClient::Disconnect

fixes #8549

9 years agoDon't send heartbeats during log replay
Gunnar Beutner [Thu, 26 Feb 2015 13:59:39 +0000 (14:59 +0100)]
Don't send heartbeats during log replay

fixes #8461
refs #8485

9 years agoImplement 'else if'
Gunnar Beutner [Thu, 26 Feb 2015 12:50:25 +0000 (13:50 +0100)]
Implement 'else if'

fixes #8548

9 years agoUpdate documentation
Jean Flach [Thu, 26 Feb 2015 12:37:15 +0000 (13:37 +0100)]
Update documentation

9 years agoFix a crash in ApiClient::TimeoutTimerHandler
Gunnar Beutner [Thu, 26 Feb 2015 12:30:59 +0000 (13:30 +0100)]
Fix a crash in ApiClient::TimeoutTimerHandler

refs #8485

9 years agoChange behaviour of troubleshoot cli parameters
Jean-Marcel Flach [Thu, 26 Feb 2015 12:29:55 +0000 (13:29 +0100)]
Change behaviour of troubleshoot cli parameters

9 years agoFix another crash in SocketEvents::Register
Gunnar Beutner [Thu, 26 Feb 2015 12:11:50 +0000 (13:11 +0100)]
Fix another crash in SocketEvents::Register

fixes #8547

9 years agoImprove log message for cluster connection timeouts
Gunnar Beutner [Thu, 26 Feb 2015 12:09:13 +0000 (13:09 +0100)]
Improve log message for cluster connection timeouts

refs #8485

9 years agoAdd --include-vars and --include-objects troubleshoot cli
Jean-Marcel Flach [Thu, 26 Feb 2015 11:40:49 +0000 (12:40 +0100)]
Add --include-vars and --include-objects troubleshoot cli

refs #3446

9 years agoClose client connections if we haven't received any messages in some time
Gunnar Beutner [Thu, 26 Feb 2015 11:41:47 +0000 (12:41 +0100)]
Close client connections if we haven't received any messages in some time

refs #8485

9 years agoMake sure that the 'connecting' flag is reset properly
Gunnar Beutner [Thu, 26 Feb 2015 10:25:01 +0000 (11:25 +0100)]
Make sure that the 'connecting' flag is reset properly

refs #8485

9 years agoFix Livestatus tests on Windows
Michael Friedrich [Thu, 26 Feb 2015 10:04:57 +0000 (11:04 +0100)]
Fix Livestatus tests on Windows

fixes #8486

9 years agoBuild fix for Windows
Gunnar Beutner [Thu, 26 Feb 2015 08:02:45 +0000 (09:02 +0100)]
Build fix for Windows

refs #8486

9 years agoRemove --include-objects option from troubleshoot for now
Jean-Marcel Flach [Wed, 25 Feb 2015 14:39:17 +0000 (15:39 +0100)]
Remove --include-objects option from troubleshoot for now

9 years agoUpdate troubleshoot documentation with manual steps
Jean Flach [Wed, 25 Feb 2015 14:33:11 +0000 (15:33 +0100)]
Update troubleshoot documentation with manual steps

9 years agoDocumentation: Fix missing livestatus tables
Michael Friedrich [Wed, 25 Feb 2015 14:28:30 +0000 (15:28 +0100)]
Documentation: Fix missing livestatus tables

refs #7361

9 years agoMake sure that the scheduled start time for downtimes isn't ignored
Gunnar Beutner [Wed, 25 Feb 2015 14:18:35 +0000 (15:18 +0100)]
Make sure that the scheduled start time for downtimes isn't ignored

fixes #6959

9 years agoAdd documentation for the troubleshoot command
Jean Flach [Wed, 25 Feb 2015 14:01:03 +0000 (15:01 +0100)]
Add documentation for the troubleshoot command

refs #3446

9 years agoFix a crash in TlsStream::Close
Gunnar Beutner [Wed, 25 Feb 2015 13:35:49 +0000 (14:35 +0100)]
Fix a crash in TlsStream::Close

fixes #8537

9 years agoChange Livestatus query log level to 'notice'
Michael Friedrich [Wed, 25 Feb 2015 13:11:59 +0000 (14:11 +0100)]
Change Livestatus query log level to 'notice'

fixes #8527

9 years agoFix valgrind warning in ExternalCommandListener::CommandPipeThread
Gunnar Beutner [Wed, 25 Feb 2015 13:05:31 +0000 (14:05 +0100)]
Fix valgrind warning in ExternalCommandListener::CommandPipeThread

fixes #8536

9 years agoFix a missing import
Jean-Marcel Flach [Wed, 25 Feb 2015 13:03:15 +0000 (14:03 +0100)]
Fix a missing import

9 years agoFix null pointer dereference in ApiEvents::RepositoryTimerHandler
Gunnar Beutner [Wed, 25 Feb 2015 12:59:18 +0000 (13:59 +0100)]
Fix null pointer dereference in ApiEvents::RepositoryTimerHandler

fixes #8535

9 years agoFix some whitespace
Jean-Marcel Flach [Wed, 25 Feb 2015 12:49:41 +0000 (13:49 +0100)]
Fix some whitespace

9 years agoFix another problem where Icinga doesn't detect that a cluster connection is dead
Gunnar Beutner [Wed, 25 Feb 2015 12:21:38 +0000 (13:21 +0100)]
Fix another problem where Icinga doesn't detect that a cluster connection is dead

refs #8485

9 years agoAdd check command for check_webinject
Blerim Sheqa [Wed, 25 Feb 2015 08:52:45 +0000 (09:52 +0100)]
Add check command for check_webinject

fixes #8429

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
9 years agoMake sure that Notification objects are activated after Host/Service objects
Gunnar Beutner [Wed, 25 Feb 2015 11:43:03 +0000 (12:43 +0100)]
Make sure that Notification objects are activated after Host/Service objects

fixes #8517

9 years agoFix troubleshoot not writing everything to file
Jean-Marcel Flach [Wed, 25 Feb 2015 10:08:05 +0000 (11:08 +0100)]
Fix troubleshoot not writing everything to file

9 years agoAdd a new test script to the ITL
Gunnar Beutner [Wed, 25 Feb 2015 09:17:26 +0000 (10:17 +0100)]
Add a new test script to the ITL

9 years agoRename troubleshootCollectCommand to troubleshootCommand
Jean-Marcel Flach [Wed, 25 Feb 2015 08:51:31 +0000 (09:51 +0100)]
Rename troubleshootCollectCommand to troubleshootCommand

9 years agoChange file type for ido-*.conf to config in the RPM spec file
Gunnar Beutner [Wed, 25 Feb 2015 08:30:51 +0000 (09:30 +0100)]
Change file type for ido-*.conf to config in the RPM spec file

fixes #8397

9 years agoReplace spaces with tabs in command-plugins.conf
Gunnar Beutner [Tue, 24 Feb 2015 20:56:32 +0000 (21:56 +0100)]
Replace spaces with tabs in command-plugins.conf

fixes #8520

9 years agoMerge branch 'Freeaqingme-snmpCheckCommandOptions'
Gunnar Beutner [Tue, 24 Feb 2015 20:52:47 +0000 (21:52 +0100)]
Merge branch 'Freeaqingme-snmpCheckCommandOptions'

fixes #8498

9 years agoAdd .mailmap alias for Freeaqingme
Dolf Schimmel (Freeaqingme) [Tue, 24 Feb 2015 20:41:29 +0000 (21:41 +0100)]
Add .mailmap alias for Freeaqingme

refs #8498

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
9 years agoAdd documentation for the new SNMP ITL custom attributes
Dolf Schimmel (Freeaqingme) [Tue, 24 Feb 2015 20:07:53 +0000 (21:07 +0100)]
Add documentation for the new SNMP ITL custom attributes

refs #8498

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
9 years agoITL: Add support for GETNEXT in SNMP CheckCommand
Dolf Schimmel (Freeaqingme) [Sat, 21 Feb 2015 13:25:15 +0000 (14:25 +0100)]
ITL: Add support for GETNEXT in SNMP CheckCommand

refs #8498

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
9 years agoITL: Implement various options for the 'snmp' CheckCommand, including mib-list
Dolf Schimmel (Freeaqingme) [Fri, 20 Feb 2015 20:33:52 +0000 (21:33 +0100)]
ITL: Implement various options for the 'snmp' CheckCommand, including mib-list

refs #8498

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
9 years agoDon't convert loop variables to string when using apply-for
Gunnar Beutner [Tue, 24 Feb 2015 16:51:16 +0000 (17:51 +0100)]
Don't convert loop variables to string when using apply-for

fixes #8519

9 years agoRemove leading slash and extra blank line in constants.conf.cmake
Tobias von der Krone [Tue, 24 Feb 2015 15:36:05 +0000 (16:36 +0100)]
Remove leading slash and extra blank line in constants.conf.cmake

refs #7209

9 years agoAdd missing locks in ApiListener::UpdateConfigDir
Gunnar Beutner [Tue, 24 Feb 2015 15:03:32 +0000 (16:03 +0100)]
Add missing locks in ApiListener::UpdateConfigDir

9 years agoImplement support for the 'Changelog' custom field in changelog.py
Gunnar Beutner [Tue, 24 Feb 2015 12:45:36 +0000 (13:45 +0100)]
Implement support for the 'Changelog' custom field in changelog.py

9 years agoFix crash in 'icinga2 console'
Gunnar Beutner [Tue, 24 Feb 2015 11:52:10 +0000 (12:52 +0100)]
Fix crash in 'icinga2 console'

fixes #8516

9 years agoImprove output formatting for the 'cluster-zone' check
Gunnar Beutner [Tue, 24 Feb 2015 08:27:37 +0000 (09:27 +0100)]
Improve output formatting for the 'cluster-zone' check

refs #8515

9 years agoShow slave lag for the cluster-zone check
Gunnar Beutner [Tue, 24 Feb 2015 08:14:17 +0000 (09:14 +0100)]
Show slave lag for the cluster-zone check

fixes #8515

9 years agoImplement the get_time() function
Gunnar Beutner [Tue, 24 Feb 2015 08:08:31 +0000 (09:08 +0100)]
Implement the get_time() function

9 years agoPrevent unnecessary thread wake-ups
Gunnar Beutner [Tue, 24 Feb 2015 07:31:14 +0000 (08:31 +0100)]
Prevent unnecessary thread wake-ups

refs #8485

9 years agoFix another potential problem where TLS connection might get stalled
Gunnar Beutner [Tue, 24 Feb 2015 06:11:22 +0000 (07:11 +0100)]
Fix another potential problem where TLS connection might get stalled

refs #8485

9 years agoDocs: Fix typo
Michael Friedrich [Mon, 23 Feb 2015 21:29:46 +0000 (22:29 +0100)]
Docs: Fix typo

9 years agoRename the PluginsContribDir constant to PluginContribDir
Gunnar Beutner [Mon, 23 Feb 2015 14:35:12 +0000 (15:35 +0100)]
Rename the PluginsContribDir constant to PluginContribDir

fixes #8509

9 years agoMake sure to not ignore fields which are set to an empty string
Gunnar Beutner [Mon, 23 Feb 2015 14:24:07 +0000 (15:24 +0100)]
Make sure to not ignore fields which are set to an empty string

fixes #8496

9 years agoDocs: Fix typo
Michael Friedrich [Mon, 23 Feb 2015 13:43:44 +0000 (14:43 +0100)]
Docs: Fix typo

refs #8467

9 years agoAdd validator for the 'ignore_soft_states' attribute
Gunnar Beutner [Mon, 23 Feb 2015 13:29:17 +0000 (14:29 +0100)]
Add validator for the 'ignore_soft_states' attribute

refs #7326

9 years agoImplement the 'is_inside' attribute for the TimePeriod type
Gunnar Beutner [Mon, 23 Feb 2015 13:06:32 +0000 (14:06 +0100)]
Implement the 'is_inside' attribute for the TimePeriod type

refs #8467

9 years agoImplement the 'get_time_period' function
Gunnar Beutner [Mon, 23 Feb 2015 12:56:53 +0000 (13:56 +0100)]
Implement the 'get_time_period' function

refs #8467

9 years agoAdd more arguments for the 'udp' check command
Gunnar Beutner [Mon, 23 Feb 2015 12:54:18 +0000 (13:54 +0100)]
Add more arguments for the 'udp' check command

fixes #8410

9 years agoAdd check command "ipmi-sensor"
Tobias von der Krone [Sat, 21 Feb 2015 21:08:04 +0000 (22:08 +0100)]
Add check command "ipmi-sensor"

Add the check command "ipmi-sensor" in plugings-contrib and its documentation.

fixes #8414

9 years agoAdd 'ignore_soft_states' attribute to Dependency objects
Michael Friedrich [Sat, 7 Feb 2015 23:30:58 +0000 (00:30 +0100)]
Add 'ignore_soft_states' attribute to Dependency objects

fixes #7326

9 years agoFix off-by-one mistake in error reporting for 'icinga2 console'
Gunnar Beutner [Sat, 21 Feb 2015 12:19:04 +0000 (13:19 +0100)]
Fix off-by-one mistake in error reporting for 'icinga2 console'

fixes #8500

9 years agoDoc: Fix html anchors for contrib plugins
Michael Friedrich [Sat, 21 Feb 2015 09:51:58 +0000 (10:51 +0100)]
Doc: Fix html anchors for contrib plugins

refs #7209
refs #7292
refs #7294

9 years agoCli: Don't validate config objects in 'node update-config'
Michael Friedrich [Fri, 20 Feb 2015 20:01:07 +0000 (21:01 +0100)]
Cli: Don't validate config objects in 'node update-config'

refs #8488

9 years agoFix app initialization
Gunnar Beutner [Fri, 20 Feb 2015 19:45:41 +0000 (20:45 +0100)]
Fix app initialization

refs #6257

9 years agoMove some of the initialization code into icinga-app
Gunnar Beutner [Fri, 20 Feb 2015 18:57:26 +0000 (19:57 +0100)]
Move some of the initialization code into icinga-app

refs #6257

9 years agoCli: Don't parse objects/changes on each AddObject() call
Michael Friedrich [Thu, 19 Feb 2015 12:15:28 +0000 (13:15 +0100)]
Cli: Don't parse objects/changes on each AddObject() call

refs #8488

9 years agoFix a Windows build error
Jean Flach [Fri, 20 Feb 2015 15:59:10 +0000 (16:59 +0100)]
Fix a Windows build error

9 years agoImprove coding style conformation
Jean Flach [Fri, 20 Feb 2015 15:13:25 +0000 (16:13 +0100)]
Improve coding style conformation

refs #3446

9 years agoCli: More code style fixes in 'troubleshoot' command
Michael Friedrich [Fri, 20 Feb 2015 14:27:10 +0000 (15:27 +0100)]
Cli: More code style fixes in 'troubleshoot' command

refs #3446

9 years agoFix another potential deadlock in SocketEvents::WakeUpThread
Gunnar Beutner [Fri, 20 Feb 2015 14:23:06 +0000 (15:23 +0100)]
Fix another potential deadlock in SocketEvents::WakeUpThread

refs #8484

9 years agoApiListener: Fix misleading connection log messages
Michael Friedrich [Fri, 20 Feb 2015 14:11:44 +0000 (15:11 +0100)]
ApiListener: Fix misleading connection log messages

fixes #8493

9 years agoFix stalled reconnection attempts for the cluster
Gunnar Beutner [Fri, 20 Feb 2015 13:43:13 +0000 (14:43 +0100)]
Fix stalled reconnection attempts for the cluster

refs #8485

9 years agoTests: Add simple Livestatus query tests
Michael Friedrich [Thu, 19 Feb 2015 16:53:29 +0000 (17:53 +0100)]
Tests: Add simple Livestatus query tests

More to come.

refs #8486

9 years agoEnforce coding style
Jean Flach [Fri, 20 Feb 2015 13:14:34 +0000 (14:14 +0100)]
Enforce coding style

9 years agoFix build error
Jean Flach [Fri, 20 Feb 2015 12:40:08 +0000 (13:40 +0100)]
Fix build error

fixes #8482

9 years agoFix package build error
Jean Flach [Fri, 20 Feb 2015 08:55:07 +0000 (09:55 +0100)]
Fix package build error

9 years agoFix the build error for real
Jean Flach [Thu, 19 Feb 2015 16:44:42 +0000 (17:44 +0100)]
Fix the build error for real

9 years agoFix the build error caused by the previous build fix
Jean Flach [Thu, 19 Feb 2015 16:27:42 +0000 (17:27 +0100)]
Fix the build error caused by the previous build fix

9 years agoFix a build error
Jean Flach [Thu, 19 Feb 2015 16:22:51 +0000 (17:22 +0100)]
Fix a build error

9 years agoRestructure troubleshootcollect, more after the jump
Jean Flach [Thu, 19 Feb 2015 16:12:32 +0000 (17:12 +0100)]
Restructure troubleshootcollect, more after the jump

Changed `--output-file` to `--output`
Default output file now has a timestamp in the name, no more overwriting
Added Section headers and file markers
Taken time is now measured and output
And some format changes were made

refs #3446

9 years agoImplement the 'continue' and 'break' keywords
Gunnar Beutner [Thu, 19 Feb 2015 11:57:52 +0000 (12:57 +0100)]
Implement the 'continue' and 'break' keywords

fixes #8394

9 years agoLivestatus: Add GroupBy tables: hostsbygroup, servicesbygroup, servicesbyhostgroup
Michael Friedrich [Fri, 13 Feb 2015 14:50:20 +0000 (15:50 +0100)]
Livestatus: Add GroupBy tables: hostsbygroup, servicesbygroup, servicesbyhostgroup

fixes #7361

Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
9 years agoAdd contributed command definitions
Dirk Goetz [Wed, 4 Feb 2015 16:31:13 +0000 (17:31 +0100)]
Add contributed command definitions

fixes #7209
fixes #7292
fixes #7294

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
9 years agoMove objectlistcommands printObject to objectlistuility
Jean Flach [Wed, 18 Feb 2015 09:23:27 +0000 (10:23 +0100)]
Move objectlistcommands printObject to objectlistuility

PrintObject() is now public and now everybody can use pretty object printing

9 years agoDon't require tickets for clients which already have a trusted certificate
Gunnar Beutner [Wed, 11 Feb 2015 08:56:22 +0000 (09:56 +0100)]
Don't require tickets for clients which already have a trusted certificate

fixes #8465

9 years agoAdd some failsafes to the windows plugins
Jean Flach [Tue, 17 Feb 2015 14:54:23 +0000 (15:54 +0100)]
Add some failsafes to the windows plugins

9 years agoImprove log messages for ApiListener::ApiTimerHandler
Gunnar Beutner [Tue, 17 Feb 2015 14:46:03 +0000 (15:46 +0100)]
Improve log messages for ApiListener::ApiTimerHandler

9 years agoImprove check_service' reporting and performance
Jean Flach [Tue, 17 Feb 2015 14:20:30 +0000 (15:20 +0100)]
Improve check_service' reporting and performance

fixes #8186

9 years agoFix a deadlock in ApiClient::~ApiClient
Gunnar Beutner [Tue, 17 Feb 2015 13:31:10 +0000 (14:31 +0100)]
Fix a deadlock in ApiClient::~ApiClient

fixes #8462