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

7 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

7 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

7 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

7 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>
7 years agoFix compiler warnings
Gunnar Beutner [Wed, 24 Aug 2016 17:59:13 +0000 (19:59 +0200)]
Fix compiler warnings

fixes #12534

7 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

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

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

7 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

7 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

7 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

7 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

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

refs #12523

7 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

7 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

7 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

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

refs #12523

7 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

7 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

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

fixes #12509

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

fixes #12507

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

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

7 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

7 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

7 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

7 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

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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

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

refs #12488

7 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>
7 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

7 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

7 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

7 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

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

fixes #12481

7 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

7 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

7 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

7 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

7 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

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

refs #12468
refs #12392

7 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>
7 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

7 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

7 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>
7 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

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

refs #12450

7 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

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

fixes #12459

7 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

7 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

7 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>
7 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

7 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

7 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

7 years agoCleanup unused functions from icinga-installer
Rune Darrud [Tue, 16 Aug 2016 12:07:52 +0000 (14:07 +0200)]
Cleanup unused functions from icinga-installer

fixes #12452

7 years agoImprove performance for Endpoint config validation
Gunnar Beutner [Tue, 16 Aug 2016 11:53:45 +0000 (13:53 +0200)]
Improve performance for Endpoint config validation

fixes #12450

7 years agoRemove debug output in NotificationComponent
Michael Friedrich [Tue, 16 Aug 2016 11:47:48 +0000 (13:47 +0200)]
Remove debug output in NotificationComponent

refs #12402

7 years agoRemove the ConfigTypeIterator class
Gunnar Beutner [Tue, 16 Aug 2016 11:25:36 +0000 (13:25 +0200)]
Remove the ConfigTypeIterator class

refs #12448

7 years agoicinga2.conf: Include plugins-contrib, manubulon, windows-plugins, nscp by default
Michael Friedrich [Tue, 16 Aug 2016 06:42:52 +0000 (08:42 +0200)]
icinga2.conf: Include plugins-contrib, manubulon, windows-plugins, nscp by default

This helps a lot when configuring client checks as command endpoint
where the check command definitions are both used on the master
and the client.

fixes #10722

7 years agoImprove performance for type lookups
Gunnar Beutner [Tue, 16 Aug 2016 09:02:10 +0000 (11:02 +0200)]
Improve performance for type lookups

fixes #12448

7 years agoFix NotificationSentToAllUsers cluster event
Michael Friedrich [Tue, 16 Aug 2016 07:30:10 +0000 (09:30 +0200)]
Fix NotificationSentToAllUsers cluster event

refs #12444

7 years agoAdd an explicit flag for disabling reminder notifications
Michael Friedrich [Mon, 15 Aug 2016 16:32:51 +0000 (18:32 +0200)]
Add an explicit flag for disabling reminder notifications

refs #12402

7 years agoFix: ClusterEvents::NotificationSentAllUsersAPIHandler() does not set notified_users
Michael Friedrich [Mon, 15 Aug 2016 15:26:01 +0000 (17:26 +0200)]
Fix: ClusterEvents::NotificationSentAllUsersAPIHandler() does not set notified_users

fixes #12444

7 years agoDocs: Fix missing ITL template
Michael Friedrich [Mon, 15 Aug 2016 14:18:02 +0000 (16:18 +0200)]
Docs: Fix missing ITL template

fixes #12442

7 years agoFix ITL methods templates for timeperiods
Michael Friedrich [Mon, 15 Aug 2016 14:16:23 +0000 (16:16 +0200)]
Fix ITL methods templates for timeperiods

fixes #12338

7 years agoAPI: Implement 'generate-ticket' action and update distributed monitoring docs
Michael Friedrich [Mon, 15 Aug 2016 12:32:41 +0000 (14:32 +0200)]
API: Implement 'generate-ticket' action and update distributed monitoring docs

fixes #12433

7 years agoImplement support for incremental IDO updates
Gunnar Beutner [Sun, 14 Aug 2016 20:24:51 +0000 (22:24 +0200)]
Implement support for incremental IDO updates

fixes #12435

7 years agoReplace GetType()->GetName() calls with GetReflectionType()->GetName()
Gunnar Beutner [Mon, 15 Aug 2016 12:39:33 +0000 (14:39 +0200)]
Replace GetType()->GetName() calls with GetReflectionType()->GetName()

fixes #12438

7 years agoMute chcon during safe-reload
Dirk Goetz [Mon, 15 Aug 2016 11:15:56 +0000 (13:15 +0200)]
Mute chcon during safe-reload

Removes the error message on systems with SELinux enabled but without icinga2 policy.

fixes #11648

7 years agoFix the load order for Host/Service vs. Endpoint/Zone
Gunnar Beutner [Sun, 14 Aug 2016 21:03:28 +0000 (23:03 +0200)]
Fix the load order for Host/Service vs. Endpoint/Zone

refs #12432

7 years agoRemove unused code in the IDO classes
Gunnar Beutner [Sun, 14 Aug 2016 20:20:31 +0000 (22:20 +0200)]
Remove unused code in the IDO classes

fixes #12434

7 years agoImprove validation for the command_endpoint attribute
Gunnar Beutner [Sun, 14 Aug 2016 20:10:30 +0000 (22:10 +0200)]
Improve validation for the command_endpoint attribute

fixes #12432

7 years agoImprove HA support for the IDO check task
Gunnar Beutner [Sun, 14 Aug 2016 18:17:14 +0000 (20:17 +0200)]
Improve HA support for the IDO check task

fixes #12430

7 years agoFix $ido_name$ macro when using the IDO check type with command_endpoint
Gunnar Beutner [Sun, 14 Aug 2016 17:27:35 +0000 (19:27 +0200)]
Fix $ido_name$ macro when using the IDO check type with command_endpoint

fixes #12428

7 years agoDocs: Rewrite cluster and client chapter from scratch; add service monitoring chapter
Michael Friedrich [Sat, 13 Aug 2016 13:59:06 +0000 (15:59 +0200)]
Docs: Rewrite cluster and client chapter from scratch; add service monitoring chapter

Also apply a new structure.

Deleted the old cluster and client documentation and started "fresh".

This commit also includes various images used in the newly written
"Distributed Monitoring" chapter for better understanding.

fixes #12386

7 years agoImplement comparison operators for the Array class
Gunnar Beutner [Sun, 14 Aug 2016 15:21:47 +0000 (17:21 +0200)]
Implement comparison operators for the Array class

fixes #12426

7 years agoFix incorrect return values for some of the CompatUtility methods
Gunnar Beutner [Sun, 14 Aug 2016 14:58:46 +0000 (16:58 +0200)]
Fix incorrect return values for some of the CompatUtility methods

fixes #12425

7 years agoITL: Add perfsyntax parameter to nscp-local-counter CheckCommand
Michael Friedrich [Sun, 14 Aug 2016 13:47:47 +0000 (15:47 +0200)]
ITL: Add perfsyntax parameter to nscp-local-counter CheckCommand

fixes #12424

7 years agoFix typo in mysql schema
Rune Darrud [Sun, 14 Aug 2016 10:59:35 +0000 (12:59 +0200)]
Fix typo in mysql schema

fixes #12423

7 years agoFix log message for WriteCert()
Michael Friedrich [Sun, 14 Aug 2016 07:28:55 +0000 (09:28 +0200)]
Fix log message for WriteCert()

refs #12422

7 years agoFix that pki sign-csr is not logging the certificate file location
Michael Friedrich [Sun, 14 Aug 2016 07:21:52 +0000 (09:21 +0200)]
Fix that pki sign-csr is not logging the certificate file location

fixes #12422

7 years agoAvoid duplicate IDO config updates at startup
Gunnar Beutner [Sat, 13 Aug 2016 20:54:22 +0000 (22:54 +0200)]
Avoid duplicate IDO config updates at startup

fixes #12417

7 years agoClean up the code a bit
Gunnar Beutner [Sat, 13 Aug 2016 19:43:59 +0000 (21:43 +0200)]
Clean up the code a bit

refs #11423

7 years agoITL: Fix the description for http_certificate
Michael Friedrich [Sat, 13 Aug 2016 13:50:45 +0000 (15:50 +0200)]
ITL: Fix the description for http_certificate

fixes #12416

7 years agoRemove Downtime objects w/o reference to ScheduledDowntime objects
Michael Friedrich [Sat, 13 Aug 2016 13:18:50 +0000 (15:18 +0200)]
Remove Downtime objects w/o reference to ScheduledDowntime objects

fixes #11423

7 years agoMove type variables into the 'Types' namespace
Gunnar Beutner [Fri, 12 Aug 2016 14:53:44 +0000 (16:53 +0200)]
Move type variables into the 'Types' namespace

refs #12408

7 years agoAdd URL and short description for Monitoring Plugins inside the ITL documentation
Michael Friedrich [Fri, 12 Aug 2016 14:44:50 +0000 (16:44 +0200)]
Add URL and short description for Monitoring Plugins inside the ITL documentation

fixes #12412

7 years agoRemove extraneous space in a log message
Gunnar Beutner [Fri, 12 Aug 2016 14:38:05 +0000 (16:38 +0200)]
Remove extraneous space in a log message

refs #12304

7 years agoFix incorrect function name for deprecated functions
Gunnar Beutner [Fri, 12 Aug 2016 13:41:03 +0000 (15:41 +0200)]
Fix incorrect function name for deprecated functions

refs #12408