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

9 years agoFix crash in SocketEvents::ChangeEvents
Gunnar Beutner [Tue, 17 Feb 2015 12:21:43 +0000 (13:21 +0100)]
Fix crash in SocketEvents::ChangeEvents

refs #6109

9 years agoFix incorrect callback method name
Gunnar Beutner [Tue, 17 Feb 2015 11:40:19 +0000 (12:40 +0100)]
Fix incorrect callback method name

fixes #8451

9 years agoFix livestatus query on commands table with custom vars
Michael Friedrich [Mon, 16 Feb 2015 13:16:45 +0000 (14:16 +0100)]
Fix livestatus query on commands table with custom vars

fixes #8452

9 years agoFix another crash in SocketEvents::OnEvent
Gunnar Beutner [Mon, 16 Feb 2015 10:39:34 +0000 (11:39 +0100)]
Fix another crash in SocketEvents::OnEvent

fixes #8446

9 years agoDB IDO: Fix PostgreSQL schema file
Michael Friedrich [Mon, 16 Feb 2015 10:38:00 +0000 (11:38 +0100)]
DB IDO: Fix PostgreSQL schema file

refs #7765

9 years agoMove execvpe and socketpair builds to the Lib folder
Jean Flach [Mon, 16 Feb 2015 09:59:05 +0000 (10:59 +0100)]
Move execvpe and socketpair builds to the Lib folder

9 years agoFix a crash in SocketEvents::OnEvent
Gunnar Beutner [Sun, 15 Feb 2015 17:50:25 +0000 (18:50 +0100)]
Fix a crash in SocketEvents::OnEvent

fixes #8446

9 years agoLivestatus: Add sanity checks for empty values
Michael Friedrich [Sun, 15 Feb 2015 15:48:09 +0000 (16:48 +0100)]
Livestatus: Add sanity checks for empty values

9 years agoCli: Fix NetString::ReadStringFromStream() usage
Michael Friedrich [Sun, 15 Feb 2015 13:42:53 +0000 (14:42 +0100)]
Cli: Fix NetString::ReadStringFromStream() usage

refs #6109

9 years agoFix NetString::ReadStringFromStream() EoF case in 'object list' command
Michael Friedrich [Sun, 15 Feb 2015 13:37:16 +0000 (14:37 +0100)]
Fix NetString::ReadStringFromStream() EoF case in 'object list' command

refs #6109

9 years agoFix incorrect license header
Gunnar Beutner [Sun, 15 Feb 2015 12:52:56 +0000 (13:52 +0100)]
Fix incorrect license header

9 years agoBuild fix
Gunnar Beutner [Sun, 15 Feb 2015 12:09:53 +0000 (13:09 +0100)]
Build fix

9 years agoCLI: Add 'troubleshoot collect' command
Jean Flach [Thu, 22 Jan 2015 11:10:32 +0000 (12:10 +0100)]
CLI: Add 'troubleshoot collect' command

By calling `icinga2 troubleshoot collect [--console]` a small file
containing basic application information and a tail of all found logs
and the latest crash report will be created [or displayed].
It does not collect config files at the moment.

refs #3446

9 years agoDB IDO: Fix {host,service}checks command_line value is "Object of type 'icinga::Array'"
Michael Friedrich [Sat, 14 Feb 2015 22:46:55 +0000 (23:46 +0100)]
DB IDO: Fix {host,service}checks command_line value is "Object of type 'icinga::Array'"

fixes #8438

9 years agoDon't attempt to restore program state from non-existing state file
Michael Friedrich [Sat, 14 Feb 2015 22:39:10 +0000 (23:39 +0100)]
Don't attempt to restore program state from non-existing state file

fixes #8444

9 years agoClose TLS connections more aggressively
Gunnar Beutner [Sat, 14 Feb 2015 18:14:45 +0000 (19:14 +0100)]
Close TLS connections more aggressively

refs #6109

9 years agoFix a case where NetString::ReadStringFromStream might incorrectly return StatusEof
Gunnar Beutner [Sat, 14 Feb 2015 17:48:33 +0000 (18:48 +0100)]
Fix a case where NetString::ReadStringFromStream might incorrectly return StatusEof

refs #6109

9 years agoFix unit tests for the Stream class
Gunnar Beutner [Sat, 14 Feb 2015 16:40:29 +0000 (17:40 +0100)]
Fix unit tests for the Stream class

refs #6109

9 years agoDon't use separate threads for each ApiClient object
Gunnar Beutner [Sat, 14 Feb 2015 15:34:36 +0000 (16:34 +0100)]
Don't use separate threads for each ApiClient object

fixes #6109

9 years agoMove most of the socket I/O to a separate thread
Gunnar Beutner [Fri, 13 Feb 2015 20:02:48 +0000 (21:02 +0100)]
Move most of the socket I/O to a separate thread

fixes #8300
fixes #8243

9 years agoUpdate documentation links
Gunnar Beutner [Fri, 13 Feb 2015 19:56:37 +0000 (20:56 +0100)]
Update documentation links

9 years agoFix incorrect file name
Gunnar Beutner [Fri, 13 Feb 2015 19:55:56 +0000 (20:55 +0100)]
Fix incorrect file name

9 years agoValidate configured TimePeriod ranges
Michael Friedrich [Thu, 12 Feb 2015 08:12:55 +0000 (09:12 +0100)]
Validate configured TimePeriod ranges

Requires re-throwing the hidden exceptions inside the existing
timeperiod code and validating the configured time range
strings then.

fixes #7576

9 years agoWrap IPv6 addresses in udp6:[<addr>] for check_snmp
Gunnar Beutner [Fri, 13 Feb 2015 11:11:53 +0000 (12:11 +0100)]
Wrap IPv6 addresses in udp6:[<addr>] for check_snmp

refs #8259

9 years agoFall back to using address6 when the address attribute is not set
Gunnar Beutner [Fri, 13 Feb 2015 10:52:08 +0000 (11:52 +0100)]
Fall back to using address6 when the address attribute is not set

fixes #8259

9 years agoMake the argments for the stats functions const-ref
Michael Friedrich [Fri, 13 Feb 2015 10:28:43 +0000 (11:28 +0100)]
Make the argments for the stats functions const-ref

fixes #8433

9 years agoBuild fix for OpenBSD
Gunnar Beutner [Fri, 13 Feb 2015 10:21:20 +0000 (11:21 +0100)]
Build fix for OpenBSD

fixes #8434

9 years agoFix exception handler for --library on OS X
Gunnar Beutner [Fri, 13 Feb 2015 08:19:01 +0000 (09:19 +0100)]
Fix exception handler for --library on OS X

refs #8227

9 years agoMake checks using 'command_endpoint' work inside HA zones
James Pharaoh [Sun, 18 Jan 2015 21:15:35 +0000 (22:15 +0100)]
Make checks using 'command_endpoint' work inside HA zones

Previously there was no local processing of the executed
check result, which is mandatory inside a HA cluster.

Additionally this patch splits the command execution and
check result processing into more logical parts, executing
local checks, checks on the same command endpoint, and
remote checks.

More details in the referenced issue.

fixes #8249

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>