]> granicus.if.org Git - icinga2/log
icinga2
7 years agoMerge pull request #5297 from Icinga/feature/fix-compiler-warnings
Gunnar Beutner [Mon, 29 May 2017 07:17:12 +0000 (09:17 +0200)]
Merge pull request #5297 from Icinga/feature/fix-compiler-warnings

Fix compiler warnings

7 years agoFix compiler warnings 5297/head
Gunnar Beutner [Mon, 29 May 2017 07:13:19 +0000 (09:13 +0200)]
Fix compiler warnings

refs #5287

7 years agoMerge pull request #5295 from mcktr/fix/missing-apostrophe-in-notification-log
Gunnar Beutner [Mon, 29 May 2017 05:52:16 +0000 (07:52 +0200)]
Merge pull request #5295 from mcktr/fix/missing-apostrophe-in-notification-log

Fix missing apostrophe in notification log

fixes #5294
fixes #5295

7 years agoFix missing apostrophe in notification log 5295/head
mcktr [Fri, 26 May 2017 15:58:04 +0000 (17:58 +0200)]
Fix missing apostrophe in notification log

refs #5294

7 years agoMerge pull request #5287 from Icinga/feature/workqueues-features
Michael Friedrich [Fri, 26 May 2017 15:17:00 +0000 (17:17 +0200)]
Merge pull request #5287 from Icinga/feature/workqueues-features

Use workqueues in Graphite and InfluxDB features

refs #5133
refs #5280

7 years agoInfluxDB: Optimize work queue event handling 5287/head
Michael Friedrich [Fri, 26 May 2017 15:03:49 +0000 (17:03 +0200)]
InfluxDB: Optimize work queue event handling

refs #5219

7 years agoApiListener: Handle zero JSON-RPC WQs gracefully for stats
Michael Friedrich [Fri, 26 May 2017 15:02:36 +0000 (17:02 +0200)]
ApiListener: Handle zero JSON-RPC WQs gracefully for stats

refs #5266
refs #5133

7 years agoGraphiteWriter: Use a workqueue for event processing
Michael Friedrich [Mon, 15 May 2017 15:35:36 +0000 (17:35 +0200)]
GraphiteWriter: Use a workqueue for event processing

This also adds reconnect handling and exceptions.

refs #5132
refs #5133
refs #5280

7 years agoInfluxDB: Remove obsolete logger, now implemented in WorkQueue class
Michael Friedrich [Wed, 24 May 2017 15:01:46 +0000 (17:01 +0200)]
InfluxDB: Remove obsolete logger, now implemented in WorkQueue class

refs #5280
refs #5133

7 years agoDB IDO: Remove obsolete logger, now implemented in WorkQueue class
Michael Friedrich [Wed, 24 May 2017 14:50:23 +0000 (16:50 +0200)]
DB IDO: Remove obsolete logger, now implemented in WorkQueue class

refs #5280
refs #5133

7 years agoMerge pull request #5266 from Icinga/feature/api-cluster-stats
Michael Friedrich [Wed, 24 May 2017 14:32:17 +0000 (16:32 +0200)]
Merge pull request #5266 from Icinga/feature/api-cluster-stats

Add API & Cluster metric stats to /v1/status & icinga check incl. performance data

fixes #5133

7 years agoAdd API & Cluster stats to /v1/status & icinga check performance metrics 5266/head
Michael Friedrich [Thu, 11 May 2017 15:30:20 +0000 (17:30 +0200)]
Add API & Cluster stats to /v1/status & icinga check performance metrics

refs #5133

7 years agoMerge pull request #5286 from Icinga/fix/notification-scripts-log
Michael Friedrich [Wed, 24 May 2017 12:38:30 +0000 (14:38 +0200)]
Merge pull request #5286 from Icinga/fix/notification-scripts-log

Fix verbose mode in notifications scripts

#5170

7 years agoFix verbose mode in notifications scripts 5286/head
Michael Friedrich [Wed, 24 May 2017 12:36:22 +0000 (14:36 +0200)]
Fix verbose mode in notifications scripts

Otherwise it just spams the syslog on frequent notifications

refs #5170

7 years agoMerge pull request #5285 from Icinga/fix/troubleshooting-doc
Michael Friedrich [Wed, 24 May 2017 12:05:24 +0000 (14:05 +0200)]
Merge pull request #5285 from Icinga/fix/troubleshooting-doc

Fix sysstat installation in troubleshooting docs

7 years agoFix sysstat installation in troubleshooting docs 5285/head
Michael Friedrich [Wed, 24 May 2017 12:04:25 +0000 (14:04 +0200)]
Fix sysstat installation in troubleshooting docs

7 years agoMerge pull request #5284 from Icinga/feature/add-feature-metrics-icinga-check
Michael Friedrich [Tue, 23 May 2017 15:32:39 +0000 (17:32 +0200)]
Merge pull request #5284 from Icinga/feature/add-feature-metrics-icinga-check

Add feature stats to 'icinga' check as performance data metrics

refs #5133

7 years agoAdd feature stats to 'icinga' check as performance data metrics 5284/head
Michael Friedrich [Tue, 23 May 2017 14:13:56 +0000 (16:13 +0200)]
Add feature stats to 'icinga' check as performance data metrics

7 years agoMerge pull request #5280 from Icinga/feature/workqueue-stats
Michael Friedrich [Tue, 23 May 2017 14:10:59 +0000 (16:10 +0200)]
Merge pull request #5280 from Icinga/feature/workqueue-stats

Implement WorkQueue metric stats and periodic logging

refs #5266
refs #5133

7 years agoImplement WorkQueue metric stats and periodic logging 5280/head
Michael Friedrich [Tue, 16 May 2017 10:54:37 +0000 (12:54 +0200)]
Implement WorkQueue metric stats and periodic logging

refs #5133

7 years agoMerge pull request #5283 from Icinga/fix/remove-logstash
Michael Friedrich [Tue, 23 May 2017 11:26:38 +0000 (13:26 +0200)]
Merge pull request #5283 from Icinga/fix/remove-logstash

Revert LogstashWriter feature

refs #4054

7 years agoRevert "Add LogstashWriter feature" 5283/head
Michael Friedrich [Tue, 23 May 2017 10:05:01 +0000 (12:05 +0200)]
Revert "Add LogstashWriter feature"

This reverts commit f5a971f5b0a7ddcbfe20c993eec01c720f0d3dd9.

refs #4054

7 years agoRevert "Review LogstashWriter feature implementation"
Michael Friedrich [Tue, 23 May 2017 10:04:08 +0000 (12:04 +0200)]
Revert "Review LogstashWriter feature implementation"

This reverts commit bd5ff814f23a11093832e59f0716ff151f68eea5.

refs #4054

7 years agoRevert "Add documentation for the LogstashWriter feature"
Michael Friedrich [Tue, 23 May 2017 10:02:32 +0000 (12:02 +0200)]
Revert "Add documentation for the LogstashWriter feature"

This reverts commit 71d5ee7d419b937fb471477fe0d725277f285bfc.

refs #4054

7 years agoMerge pull request #5279 from Icinga/feature/doc-api-ack-expire-list
Michael Friedrich [Mon, 22 May 2017 15:51:00 +0000 (17:51 +0200)]
Merge pull request #5279 from Icinga/feature/doc-api-ack-expire-list

Docs: Add API query example for acknowledgements w/o expire time

7 years agoDocs: Add API query example for acknowledgements w/o expire time 5279/head
Michael Friedrich [Mon, 22 May 2017 15:48:31 +0000 (17:48 +0200)]
Docs: Add API query example for acknowledgements w/o expire time

7 years agoMerge pull request #5278 from Icinga/fix/leak-debug-define
Gunnar Beutner [Mon, 22 May 2017 11:02:18 +0000 (13:02 +0200)]
Merge pull request #5278 from Icinga/fix/leak-debug-define

Build fix for I2_LEAK_DEBUG

fixes #5278

7 years agoBuild fix for I2_LEAK_DEBUG 5278/head
Gunnar Beutner [Mon, 22 May 2017 09:42:47 +0000 (11:42 +0200)]
Build fix for I2_LEAK_DEBUG

7 years agoMerge pull request #5275 from Icinga/fix/docs-systemd-max-tasks
Michael Friedrich [Fri, 19 May 2017 13:27:23 +0000 (15:27 +0200)]
Merge pull request #5275 from Icinga/fix/docs-systemd-max-tasks

Add troubleshooting hints for cgroup fork errors

refs #4918

7 years agoAdd troubleshooting hints for cgroup fork errors 5275/head
Michael Friedrich [Fri, 19 May 2017 13:24:56 +0000 (15:24 +0200)]
Add troubleshooting hints for cgroup fork errors

refs #4918

7 years agoMerge pull request #5264 from Icinga/feature/array-match
Gunnar Beutner [Tue, 16 May 2017 12:22:35 +0000 (14:22 +0200)]
Merge pull request #5264 from Icinga/feature/array-match

Implement new array match functionality

fixes #5264
fixes #5263

7 years agoAdd 'mode' argument for match, regex and cidr_match 5264/head
Gunnar Beutner [Mon, 15 May 2017 14:02:20 +0000 (16:02 +0200)]
Add 'mode' argument for match, regex and cidr_match

7 years agoMerge pull request #5265 from Icinga/feature/perfdata-value-base
Michael Friedrich [Mon, 15 May 2017 14:44:57 +0000 (16:44 +0200)]
Merge pull request #5265 from Icinga/feature/perfdata-value-base

Move PerfdataValue() class into base library

7 years agoMove PerfdataValue() class into base library 5265/head
Michael Friedrich [Mon, 15 May 2017 13:51:39 +0000 (15:51 +0200)]
Move PerfdataValue() class into base library

This is required for libremote and ApiListener stats in #5133

7 years agoImplement the Array#any and Array#all protoype functions
Gunnar Beutner [Mon, 15 May 2017 13:59:44 +0000 (15:59 +0200)]
Implement the Array#any and Array#all protoype functions

7 years agoImplement the Dictionary#values prototype function
Gunnar Beutner [Mon, 15 May 2017 13:54:48 +0000 (15:54 +0200)]
Implement the Dictionary#values prototype function

7 years agoMerge pull request #5262 from Icinga/fix/graylog-perfdata
Michael Friedrich [Mon, 15 May 2017 12:08:39 +0000 (14:08 +0200)]
Merge pull request #5262 from Icinga/fix/graylog-perfdata

Fix performance data processing in GelfWriter feature

fixes #4666

7 years agoFix performance data processing in GelfWriter feature 5262/head
Michael Friedrich [Mon, 15 May 2017 11:46:43 +0000 (13:46 +0200)]
Fix performance data processing in GelfWriter feature

Includes fixes for possible crashes on empty check results.

fixes #4666

7 years agoAdd missing ->GetName() calls
Gunnar Beutner [Mon, 15 May 2017 09:10:09 +0000 (11:10 +0200)]
Add missing ->GetName() calls

fixes #5256

7 years agoMerge pull request #5259 from Icinga/fix/ack-expiry-past
Michael Friedrich [Mon, 15 May 2017 08:33:25 +0000 (10:33 +0200)]
Merge pull request #5259 from Icinga/fix/ack-expiry-past

Don't allow acknowledgement expire timestamps in the past

fixes #5250

7 years agoDon't allow acknowledgement expire timestamps in the past 5259/head
Michael Friedrich [Mon, 15 May 2017 08:14:19 +0000 (10:14 +0200)]
Don't allow acknowledgement expire timestamps in the past

fixes #5250

7 years agoMerge pull request #5229 from Al2Klimov/bugfix/cmake-wrong-gcc-version
Michael Friedrich [Fri, 12 May 2017 15:15:27 +0000 (17:15 +0200)]
Merge pull request #5229 from Al2Klimov/bugfix/cmake-wrong-gcc-version

CMake: require a GCC version according to INSTALL.md

7 years agoCMake: require a GCC version according to INSTALL.md 5229/head
Alexander A. Klimov [Fri, 5 May 2017 10:46:56 +0000 (12:46 +0200)]
CMake: require a GCC version according to INSTALL.md

7 years agoMerge pull request #5252 from Icinga/travis
Michael Friedrich [Fri, 12 May 2017 14:14:00 +0000 (16:14 +0200)]
Merge pull request #5252 from Icinga/travis

travis: Update to trusty as CI environment

fixes #5251

7 years agotravis: Update to trusty as CI environment 5252/head
Markus Frosch [Fri, 12 May 2017 13:52:40 +0000 (15:52 +0200)]
travis: Update to trusty as CI environment

fixes #5251

7 years agoMerge pull request #5249 from Icinga/fix/cluster-log-crash
Michael Friedrich [Fri, 12 May 2017 08:55:30 +0000 (10:55 +0200)]
Merge pull request #5249 from Icinga/fix/cluster-log-crash

Fix cluster crash w/ config sync

fixes #5212

7 years agoFix cluster crash w/ config sync 5249/head
Michael Friedrich [Fri, 12 May 2017 08:48:11 +0000 (10:48 +0200)]
Fix cluster crash w/ config sync

refs #5212

7 years agoMerge pull request #5248 from Icinga/feature/travis-config-validate
Michael Friedrich [Thu, 11 May 2017 14:53:48 +0000 (16:53 +0200)]
Merge pull request #5248 from Icinga/feature/travis-config-validate

Travis: Run config validation at the end

7 years agoTravis: Run config validation at the end 5248/head
Michael Friedrich [Thu, 11 May 2017 14:18:16 +0000 (16:18 +0200)]
Travis: Run config validation at the end

This will help detect faulty contributed CheckCommand definitions (enabled by default since 2.5).

7 years agoMerge pull request #5247 from Icinga/feature/cluster-log-message
Michael Friedrich [Thu, 11 May 2017 14:13:01 +0000 (16:13 +0200)]
Merge pull request #5247 from Icinga/feature/cluster-log-message

Add target object in cluster error messages to debug log

fixes #4288

7 years agoAdd target object in cluster error messages to debug log 5247/head
Michael Friedrich [Thu, 11 May 2017 14:10:40 +0000 (16:10 +0200)]
Add target object in cluster error messages to debug log

fixes #4288

7 years agoMerge pull request #5246 from Icinga/feature/x509-cert-subjectaltname
Gunnar Beutner [Thu, 11 May 2017 13:46:16 +0000 (15:46 +0200)]
Merge pull request #5246 from Icinga/feature/x509-cert-subjectaltname

Add subjectAltName X509 ext for certificate requests

fixes #5194
fixes #5246

7 years agoAdd subjectAltName X509 ext for certificate requests 5246/head
Gunnar Beutner [Thu, 11 May 2017 13:38:17 +0000 (15:38 +0200)]
Add subjectAltName X509 ext for certificate requests

7 years agoMerge pull request #5244 from Icinga/feature/contributing-review
Michael Friedrich [Thu, 11 May 2017 13:09:53 +0000 (15:09 +0200)]
Merge pull request #5244 from Icinga/feature/contributing-review

Add a PR review section to CONTRIBUTING.md

7 years agoAdd a PR review section to CONTRIBUTING.md 5244/head
Michael Friedrich [Thu, 11 May 2017 12:45:46 +0000 (14:45 +0200)]
Add a PR review section to CONTRIBUTING.md

7 years agoMerge pull request #5245 from Icinga/fix/downtime-host-trigger
Michael Friedrich [Thu, 11 May 2017 13:07:37 +0000 (15:07 +0200)]
Merge pull request #5245 from Icinga/fix/downtime-host-trigger

Fix that host downtimes might be triggered even if their state is Up

7 years agoFix that host downtimes might be triggered even if their state is Up 5245/head
Michael Friedrich [Thu, 11 May 2017 13:05:50 +0000 (15:05 +0200)]
Fix that host downtimes might be triggered even if their state is Up

If the checkresult's state is 1, this is internally mapped to Up.
The added downtime will check for triggers and might cause a wrong
downtime start event.

refs #5202

7 years agoMerge pull request #5242 from Icinga/feature/object-decl-expr
Gunnar Beutner [Thu, 11 May 2017 12:30:29 +0000 (14:30 +0200)]
Merge pull request #5242 from Icinga/feature/object-decl-expr

Allow expressions for the type in object/template declarations

fixes #5242

7 years agoAllow expressions for the type in object/template declarations 5242/head
Gunnar Beutner [Thu, 11 May 2017 12:21:30 +0000 (14:21 +0200)]
Allow expressions for the type in object/template declarations

7 years agoMerge pull request #5241 from Icinga/fix/influxdb-error-log
Michael Friedrich [Thu, 11 May 2017 11:33:02 +0000 (13:33 +0200)]
Merge pull request #5241 from Icinga/fix/influxdb-error-log

Verbose InfluxDB Error Logging

fixes #4411

7 years agoVerbose InfluxDB Error Logging 5241/head
Simon Murray [Thu, 28 Jul 2016 12:29:37 +0000 (13:29 +0100)]
Verbose InfluxDB Error Logging

On a non 204 response we parse the HTTP response until complete e.g. do the headers
and body, not just the header.  A new interface is added to the response to allow us
to determine the body size so that it may be read out and buffered.  The body is
parsed and any error message printed out.  In the event that the parsing fails the
raw body is dumped out; better than nothing!

fixes #4411

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
7 years agoRPM spec: don't enable features after an upgrade
Alexander A. Klimov [Thu, 4 May 2017 15:11:20 +0000 (17:11 +0200)]
RPM spec: don't enable features after an upgrade

fixes #4621
fixes #5226

Signed-off-by: Gunnar Beutner <gunnar.beutner@icinga.com>
7 years agoMerge pull request #4956 from TheFlyingCorpse/fix/persistent-comments-are-not-persistent
Michael Friedrich [Wed, 10 May 2017 15:15:55 +0000 (17:15 +0200)]
Merge pull request #4956 from TheFlyingCorpse/fix/persistent-comments-are-not-persistent

Fix persistent comments for Acknowledgements

7 years agoFix persistent comments for Acknowledgements 4956/head
Rune Darrud [Wed, 25 Jan 2017 20:21:22 +0000 (21:21 +0100)]
Fix persistent comments for Acknowledgements

fixes #4818

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
7 years agoMerge pull request #122 from MarcusCaepio/master
Michael Friedrich [Wed, 10 May 2017 12:48:35 +0000 (14:48 +0200)]
Merge pull request #122 from MarcusCaepio/master

Update event handler example for SSH

7 years agoUpdate event handler chapter for SSH usage 122/head
MarcusCaepio [Thu, 12 Jan 2017 06:58:48 +0000 (07:58 +0100)]
Update event handler chapter for SSH usage

7 years agoMerge pull request #5238 from Icinga/fix/ido-category
Michael Friedrich [Wed, 10 May 2017 12:36:12 +0000 (14:36 +0200)]
Merge pull request #5238 from Icinga/fix/ido-category

Remove deprecated "DbCat1 | DbCat2" notation for DB IDO categories

7 years agoRemove deprecated "DbCat1 | DbCat2" notation for DB IDO categories 5238/head
Michael Friedrich [Wed, 10 May 2017 12:31:34 +0000 (14:31 +0200)]
Remove deprecated "DbCat1 | DbCat2" notation for DB IDO categories

This allows for a specific config validation function.

7 years agoITL: Fix missing double quote in ssl-cert CheckCommand
Michael Friedrich [Wed, 10 May 2017 12:02:35 +0000 (14:02 +0200)]
ITL: Fix missing double quote in ssl-cert CheckCommand

refs #5236

7 years agoMerge pull request #5170 from sysadmama/notification-scripts
Michael Friedrich [Wed, 10 May 2017 11:29:19 +0000 (13:29 +0200)]
Merge pull request #5170 from sysadmama/notification-scripts

Enhance mail notifications scripts and add support for command line parameters

7 years agoCheck for required parameters in notification scripts; add error helpers 5170/head
Michael Friedrich [Wed, 10 May 2017 11:22:44 +0000 (13:22 +0200)]
Check for required parameters in notification scripts; add error helpers

refs #5170

7 years agoFirst review of notification script changes
Michael Friedrich [Fri, 28 Apr 2017 15:40:42 +0000 (17:40 +0200)]
First review of notification script changes

refs #5170

7 years agoAdd notification command parameters to the default mail notification script
Marianne M. Spiller [Wed, 5 Apr 2017 10:29:23 +0000 (12:29 +0200)]
Add notification command parameters to the default mail notification script

Replace the previous notification scheme - now using getops in place of ENV
variables, giving the ability to integrate with the Icinga Director.

refs #5170

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
7 years agoMerge pull request #5236 from dupondje/master
Michael Friedrich [Tue, 9 May 2017 15:31:46 +0000 (17:31 +0200)]
Merge pull request #5236 from dupondje/master

ITL: Add some missing arguments to ssl_cert

7 years agoMerge pull request #5237 from Icinga/feature/troubleshoot-debug-windows
Michael Friedrich [Tue, 9 May 2017 15:26:02 +0000 (17:26 +0200)]
Merge pull request #5237 from Icinga/feature/troubleshoot-debug-windows

Docs: Add a note for Windows debuglog to the troubleshooting chapter

7 years agoDocs: Add a note for Windows debuglog to the troubleshooting chapter 5237/head
Michael Friedrich [Tue, 9 May 2017 15:24:14 +0000 (17:24 +0200)]
Docs: Add a note for Windows debuglog to the troubleshooting chapter

7 years agoMerge pull request #5136 from dgoetz/feature/improve-eventhandler-docs
Michael Friedrich [Tue, 9 May 2017 15:23:03 +0000 (17:23 +0200)]
Merge pull request #5136 from dgoetz/feature/improve-eventhandler-docs

Enhance event command docs with more examples on remote clients

7 years agoEnhance event command docs with more examples on remote clients 5136/head
Dirk Goetz [Tue, 4 Apr 2017 11:31:22 +0000 (13:31 +0200)]
Enhance event command docs with more examples on remote clients

fixes #5090

7 years agoITL: Add some missing arguments to ssl_cert 5236/head
Jean-Louis Dupond [Tue, 9 May 2017 14:48:47 +0000 (16:48 +0200)]
ITL: Add some missing arguments to ssl_cert

7 years agoMerge pull request #5042 from mbrgm/upgrade-docs-link
Michael Friedrich [Tue, 9 May 2017 14:17:58 +0000 (16:17 +0200)]
Merge pull request #5042 from mbrgm/upgrade-docs-link

Add link to upgrade documentation to DB IDO log message

7 years agoMerge pull request #5181 from leeclemens/rpm-selinux
Michael Friedrich [Tue, 9 May 2017 14:16:48 +0000 (16:16 +0200)]
Merge pull request #5181 from leeclemens/rpm-selinux

List SELinux packages required for building RPMs

7 years agoMerge pull request #5164 from rhopfer/master
Michael Friedrich [Tue, 9 May 2017 14:11:06 +0000 (16:11 +0200)]
Merge pull request #5164 from rhopfer/master

ITL: Add CheckCommand ssl_cert, fix ssl attributes

7 years agoITL: Add CheckCommand ssl_cert, fix ssl attributes 5164/head
Roland Hopferwieser [Tue, 11 Apr 2017 14:40:25 +0000 (16:40 +0200)]
ITL: Add CheckCommand ssl_cert, fix ssl attributes

7 years agoMerge pull request #5209 from Mikesch-mp/itl_mssql
Michael Friedrich [Tue, 9 May 2017 12:52:55 +0000 (14:52 +0200)]
Merge pull request #5209 from Mikesch-mp/itl_mssql

Add report mode to mssql_health

fixes #5209

7 years agoAdd report mode to mssql_health 5209/head
Mikesch-mp [Sun, 30 Apr 2017 16:34:59 +0000 (18:34 +0200)]
Add report mode to mssql_health

7 years agoMerge pull request #5210 from Mikesch-mp/itl_db2
Michael Friedrich [Tue, 9 May 2017 12:37:44 +0000 (14:37 +0200)]
Merge pull request #5210 from Mikesch-mp/itl_db2

Add report mode to db2_health

fixes #5210

7 years agoFix code style issues
Gunnar Beutner [Tue, 9 May 2017 07:01:08 +0000 (09:01 +0200)]
Fix code style issues

refs #5219

7 years agoAdd ITL --standbyok argument to the vmware-esx-soap-host-storage-path CheckCommand
Wenger Florian [Thu, 4 May 2017 18:54:37 +0000 (20:54 +0200)]
Add ITL --standbyok argument to the vmware-esx-soap-host-storage-path CheckCommand

fixes #5227

Signed-off-by: Gunnar Beutner <gunnar.beutner@icinga.com>
7 years agoFix compiler warning
Gunnar Beutner [Mon, 8 May 2017 06:47:27 +0000 (08:47 +0200)]
Fix compiler warning

refs #5219

7 years agoMerge pull request #5232 from Icinga/fix/influxdb-lock-5219
Michael Friedrich [Fri, 5 May 2017 16:04:55 +0000 (18:04 +0200)]
Merge pull request #5232 from Icinga/fix/influxdb-lock-5219

InfluxdbWriter: Use a work queue for async message processing; add stats log/api

refs #5219

7 years agoInfluxdbWriter: Use a work queue for async message processing; add stats log/api 5232/head
Michael Friedrich [Thu, 4 May 2017 08:29:49 +0000 (10:29 +0200)]
InfluxdbWriter: Use a work queue for async message processing; add stats log/api

7 years agoBeautify some log message for cluster config sync
Michael Friedrich [Thu, 4 May 2017 13:20:32 +0000 (15:20 +0200)]
Beautify some log message for cluster config sync

refs #5212

7 years agoMerge pull request #5225 from Al2Klimov/bugfix/mysql_init-mysql_error-3664
Gunnar Beutner [Thu, 4 May 2017 12:58:55 +0000 (14:58 +0200)]
Merge pull request #5225 from Al2Klimov/bugfix/mysql_init-mysql_error-3664

Don't call mysql_error() after a failure of mysql_init()

fixes #3664

7 years agoDon't call mysql_error() after a failure of mysql_init() 5225/head
Alexander A. Klimov [Thu, 4 May 2017 10:22:34 +0000 (12:22 +0200)]
Don't call mysql_error() after a failure of mysql_init()

refs #3664

7 years agoMake sure all objects are set to 'active' before calling the Start() method
Gunnar Beutner [Thu, 4 May 2017 08:37:34 +0000 (10:37 +0200)]
Make sure all objects are set to 'active' before calling the Start() method

fixes #5224

7 years agoFix incorrect state in check_ping
Jean Flach [Thu, 4 May 2017 07:38:08 +0000 (09:38 +0200)]
Fix incorrect state in check_ping

fixes #5223

7 years agoicinga2.spec: Add selecting g++ compiler on older SUSE releases
Markus Frosch [Fri, 28 Apr 2017 13:17:21 +0000 (15:17 +0200)]
icinga2.spec: Add selecting g++ compiler on older SUSE releases

g++ is too old, and the newer binary is suffixed.

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
fixes #5218

7 years agoicinga2.spec: Update RedHat SCL handling for builds on el 5 and 6
Markus Frosch [Mon, 24 Apr 2017 15:25:02 +0000 (17:25 +0200)]
icinga2.spec: Update RedHat SCL handling for builds on el 5 and 6

So you don't have to modify the environment.

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
fixes #5177

7 years agoUpdate Boost dependency to >= 1.48 (INSTALL.md, icinga2.spec)
Markus Frosch [Mon, 24 Apr 2017 14:59:08 +0000 (16:59 +0200)]
Update Boost dependency to >= 1.48 (INSTALL.md, icinga2.spec)

Icinga 2 does not build with 1.41:

    /usr/include/boost/range/const_iterator.hpp:37:58: error: no type
    named 'const_iterator' in 'class boost::intrusive_ptr<icinga::Array>'
    ...
    /usr/include/boost/thread/locks.hpp:269:22: error: cannot bind
    'boost::unique_lock<boost::mutex>' lvalue to
    'boost::unique_lock<boost::mutex>&&'

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
fixes #5188

This also refs #5177 as a partial fix for the dependencies, when not
using Icinga's boost packages.

7 years agoMake sure modified attributes are applied before calling the objects' Start method
Gunnar Beutner [Wed, 3 May 2017 09:59:51 +0000 (11:59 +0200)]
Make sure modified attributes are applied before calling the objects' Start method

refs #4696