]> granicus.if.org Git - icinga2/log
icinga2
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>
9 years agoAdd the changelog.py script
Gunnar Beutner [Thu, 12 Feb 2015 14:52:06 +0000 (15:52 +0100)]
Add the changelog.py script

9 years agoDon't spam the log with reminder notifications not being sent
Michael Friedrich [Thu, 12 Feb 2015 13:51:17 +0000 (14:51 +0100)]
Don't spam the log with reminder notifications not being sent

fixes #7731

9 years agoDB IDO: Require schema version 1.13.0
Michael Friedrich [Thu, 12 Feb 2015 13:22:24 +0000 (14:22 +0100)]
DB IDO: Require schema version 1.13.0

refs #8425

9 years agoDB IDO: Fix header in sql files
Michael Friedrich [Thu, 12 Feb 2015 12:58:53 +0000 (13:58 +0100)]
DB IDO: Fix header in sql files

9 years agoDB IDO: Fix duplicate entries in scheduleddowntime table
Michael Friedrich [Thu, 12 Feb 2015 12:18:33 +0000 (13:18 +0100)]
DB IDO: Fix duplicate entries in scheduleddowntime table

fixes #8425

9 years agoDB IDO: Fix duplicate entries in {host,service}depencencies table
Michael Friedrich [Thu, 12 Feb 2015 12:16:30 +0000 (13:16 +0100)]
DB IDO: Fix duplicate entries in {host,service}depencencies table

fixes #7765

9 years agoUpdate documentation
Gunnar Beutner [Thu, 12 Feb 2015 09:29:21 +0000 (10:29 +0100)]
Update documentation

9 years agoFix incorrect macro name in the disk check command
Gunnar Beutner [Thu, 12 Feb 2015 08:24:28 +0000 (09:24 +0100)]
Fix incorrect macro name in the disk check command

refs #8316

9 years agoAdd a few more file system types which are ignored by default
Gunnar Beutner [Thu, 12 Feb 2015 08:15:46 +0000 (09:15 +0100)]
Add a few more file system types which are ignored by default

refs #8316

9 years agoDocumentation: Update Configuring Icinga 2
Michael Friedrich [Wed, 11 Feb 2015 16:16:44 +0000 (17:16 +0100)]
Documentation: Update Configuring Icinga 2

9 years agoDocumentation: Move Debug from Troubleshooting into a separate section
Michael Friedrich [Wed, 11 Feb 2015 15:58:15 +0000 (16:58 +0100)]
Documentation: Move Debug from Troubleshooting into a separate section

9 years agoImplement {EN,DIS}ABLE_HOST_SVC_NOTIFICATIONS commands
Michael Friedrich [Wed, 11 Feb 2015 15:45:52 +0000 (16:45 +0100)]
Implement {EN,DIS}ABLE_HOST_SVC_NOTIFICATIONS commands

fixes #7784

9 years agoMove ValidateMacroString into the MacroProcessor class
Michael Friedrich [Wed, 11 Feb 2015 15:08:02 +0000 (16:08 +0100)]
Move ValidateMacroString into the MacroProcessor class

refs #7311

9 years agoResolve macros in dictionary values
Michael Friedrich [Wed, 11 Feb 2015 14:58:59 +0000 (15:58 +0100)]
Resolve macros in dictionary values

refs #7311

9 years agoFix compiler warning
Michael Friedrich [Wed, 11 Feb 2015 14:58:07 +0000 (15:58 +0100)]
Fix compiler warning

9 years agoReplace if( with if (
Gunnar Beutner [Wed, 11 Feb 2015 14:47:45 +0000 (15:47 +0100)]
Replace if( with if (

9 years agoAdd macro config validator for command args, env, custom attr, perfdata templates
Michael Friedrich [Wed, 11 Feb 2015 12:12:08 +0000 (13:12 +0100)]
Add macro config validator for command args, env, custom attr, perfdata templates

fixes #7311

9 years agoUpdate documentation
Gunnar Beutner [Wed, 11 Feb 2015 14:12:06 +0000 (15:12 +0100)]
Update documentation

9 years agoAdd missing file
Gunnar Beutner [Wed, 11 Feb 2015 13:15:03 +0000 (14:15 +0100)]
Add missing file

9 years agoUpdate documentation
Gunnar Beutner [Wed, 11 Feb 2015 13:10:21 +0000 (14:10 +0100)]
Update documentation

fixes #7564

9 years agoUpdate documentation
Gunnar Beutner [Wed, 11 Feb 2015 10:51:58 +0000 (11:51 +0100)]
Update documentation

9 years agoAdd documentation for the 'icinga2 console' command
Gunnar Beutner [Wed, 11 Feb 2015 09:20:36 +0000 (10:20 +0100)]
Add documentation for the 'icinga2 console' command

fixes #8386

9 years agoFix a crash in yyerror()
Gunnar Beutner [Tue, 10 Feb 2015 14:53:20 +0000 (15:53 +0100)]
Fix a crash in yyerror()

refs #8133

9 years agoFix off-by-one mistake for error reporting
Gunnar Beutner [Tue, 10 Feb 2015 14:40:37 +0000 (15:40 +0100)]
Fix off-by-one mistake for error reporting

refs #8133

9 years agoAdd documentation for the object accessor functions
Gunnar Beutner [Tue, 10 Feb 2015 14:21:48 +0000 (15:21 +0100)]
Add documentation for the object accessor functions

refs #7564

9 years agoImprove error reporting for "icinga2 console"
Gunnar Beutner [Tue, 10 Feb 2015 12:58:35 +0000 (13:58 +0100)]
Improve error reporting for "icinga2 console"

refs #8133

9 years agoImplement line continuation for "icinga2 console"
Gunnar Beutner [Tue, 10 Feb 2015 12:27:02 +0000 (13:27 +0100)]
Implement line continuation for "icinga2 console"

fixes #8133

9 years agoAllow funcs in the 'env' dictionary
Gunnar Beutner [Tue, 10 Feb 2015 09:59:08 +0000 (10:59 +0100)]
Allow funcs in the 'env' dictionary

refs #7564

9 years agoIgnore the -X option for check_disk (on Windows)
Gunnar Beutner [Tue, 10 Feb 2015 08:32:14 +0000 (09:32 +0100)]
Ignore the -X option for check_disk (on Windows)

fixes #8405

9 years agoAdd another missing directory
Gunnar Beutner [Tue, 10 Feb 2015 08:31:41 +0000 (09:31 +0100)]
Add another missing directory

refs #7995

9 years agoAdd missing directory in the Windows setup wizard
Gunnar Beutner [Tue, 10 Feb 2015 08:02:31 +0000 (09:02 +0100)]
Add missing directory in the Windows setup wizard

fixes #7995

9 years agoAdd missing spaces in some error messages
Gunnar Beutner [Tue, 10 Feb 2015 07:57:54 +0000 (08:57 +0100)]
Add missing spaces in some error messages

refs #7995

9 years agoUpdate validators for CustomVarObject
Gunnar Beutner [Tue, 10 Feb 2015 07:53:15 +0000 (08:53 +0100)]
Update validators for CustomVarObject

fixes #7542

9 years agoImplement argument auto-completion for short options
Gunnar Beutner [Tue, 10 Feb 2015 07:35:56 +0000 (08:35 +0100)]
Implement argument auto-completion for short options

fixes #8185

9 years agonode update-config: Check node name against blacklist too
Michael Friedrich [Mon, 9 Feb 2015 17:56:17 +0000 (18:56 +0100)]
node update-config: Check node name against blacklist too

fixes #8211

9 years agoFix timestamp format for the .timestamp file
Gunnar Beutner [Mon, 9 Feb 2015 14:22:55 +0000 (15:22 +0100)]
Fix timestamp format for the .timestamp file

fixes #8313

9 years agoconsole: Don't repeat line when we're reporting an error for the last line
Gunnar Beutner [Mon, 9 Feb 2015 14:15:26 +0000 (15:15 +0100)]
console: Don't repeat line when we're reporting an error for the last line

fixes #8099

9 years agoImprove error message for setgroups/initgroups/setuid
Gunnar Beutner [Mon, 9 Feb 2015 13:58:20 +0000 (14:58 +0100)]
Improve error message for setgroups/initgroups/setuid

fixes #8294

9 years agoDisable flapping detection by default
Gunnar Beutner [Mon, 9 Feb 2015 13:23:09 +0000 (14:23 +0100)]
Disable flapping detection by default

fixes #6868

9 years agoSet LC_NUMERIC=C for all processes on *NIX
Gunnar Beutner [Mon, 9 Feb 2015 13:21:06 +0000 (14:21 +0100)]
Set LC_NUMERIC=C for all processes on *NIX

fixes #6857

9 years agoCreate certificate backups in 'node setup'
Michael Friedrich [Mon, 9 Feb 2015 13:19:26 +0000 (14:19 +0100)]
Create certificate backups in 'node setup'

fixes #8399

9 years agoDon't set up instance variables for fields which have been marked as no_storage
Gunnar Beutner [Mon, 9 Feb 2015 13:09:43 +0000 (14:09 +0100)]
Don't set up instance variables for fields which have been marked as no_storage

fixes #8400

9 years agoBuild fix for Windows
Michael Friedrich [Mon, 9 Feb 2015 13:04:00 +0000 (14:04 +0100)]
Build fix for Windows

fixes #8260

9 years agoAdd documentation for runtime attributes
Gunnar Beutner [Mon, 9 Feb 2015 12:12:28 +0000 (13:12 +0100)]
Add documentation for runtime attributes

refs #7564

9 years agoMake sure all fields in the Field class are initialized
Gunnar Beutner [Mon, 9 Feb 2015 11:37:29 +0000 (12:37 +0100)]
Make sure all fields in the Field class are initialized

refs #7564

9 years agoBuild fix for Windows
Gunnar Beutner [Mon, 9 Feb 2015 10:03:19 +0000 (11:03 +0100)]
Build fix for Windows

refs #7564

9 years agoFix output of check_ping
Jean Flach [Mon, 9 Feb 2015 08:03:03 +0000 (09:03 +0100)]
Fix output of check_ping

9 years agoImplement additional attributes for the Host class
Gunnar Beutner [Mon, 9 Feb 2015 07:50:17 +0000 (08:50 +0100)]
Implement additional attributes for the Host class

refs #7564

9 years agoImplement the Json.encode and Json.decode methods
Gunnar Beutner [Mon, 9 Feb 2015 07:12:42 +0000 (08:12 +0100)]
Implement the Json.encode and Json.decode methods

fixes #8393

9 years agoConfig sync: Open config files in binary mode
Gunnar Beutner [Mon, 9 Feb 2015 06:44:45 +0000 (07:44 +0100)]
Config sync: Open config files in binary mode

fixes #8390

9 years agoRelax the validator for Notification::users/Notification::user_groups a bit
Gunnar Beutner [Sun, 8 Feb 2015 10:03:10 +0000 (11:03 +0100)]
Relax the validator for Notification::users/Notification::user_groups a bit

fixes #8067

9 years agoAdd host/service runtime macro downtime_depth
Michael Friedrich [Sat, 7 Feb 2015 23:15:38 +0000 (00:15 +0100)]
Add host/service runtime macro downtime_depth

fixes #8195

9 years agoTrigger added downtimes immediately if checkable is Not-OK
Michael Friedrich [Sat, 7 Feb 2015 23:08:12 +0000 (00:08 +0100)]
Trigger added downtimes immediately if checkable is Not-OK

fixes #8389