]> granicus.if.org Git - icinga2/log
icinga2
8 years agoUse 'auto' keyword for iterator declarations (part 2)
Gunnar Beutner [Sat, 27 Aug 2016 17:56:12 +0000 (19:56 +0200)]
Use 'auto' keyword for iterator declarations (part 2)

refs #12561

8 years agoProvide location information for objects and templates in the API
Gunnar Beutner [Sat, 27 Aug 2016 17:25:38 +0000 (19:25 +0200)]
Provide location information for objects and templates in the API

fixes #12566

8 years agoAvoid unnecessary copies for the DebugHint class
Gunnar Beutner [Sat, 27 Aug 2016 16:43:14 +0000 (18:43 +0200)]
Avoid unnecessary copies for the DebugHint class

refs #12509

8 years agoAdd -flto to compiler flags
Gunnar Beutner [Sat, 27 Aug 2016 14:07:37 +0000 (16:07 +0200)]
Add -flto to compiler flags

fixes #12564

8 years agoFix ccache support for Travis CI
Gunnar Beutner [Sat, 27 Aug 2016 10:47:39 +0000 (12:47 +0200)]
Fix ccache support for Travis CI

8 years agoFix compatibility with boost <= 1.53
Gunnar Beutner [Sat, 27 Aug 2016 10:35:05 +0000 (12:35 +0200)]
Fix compatibility with boost <= 1.53

refs #12555

8 years agoFix incorrect variable type in the FilterArrayToInt function
Gunnar Beutner [Sat, 27 Aug 2016 10:23:09 +0000 (12:23 +0200)]
Fix incorrect variable type in the FilterArrayToInt function

refs #12509

8 years agoAvoid an unnecessary case in the Encode function
Gunnar Beutner [Sat, 27 Aug 2016 10:20:54 +0000 (12:20 +0200)]
Avoid an unnecessary case in the Encode function

refs #12509

8 years agoUse range-based for loops in mkclass
Gunnar Beutner [Sat, 27 Aug 2016 10:17:10 +0000 (12:17 +0200)]
Use range-based for loops in mkclass

refs #12538
refs #12509

8 years agoAvoid unnecessary string copies in the JSON encoder
Gunnar Beutner [Sat, 27 Aug 2016 09:47:36 +0000 (11:47 +0200)]
Avoid unnecessary string copies in the JSON encoder

refs #12509

8 years agoUse 'default' for move constructors
Gunnar Beutner [Sat, 27 Aug 2016 09:39:08 +0000 (11:39 +0200)]
Use 'default' for move constructors

refs #12555

8 years agoAdd another rvalue constructor for the String class
Gunnar Beutner [Sat, 27 Aug 2016 09:00:04 +0000 (11:00 +0200)]
Add another rvalue constructor for the String class

refs #12555

8 years agoRemove unused #includes
Gunnar Beutner [Sat, 27 Aug 2016 08:59:52 +0000 (10:59 +0200)]
Remove unused #includes

refs #12481

8 years agoImprove support for MySQL >=5.7
Gunnar Beutner [Sat, 27 Aug 2016 08:20:34 +0000 (10:20 +0200)]
Improve support for MySQL >=5.7

fixes #12558

8 years agoDon't link against libmysqlclient_r
Gunnar Beutner [Sat, 27 Aug 2016 07:59:23 +0000 (09:59 +0200)]
Don't link against libmysqlclient_r

fixes #12514

8 years agoUse lambda functions for INITIALIZE_ONCE
Gunnar Beutner [Sat, 27 Aug 2016 07:35:08 +0000 (09:35 +0200)]
Use lambda functions for INITIALIZE_ONCE

fixes #12562

8 years agoUse 'auto' for iterator declarations
Gunnar Beutner [Sat, 27 Aug 2016 06:33:15 +0000 (08:33 +0200)]
Use 'auto' for iterator declarations

fixes #12561

8 years agoFix support for building with ccache
Gunnar Beutner [Sat, 27 Aug 2016 06:01:13 +0000 (08:01 +0200)]
Fix support for building with ccache

refs #12537

8 years agoImprove error message for old versions of GCC
Gunnar Beutner [Sat, 27 Aug 2016 05:45:37 +0000 (07:45 +0200)]
Improve error message for old versions of GCC

refs #12537

8 years agoAdd rvalue support for the Array and Dictionary classes
Gunnar Beutner [Sat, 27 Aug 2016 05:35:04 +0000 (07:35 +0200)]
Add rvalue support for the Array and Dictionary classes

refs #12555

8 years agoAvoid unnecessary string copies for LiteralExpression objects
Gunnar Beutner [Fri, 26 Aug 2016 16:11:56 +0000 (18:11 +0200)]
Avoid unnecessary string copies for LiteralExpression objects

refs #12509

8 years agoAdd another rvalue constructor for the Value class
Gunnar Beutner [Fri, 26 Aug 2016 16:11:28 +0000 (18:11 +0200)]
Add another rvalue constructor for the Value class

refs #12555

8 years agoImprove config validation for arrays of object names
Gunnar Beutner [Fri, 26 Aug 2016 08:36:53 +0000 (10:36 +0200)]
Improve config validation for arrays of object names

fixes #12556

8 years agoImplement an rvalue constructor for the String and Value classes
Gunnar Beutner [Fri, 26 Aug 2016 06:58:49 +0000 (08:58 +0200)]
Implement an rvalue constructor for the String and Value classes

fixes #12555

8 years agoAdd missing #include in loader.cpp
Gunnar Beutner [Thu, 25 Aug 2016 18:59:22 +0000 (20:59 +0200)]
Add missing #include in loader.cpp

refs #12552

8 years agoImplement the --file and --syntax-only options for "icinga2 console"
Gunnar Beutner [Thu, 25 Aug 2016 17:14:54 +0000 (19:14 +0200)]
Implement the --file and --syntax-only options for "icinga2 console"

fixes #12554
fixes #10675

8 years agoSet versions for all internal libraries
Gunnar Beutner [Thu, 25 Aug 2016 15:32:20 +0000 (17:32 +0200)]
Set versions for all internal libraries

fixes #12552

8 years agoAdd missing initializer for WorkQueue::m_NextTaskID
Gunnar Beutner [Thu, 25 Aug 2016 09:57:00 +0000 (11:57 +0200)]
Add missing initializer for WorkQueue::m_NextTaskID

fixes #12545

8 years agoRemove unused method: ApplyRule::DiscardRules
Gunnar Beutner [Thu, 25 Aug 2016 08:21:14 +0000 (10:21 +0200)]
Remove unused method: ApplyRule::DiscardRules

fixes #12544

8 years agoMerge branch 'support/2.5'
Gunnar Beutner [Thu, 25 Aug 2016 06:09:58 +0000 (08:09 +0200)]
Merge branch 'support/2.5'

8 years agoRelease version 2.5.3
Gunnar Beutner [Thu, 25 Aug 2016 06:08:01 +0000 (08:08 +0200)]
Release version 2.5.3

8 years agoRelease version 2.5.3 v2.5.3
Gunnar Beutner [Thu, 25 Aug 2016 06:08:01 +0000 (08:08 +0200)]
Release version 2.5.3

8 years agoFix incorrect hash size for User objects
Gunnar Beutner [Thu, 25 Aug 2016 05:37:41 +0000 (07:37 +0200)]
Fix incorrect hash size for User objects

fixes #12533

8 years agoFix incorrect hash size for User objects
Gunnar Beutner [Thu, 25 Aug 2016 05:37:41 +0000 (07:37 +0200)]
Fix incorrect hash size for User objects

fixes #12533

8 years agoFix compiler warning in dbg_eval
Gunnar Beutner [Thu, 25 Aug 2016 04:44:41 +0000 (06:44 +0200)]
Fix compiler warning in dbg_eval

refs #12534

8 years agoReplace BOOST_FOREACH with range-based for loops
Gunnar Beutner [Thu, 25 Aug 2016 04:19:44 +0000 (06:19 +0200)]
Replace BOOST_FOREACH with range-based for loops

fixes #12538

8 years agoUpdate cmake config to require a compiler that supports C++11
Gunnar Beutner [Thu, 25 Aug 2016 03:14:13 +0000 (05:14 +0200)]
Update cmake config to require a compiler that supports C++11

fixes #12537

8 years agoAdd -fvisibility=hidden to the default compiler flags
Gunnar Beutner [Thu, 25 Aug 2016 03:05:51 +0000 (05:05 +0200)]
Add -fvisibility=hidden to the default compiler flags

fixes #12536

8 years agoFix compiler warnings in DB IDO
Gunnar Beutner [Thu, 25 Aug 2016 03:00:46 +0000 (05:00 +0200)]
Fix compiler warnings in DB IDO

refs #12534

8 years agoDetect logrotate not installed in /usr/sbin
Louis Sautier [Mon, 22 Aug 2016 22:59:24 +0000 (00:59 +0200)]
Detect logrotate not installed in /usr/sbin

Gentoo started installing the logrotate binary to bin, see
gentoo/gentoo@bc23def39c3c70c8ee0eae0f0d9ce77dfb4169d8
and https://bugs.gentoo.org/show_bug.cgi?id=588156
There might be other systems doing that, which makes it a good idea
to stop hardcoding the path.

fixes #12535

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
8 years agoFix compiler warnings
Gunnar Beutner [Wed, 24 Aug 2016 17:59:13 +0000 (19:59 +0200)]
Fix compiler warnings

fixes #12534

8 years agoImplement unit tests for state changes
Gunnar Beutner [Wed, 24 Aug 2016 09:11:20 +0000 (11:11 +0200)]
Implement unit tests for state changes

fixes #12530

8 years agoMerge branch 'support/2.5'
Michael Friedrich [Wed, 24 Aug 2016 13:20:02 +0000 (15:20 +0200)]
Merge branch 'support/2.5'

8 years agoRelease version 2.5.2
Michael Friedrich [Wed, 24 Aug 2016 12:05:44 +0000 (14:05 +0200)]
Release version 2.5.2

8 years agoRelease version 2.5.2 v2.5.2
Michael Friedrich [Wed, 24 Aug 2016 12:05:44 +0000 (14:05 +0200)]
Release version 2.5.2

8 years agoFix missing IDO updates for groups
Gunnar Beutner [Wed, 24 Aug 2016 09:35:12 +0000 (11:35 +0200)]
Fix missing IDO updates for groups

fixes #12527

8 years agoFix incorrect notifications for soft recoveries
Gunnar Beutner [Wed, 24 Aug 2016 09:13:19 +0000 (11:13 +0200)]
Fix incorrect notifications for soft recoveries

fixes #12529

8 years agoDocs: Change tip/note formatting again
Michael Friedrich [Tue, 23 Aug 2016 18:20:15 +0000 (20:20 +0200)]
Docs: Change tip/note formatting again

refs #12523

8 years agoDocs: Fix notes formatting
Michael Friedrich [Tue, 23 Aug 2016 18:11:37 +0000 (20:11 +0200)]
Docs: Fix notes formatting

refs #12523

8 years agoFix missing IDO updates for groups
Gunnar Beutner [Wed, 24 Aug 2016 09:35:12 +0000 (11:35 +0200)]
Fix missing IDO updates for groups

fixes #12527

8 years agoFix incorrect notifications for soft recoveries
Gunnar Beutner [Wed, 24 Aug 2016 09:13:19 +0000 (11:13 +0200)]
Fix incorrect notifications for soft recoveries

fixes #12529

8 years agoDocs: Change tip/note formatting again
Michael Friedrich [Tue, 23 Aug 2016 18:20:15 +0000 (20:20 +0200)]
Docs: Change tip/note formatting again

refs #12523

8 years agoDocs: Fix notes formatting
Michael Friedrich [Tue, 23 Aug 2016 18:11:37 +0000 (20:11 +0200)]
Docs: Fix notes formatting

refs #12523

8 years agoDon't update TimePeriod ranges for inactive objects
Gunnar Beutner [Tue, 23 Aug 2016 04:59:52 +0000 (06:59 +0200)]
Don't update TimePeriod ranges for inactive objects

fixes #12511

8 years agoImplement an environment variable to keep Icinga from closing FDs on startup
Gunnar Beutner [Tue, 23 Aug 2016 03:11:22 +0000 (05:11 +0200)]
Implement an environment variable to keep Icinga from closing FDs on startup

fixes #12510

8 years agoAvoid unnecessary string copies
Gunnar Beutner [Sat, 20 Aug 2016 21:46:44 +0000 (23:46 +0200)]
Avoid unnecessary string copies

fixes #12509

8 years agoRemove deprecated functions
Gunnar Beutner [Tue, 23 Aug 2016 00:43:23 +0000 (02:43 +0200)]
Remove deprecated functions

fixes #12507

8 years agoMerge branch 'support/2.5'
Michael Friedrich [Tue, 23 Aug 2016 13:01:09 +0000 (15:01 +0200)]
Merge branch 'support/2.5'

8 years agoRelease version 2.5.1
Michael Friedrich [Tue, 23 Aug 2016 12:50:56 +0000 (14:50 +0200)]
Release version 2.5.1

8 years agoFix that recovery notifications are sent in SOFT NOT-OK states
Michael Friedrich [Tue, 23 Aug 2016 12:35:59 +0000 (14:35 +0200)]
Fix that recovery notifications are sent in SOFT NOT-OK states

fixes #12517

8 years agoRelease version 2.5.1 v2.5.1
Michael Friedrich [Tue, 23 Aug 2016 12:50:56 +0000 (14:50 +0200)]
Release version 2.5.1

8 years agoFix that recovery notifications are sent in SOFT NOT-OK states
Michael Friedrich [Tue, 23 Aug 2016 12:35:59 +0000 (14:35 +0200)]
Fix that recovery notifications are sent in SOFT NOT-OK states

fixes #12517

8 years agoFix missing constants on Windows
Gunnar Beutner [Tue, 23 Aug 2016 09:38:21 +0000 (11:38 +0200)]
Fix missing constants on Windows

refs #10722

8 years agoReset .spec revision to 1
Gunnar Beutner [Tue, 23 Aug 2016 00:38:09 +0000 (02:38 +0200)]
Reset .spec revision to 1

8 years agoRelease version 2.5.0 v2.5.0
Gunnar Beutner [Mon, 22 Aug 2016 12:11:50 +0000 (14:11 +0200)]
Release version 2.5.0

8 years agoFix crash in JsonRpcConnection::MessageHandlerWrapper
Gunnar Beutner [Mon, 22 Aug 2016 14:35:16 +0000 (16:35 +0200)]
Fix crash in JsonRpcConnection::MessageHandlerWrapper

fixes #12506

8 years agoRevert "RPM: Add firewalld service"
Gunnar Beutner [Mon, 22 Aug 2016 11:31:29 +0000 (13:31 +0200)]
Revert "RPM: Add firewalld service"

This reverts commit 28e40caed26b12afb46bc291aa8c9fc802cae9a2.

fixes #12495

8 years agoCluster: Fix notified users for NotificationSentToAllUsers event
Michael Friedrich [Mon, 22 Aug 2016 08:47:09 +0000 (10:47 +0200)]
Cluster: Fix notified users for NotificationSentToAllUsers event

refs #12449
refs #12444

8 years agoDocs: Small addition for endpoint explanation
Michael Friedrich [Mon, 22 Aug 2016 07:59:44 +0000 (09:59 +0200)]
Docs: Small addition for endpoint explanation

refs #12498
refs #12386

8 years agoDocs: Fix typos, formatting, phrasing
Michael Friedrich [Sun, 21 Aug 2016 10:43:28 +0000 (12:43 +0200)]
Docs: Fix typos, formatting, phrasing

refs #12386

8 years agoDocs: Review service monitoring and distributed monitoring chapters, part II
Michael Friedrich [Sat, 20 Aug 2016 12:51:05 +0000 (14:51 +0200)]
Docs: Review service monitoring and distributed monitoring chapters, part II

Kudos to sru and the kind feedback from monitoring-portal.org users.

fixes #12386

8 years agoDocs: Review service monitoring and distributed monitoring chapters, part I
Heike Jurzik [Sat, 20 Aug 2016 12:17:18 +0000 (14:17 +0200)]
Docs: Review service monitoring and distributed monitoring chapters, part I

refs #12386

8 years agoFix crash in HttpServerConnection::ProcessMessageAsync
Gunnar Beutner [Fri, 19 Aug 2016 18:35:20 +0000 (20:35 +0200)]
Fix crash in HttpServerConnection::ProcessMessageAsync

fixes #12493

8 years agoUpdate AUTHORS
Michael Friedrich [Fri, 19 Aug 2016 11:17:17 +0000 (13:17 +0200)]
Update AUTHORS

refs #12488

8 years agoDocs: Fix typo in Notification object
Mirco Bauer [Fri, 19 Aug 2016 10:10:07 +0000 (12:10 +0200)]
Docs: Fix typo in Notification object

fixes #12488

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
8 years agoRevert "Fix incorrect detection of the 'Concurrency' variable"
Gunnar Beutner [Fri, 19 Aug 2016 09:58:40 +0000 (11:58 +0200)]
Revert "Fix incorrect detection of the 'Concurrency' variable"

This reverts commit 585f0537d244fb8fb229924f9e7c5c8478bb2a92.

refs #12456

8 years agoFix memory leak for the 'use' keyword
Gunnar Beutner [Fri, 19 Aug 2016 07:07:57 +0000 (09:07 +0200)]
Fix memory leak for the 'use' keyword

fixes #12487

8 years agoFix: ITL uses unsupported arguments for check_swap on Debian wheezy/Ubuntu trusty
Gunnar Beutner [Fri, 19 Aug 2016 01:28:08 +0000 (03:28 +0200)]
Fix: ITL uses unsupported arguments for check_swap on Debian wheezy/Ubuntu trusty

fixes #12485

8 years agoFix missing permissions and update the documentation
Gunnar Beutner [Thu, 18 Aug 2016 17:00:14 +0000 (19:00 +0200)]
Fix missing permissions and update the documentation

fixes #12483

8 years agoRemove some unused #includes
Gunnar Beutner [Thu, 18 Aug 2016 13:45:14 +0000 (15:45 +0200)]
Remove some unused #includes

fixes #12481

8 years agoDocs: Fix service monitoring formatting; add VMWare timeout hint
Michael Friedrich [Thu, 18 Aug 2016 10:45:22 +0000 (12:45 +0200)]
Docs: Fix service monitoring formatting; add VMWare timeout hint

refs #12386

8 years agoDevelopment docs: Add own section for gdb backtrace from a running process
Michael Friedrich [Thu, 18 Aug 2016 10:29:34 +0000 (12:29 +0200)]
Development docs: Add own section for gdb backtrace from a running process

fixes #12477

8 years agoMake "clr-check-command" template usable on *nix
Gunnar Beutner [Thu, 18 Aug 2016 08:27:41 +0000 (10:27 +0200)]
Make "clr-check-command" template usable on *nix

fixes #12474

8 years agoFix incorrect certificate validation error message
Gunnar Beutner [Thu, 18 Aug 2016 08:23:13 +0000 (10:23 +0200)]
Fix incorrect certificate validation error message

fixes #12475

8 years agoFix incorrect API example in the documentation
Gunnar Beutner [Thu, 18 Aug 2016 08:06:29 +0000 (10:06 +0200)]
Fix incorrect API example in the documentation

fixes #12473

8 years agoUpdate AUTHORS
Michael Friedrich [Thu, 18 Aug 2016 07:06:49 +0000 (09:06 +0200)]
Update AUTHORS

refs #12468
refs #12392

8 years agoAdd interfacetable CheckCommand options --trafficwithpkt and --snmp-maxmsgsize
Yannick Charton [Wed, 17 Aug 2016 15:08:26 +0000 (17:08 +0200)]
Add interfacetable CheckCommand options --trafficwithpkt and --snmp-maxmsgsize

fixes #12468

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
8 years agoFix: IDO marks objects as inactive on shutdown
Gunnar Beutner [Wed, 17 Aug 2016 17:24:22 +0000 (19:24 +0200)]
Fix: IDO marks objects as inactive on shutdown

fixes #12418

8 years agoAPI: Fix missing attributes for DowntimeTriggered event
Michael Friedrich [Wed, 17 Aug 2016 14:57:22 +0000 (16:57 +0200)]
API: Fix missing attributes for DowntimeTriggered event

fixes #12464

8 years agoRemove obsolete reference to serial.txt
Rune Darrud [Wed, 17 Aug 2016 13:57:45 +0000 (15:57 +0200)]
Remove obsolete reference to serial.txt

fixes #12467

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
8 years agoFix problem with duplicate INSERTs for the same key columns
Gunnar Beutner [Wed, 17 Aug 2016 11:24:18 +0000 (13:24 +0200)]
Fix problem with duplicate INSERTs for the same key columns

fixes #12461
fixes #12458

8 years agoAdd missing lock
Gunnar Beutner [Wed, 17 Aug 2016 07:16:27 +0000 (09:16 +0200)]
Add missing lock

refs #12450

8 years agoRemove unnecessary dictionary lookups in the DebugHint class
Gunnar Beutner [Wed, 17 Aug 2016 06:51:16 +0000 (08:51 +0200)]
Remove unnecessary dictionary lookups in the DebugHint class

refs #12457

8 years agoFix incorrect customvariablestatus query
Gunnar Beutner [Wed, 17 Aug 2016 06:35:28 +0000 (08:35 +0200)]
Fix incorrect customvariablestatus query

fixes #12459

8 years agoFix incorrect detection of the 'Concurrency' variable
Gunnar Beutner [Tue, 16 Aug 2016 18:19:19 +0000 (20:19 +0200)]
Fix incorrect detection of the 'Concurrency' variable

fixes #12456

8 years agoFix that HA enabled objects are started before config validation has finished
Michael Friedrich [Wed, 17 Aug 2016 07:19:05 +0000 (09:19 +0200)]
Fix that HA enabled objects are started before config validation has finished

fixes #12460

8 years agoDo not escape backslashes and separators twice
Rune Darrud [Tue, 16 Aug 2016 20:16:37 +0000 (22:16 +0200)]
Do not escape backslashes and separators twice

fixes #12227

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
8 years agoRemove unnecessary Dictionary::Contains calls
Gunnar Beutner [Tue, 16 Aug 2016 20:03:30 +0000 (22:03 +0200)]
Remove unnecessary Dictionary::Contains calls

fixes #12457

8 years agoAPI: Fix that schedule-downtime action requires duration for fixed=true
Michael Friedrich [Tue, 16 Aug 2016 15:08:41 +0000 (17:08 +0200)]
API: Fix that schedule-downtime action requires duration for fixed=true

fixes #12454

8 years agoUse hash-based serial numbers for new certificates
Gunnar Beutner [Tue, 16 Aug 2016 13:01:54 +0000 (15:01 +0200)]
Use hash-based serial numbers for new certificates

fixes #12453