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

9 years agoFix authoritative zones in config sync
Michael Friedrich [Sat, 7 Feb 2015 22:41:43 +0000 (23:41 +0100)]
Fix authoritative zones in config sync

fixes #8388
refs #8256

9 years agoFix missing persistent_comment, notify_contact columns for acknowledgement table
Michael Friedrich [Sat, 7 Feb 2015 22:24:16 +0000 (23:24 +0100)]
Fix missing persistent_comment, notify_contact columns for acknowledgement table

fixes #7871
refs #8298

9 years agoRequire at least one user for notification objects (user or as member of user_groups)
Michael Friedrich [Sat, 7 Feb 2015 22:04:01 +0000 (23:04 +0100)]
Require at least one user for notification objects (user or as member of user_groups)

fixes #8067

9 years agoStatusDataWriter: Fix wrong host notification filters
Michael Friedrich [Sat, 7 Feb 2015 21:46:34 +0000 (22:46 +0100)]
StatusDataWriter: Fix wrong host notification filters

fixes #8387
refs #8192

9 years agoRemove name and return value for stats functions
Michael Friedrich [Sat, 7 Feb 2015 21:36:17 +0000 (22:36 +0100)]
Remove name and return value for stats functions

fixes #6171

9 years agoFix User::ValidateFilters isn't being used
Michael Friedrich [Sat, 7 Feb 2015 20:57:49 +0000 (21:57 +0100)]
Fix User::ValidateFilters isn't being used

fixes #8111

9 years agoImprove error message on missing included config files
Michael Friedrich [Sat, 7 Feb 2015 20:50:14 +0000 (21:50 +0100)]
Improve error message on missing included config files

fixes #8179

9 years agoFix notify flag is ignored in ACKNOWLEDGE_*_PROBLEM commands
Michael Friedrich [Sat, 7 Feb 2015 20:39:19 +0000 (21:39 +0100)]
Fix notify flag is ignored in ACKNOWLEDGE_*_PROBLEM commands

fixes #8298

9 years agoicinga2 node wizard: Create backups of certificates
Michael Friedrich [Sat, 7 Feb 2015 19:44:25 +0000 (20:44 +0100)]
icinga2 node wizard: Create backups of certificates

fixes #8260

9 years agoAdd file mode support for NodeUtility::CreateBackupFile()
Michael Friedrich [Sat, 7 Feb 2015 19:41:04 +0000 (20:41 +0100)]
Add file mode support for NodeUtility::CreateBackupFile()

refs #8260

9 years agoImprove error messages on Endpoint not belonging to a zone or multiple zones
Michael Friedrich [Sat, 7 Feb 2015 19:07:34 +0000 (20:07 +0100)]
Improve error messages on Endpoint not belonging to a zone or multiple zones

fixes #8372

9 years agoFix last_hard_state missing in StatusDataWriter
Michael Friedrich [Sat, 7 Feb 2015 18:37:12 +0000 (19:37 +0100)]
Fix last_hard_state missing in StatusDataWriter

fixes #8383

9 years agoUpdate documentation
Gunnar Beutner [Fri, 6 Feb 2015 14:08:51 +0000 (15:08 +0100)]
Update documentation

9 years agoAdd timestamp support for Graphite
Gunnar Beutner [Fri, 6 Feb 2015 07:51:33 +0000 (08:51 +0100)]
Add timestamp support for Graphite

fixes #8374

9 years agoDocument the `name` and `type` attributes
Gunnar Beutner [Fri, 6 Feb 2015 07:40:48 +0000 (08:40 +0100)]
Document the `name` and `type` attributes

fixes #8033

9 years agoLivestatus: Fix case-insensitive comparison operator
Michael Friedrich [Wed, 4 Feb 2015 20:52:02 +0000 (21:52 +0100)]
Livestatus: Fix case-insensitive comparison operator

fixes #8289

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
9 years agoAdd command definition for check_icmp
Gunnar Beutner [Thu, 5 Feb 2015 16:05:00 +0000 (17:05 +0100)]
Add command definition for check_icmp

fixes #7873

9 years agoReport failed agent checks to the master
Gunnar Beutner [Thu, 5 Feb 2015 14:36:17 +0000 (15:36 +0100)]
Report failed agent checks to the master

fixes #8257

9 years agoSend check result even when accept_commands is not set
Gunnar Beutner [Thu, 5 Feb 2015 14:17:56 +0000 (15:17 +0100)]
Send check result even when accept_commands is not set

fixes #8333

9 years agoAdd path information for objects in objects file
Gunnar Beutner [Thu, 5 Feb 2015 14:05:07 +0000 (15:05 +0100)]
Add path information for objects in objects file

fixes #8371

9 years agoRelease version 2.2.4
Gunnar Beutner [Thu, 5 Feb 2015 09:51:04 +0000 (10:51 +0100)]
Release version 2.2.4

9 years agoUpdate the ZoneName constant in "node wizard"
Gunnar Beutner [Thu, 5 Feb 2015 09:33:40 +0000 (10:33 +0100)]
Update the ZoneName constant in "node wizard"

fixes #8162

9 years agoRemove single quote in "node wizard" output
Gunnar Beutner [Thu, 5 Feb 2015 09:30:30 +0000 (10:30 +0100)]
Remove single quote in "node wizard" output

fixes #8368

9 years agoUse the %build_icinga_org RPM macro for package dependencies which are specific to...
Gunnar Beutner [Thu, 5 Feb 2015 09:16:05 +0000 (10:16 +0100)]
Use the %build_icinga_org RPM macro for package dependencies which are specific to build.icinga.org

fixes #8128

9 years agoSchedule a host downtime for command SCHEDULE_HOST_SVC_DOWNTIME
Michael Friedrich [Wed, 4 Feb 2015 20:19:47 +0000 (21:19 +0100)]
Schedule a host downtime for command SCHEDULE_HOST_SVC_DOWNTIME

fixes #8299

9 years agoImplement support for updating the program_end_time column
Gunnar Beutner [Wed, 4 Feb 2015 14:25:10 +0000 (15:25 +0100)]
Implement support for updating the program_end_time column

fixes #6923

9 years agoImplement a unit test for nullary lambdas
Gunnar Beutner [Tue, 3 Feb 2015 13:02:32 +0000 (14:02 +0100)]
Implement a unit test for nullary lambdas

fixes #7805

9 years agoUpdate repository URL for SLES 11
Gunnar Beutner [Tue, 3 Feb 2015 12:23:50 +0000 (13:23 +0100)]
Update repository URL for SLES 11

refs #7462

9 years agoAdd check_memory, update check_swap, thresholds
Jean Flach [Tue, 3 Feb 2015 09:22:09 +0000 (10:22 +0100)]
Add check_memory, update check_swap, thresholds

Adds check_memory which works like check_swap which has been updated to work like check_memory
Both sport a -u(nit) option with MB as default, like their linux versions.
A possible bug with all plugins having the -u(nit) option when using -u kB has been fixed. Don't use icinga to monitor you commodore though.

refs #8287 #8060

9 years agoFix check_swap returning wrong status without thresholds.
Jean Flach [Mon, 2 Feb 2015 14:11:11 +0000 (15:11 +0100)]
Fix check_swap returning wrong status without thresholds.

9 years agoFix check_uptime faulty behavior when using -u
Jean Flach [Mon, 2 Feb 2015 12:30:10 +0000 (13:30 +0100)]
Fix check_uptime faulty behavior when using -u

fixes #8327

9 years agoDocument operator precedence
Gunnar Beutner [Mon, 2 Feb 2015 11:35:07 +0000 (12:35 +0100)]
Document operator precedence

fixes #7816

9 years agoChange how check_swap works and a debug line in check_disk
Jean Flach [Mon, 2 Feb 2015 10:11:43 +0000 (11:11 +0100)]
Change how check_swap works and a debug line in check_disk

check_swap should now be faster and more accurate, it also checks against free space instead of taken swap.
The output and CMakeLists have been updated accordingly.

fixes #8287 refs #8060

9 years agoAdd a check command for check_hpjd
Gunnar Beutner [Mon, 2 Feb 2015 09:57:21 +0000 (10:57 +0100)]
Add a check command for check_hpjd

refs #6225

9 years agoFix missing files in the Windows package
Gunnar Beutner [Mon, 2 Feb 2015 08:58:38 +0000 (09:58 +0100)]
Fix missing files in the Windows package

fixes #8200

9 years agoFix check_network.exe always returning warning
Jean Flach [Mon, 2 Feb 2015 08:21:46 +0000 (09:21 +0100)]
Fix check_network.exe always returning warning

fixes #8306

9 years agoImplement the Array#join method
Gunnar Beutner [Mon, 2 Feb 2015 07:37:55 +0000 (08:37 +0100)]
Implement the Array#join method

fixes #8322