Commit Graph

8349 Commits

Author SHA1 Message Date
Michael Friedrich ec6247ca35 Merge pull request #5247 from Icinga/feature/cluster-log-message
Add target object in cluster error messages to debug log

fixes #4288
2017-05-11 16:13:01 +02:00
Michael Friedrich 0f1aa23575 Add target object in cluster error messages to debug log
fixes #4288
2017-05-11 16:10:40 +02:00
Gunnar Beutner 09eed3a2da Merge pull request #5246 from Icinga/feature/x509-cert-subjectaltname
Add subjectAltName X509 ext for certificate requests

fixes #5194
fixes #5246
2017-05-11 15:46:16 +02:00
Gunnar Beutner b366483466 Add subjectAltName X509 ext for certificate requests 2017-05-11 15:38:17 +02:00
Michael Friedrich 6b14279c78 Merge pull request #5244 from Icinga/feature/contributing-review
Add a PR review section to CONTRIBUTING.md
2017-05-11 15:09:53 +02:00
Michael Friedrich 6a4ccc0f05 Add a PR review section to CONTRIBUTING.md 2017-05-11 15:09:18 +02:00
Michael Friedrich ed33a269b3 Merge pull request #5245 from Icinga/fix/downtime-host-trigger
Fix that host downtimes might be triggered even if their state is Up
2017-05-11 15:07:37 +02:00
Michael Friedrich 8d56f8e951 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
2017-05-11 15:05:50 +02:00
Gunnar Beutner 1c255140b5 Merge pull request #5242 from Icinga/feature/object-decl-expr
Allow expressions for the type in object/template declarations

fixes #5242
2017-05-11 14:30:29 +02:00
Gunnar Beutner d05b7c4178 Allow expressions for the type in object/template declarations 2017-05-11 14:21:30 +02:00
Michael Friedrich 9bb2c11c8d Merge pull request #5241 from Icinga/fix/influxdb-error-log
Verbose InfluxDB Error Logging

fixes #4411
2017-05-11 13:33:02 +02:00
Simon Murray fc2c2d9a29 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>
2017-05-11 12:13:41 +02:00
Alexander A. Klimov cfe4a170c5 RPM spec: don't enable features after an upgrade
fixes #4621
fixes #5226

Signed-off-by: Gunnar Beutner <gunnar.beutner@icinga.com>
2017-05-11 10:26:25 +02:00
Michael Friedrich 2196c6ea02 Merge pull request #4956 from TheFlyingCorpse/fix/persistent-comments-are-not-persistent
Fix persistent comments for Acknowledgements
2017-05-10 17:15:55 +02:00
Rune Darrud 273ca6a2cc Fix persistent comments for Acknowledgements
fixes #4818

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-05-10 17:10:22 +02:00
Michael Friedrich a4dbc83748 Merge pull request #122 from MarcusCaepio/master
Update event handler example for SSH
2017-05-10 14:48:35 +02:00
MarcusCaepio f3e32a4b35 Update event handler chapter for SSH usage 2017-05-10 14:44:21 +02:00
Michael Friedrich 52d6db07f7 Merge pull request #5238 from Icinga/fix/ido-category
Remove deprecated "DbCat1 | DbCat2" notation for DB IDO categories
2017-05-10 14:36:12 +02:00
Michael Friedrich e0bfe0a5d0 Remove deprecated "DbCat1 | DbCat2" notation for DB IDO categories
This allows for a specific config validation function.
2017-05-10 14:32:53 +02:00
Michael Friedrich 922cb375a9 ITL: Fix missing double quote in ssl-cert CheckCommand
refs #5236
2017-05-10 14:04:13 +02:00
Michael Friedrich ebdbca0730 Merge pull request #5170 from sysadmama/notification-scripts
Enhance mail notifications scripts and add support for command line parameters
2017-05-10 13:29:19 +02:00
Michael Friedrich 7b9f478bc1 Check for required parameters in notification scripts; add error helpers
refs #5170
2017-05-10 13:23:39 +02:00
Michael Friedrich 91ab8551c7 First review of notification script changes
refs #5170
2017-05-09 17:53:52 +02:00
Marianne M. Spiller 82a5c5a624 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>
2017-05-09 17:53:52 +02:00
Michael Friedrich 741f1b346e Merge pull request #5236 from dupondje/master
ITL: Add some missing arguments to ssl_cert
2017-05-09 17:31:46 +02:00
Michael Friedrich 0d380d0a4f Merge pull request #5237 from Icinga/feature/troubleshoot-debug-windows
Docs: Add a note for Windows debuglog to the troubleshooting chapter
2017-05-09 17:26:02 +02:00
Michael Friedrich 5788e3d315 Docs: Add a note for Windows debuglog to the troubleshooting chapter 2017-05-09 17:24:14 +02:00
Michael Friedrich f3e9c86f2c Merge pull request #5136 from dgoetz/feature/improve-eventhandler-docs
Enhance event command docs with more examples on remote clients
2017-05-09 17:23:03 +02:00
Dirk Goetz 8e83a920cf Enhance event command docs with more examples on remote clients
fixes #5090
2017-05-09 17:17:55 +02:00
Jean-Louis Dupond ff0c82a706 ITL: Add some missing arguments to ssl_cert 2017-05-09 16:48:47 +02:00
Michael Friedrich 452f8a1f0d Merge pull request #5042 from mbrgm/upgrade-docs-link
Add link to upgrade documentation to DB IDO log message
2017-05-09 16:17:58 +02:00
Michael Friedrich c4637a6288 Merge pull request #5181 from leeclemens/rpm-selinux
List SELinux packages required for building RPMs
2017-05-09 16:16:48 +02:00
Michael Friedrich 496c939218 Merge pull request #5164 from rhopfer/master
ITL: Add CheckCommand ssl_cert, fix ssl attributes
2017-05-09 16:11:06 +02:00
Roland Hopferwieser 76600a81eb ITL: Add CheckCommand ssl_cert, fix ssl attributes 2017-05-09 16:01:55 +02:00
Michael Friedrich 5b7226548c Merge pull request #5209 from Mikesch-mp/itl_mssql
Add report mode to mssql_health

fixes #5209
2017-05-09 14:52:55 +02:00
Mikesch-mp 6bf81eb979 Add report mode to mssql_health 2017-05-09 14:43:20 +02:00
Michael Friedrich 9864a0175b Merge pull request #5210 from Mikesch-mp/itl_db2
Add report mode to db2_health

fixes #5210
2017-05-09 14:37:44 +02:00
Gunnar Beutner c611a31670 Fix code style issues
refs #5219
2017-05-09 09:01:08 +02:00
Wenger Florian a43e8d6b2d Add ITL --standbyok argument to the vmware-esx-soap-host-storage-path CheckCommand
fixes #5227

Signed-off-by: Gunnar Beutner <gunnar.beutner@icinga.com>
2017-05-09 07:43:16 +02:00
Gunnar Beutner f9b34cca30 Fix compiler warning
refs #5219
2017-05-08 08:47:27 +02:00
Michael Friedrich deb7bbd331 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
2017-05-05 18:04:55 +02:00
Michael Friedrich 3649a5a0d7 InfluxdbWriter: Use a work queue for async message processing; add stats log/api 2017-05-05 17:56:51 +02:00
Michael Friedrich f9e0fd2e3e Beautify some log message for cluster config sync
refs #5212
2017-05-04 15:21:32 +02:00
Gunnar Beutner dadc21e12a 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
2017-05-04 14:58:55 +02:00
Alexander A. Klimov 0da226163f Don't call mysql_error() after a failure of mysql_init()
refs #3664
2017-05-04 12:22:34 +02:00
Gunnar Beutner f9f3358d09 Make sure all objects are set to 'active' before calling the Start() method
fixes #5224
2017-05-04 10:37:34 +02:00
Jean Flach 2932651b64 Fix incorrect state in check_ping
fixes #5223
2017-05-04 09:39:46 +02:00
Markus Frosch 55181fe8b2 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
2017-05-03 13:43:46 +02:00
Markus Frosch 712c526e31 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
2017-05-03 13:43:40 +02:00
Markus Frosch 4a1186d46f 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.
2017-05-03 13:43:25 +02:00