Commit Graph

6942 Commits

Author SHA1 Message Date
Michael Friedrich 0516cb58e2 ExternalCommandListener: Fix crash when reading from socket
refs #10700
2016-02-23 09:23:39 +01:00
Michael Friedrich ec9caa4517 Fix: Modified attributes do not work for the IcingaApplication object w/ external commands
fixes #10974
2016-02-23 09:23:25 +01:00
Jean Flach b4c1b09720 Fix AUTHORS and .mailmap
A name appears twice

fixes #10981
2016-02-23 09:23:03 +01:00
Michael Friedrich f5fda9ebf0 Raise a config error for "Checkable" objects in global zones
fixes #10807
2016-02-23 09:20:39 +01:00
Simon Ruderich e69fe8dcd0 doc/5-advanced-topics: add example how to use custom functions in attributes
Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>

fixes #10947
2016-02-23 09:20:18 +01:00
Lee Clemens 9ceb1d6f8c Add network.target to unit file
Icinga2 fails with 'Cannot bind TCP socket for host',
if other services requiring network.target are not installed.

Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>

fixes #10968
2016-02-23 09:19:59 +01:00
Michael Friedrich 455e2e5af1 Troubleshooting: Explain how to fetch the executed command
fixes #10964
2016-02-23 09:18:38 +01:00
Gunnar Beutner 11dfcd76a3 Fix incorrect is_active queries
fixes #10891
2016-02-23 09:18:24 +01:00
Gunnar Beutner a727913aa0 Build fix for Windows
fixes #10824
2016-02-23 09:18:07 +01:00
Per von Zweigbergk 8eb55c1156 Change B/s unit to B to comply with Nagios plugin spec
Unfortunately B/s is not a valid unit in the Nagios plugin specification. As a bit of a sad workaround, we set the unit to B, which is technically incorrect, but we can't really do much about that without amending the spec...

fixes #10544

Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>
2016-02-23 09:17:53 +01:00
Per von Zweigbergk 2117599eb4 Fixed invalid quoting for network device names
Quoting needs to be with single quotes, not double quotes. Also single quotes need to be escaped.

refs #10544

Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>
2016-02-23 09:17:46 +01:00
Michael Friedrich 4a5a7a7445 Enhance "setting up check plugins" documentation
fixes #10880
2016-02-23 09:17:31 +01:00
Michael Friedrich a9de06bbed Update AUTHORS
refs #10890
2016-02-23 09:17:12 +01:00
Arnd Hannemann ccd92dc3a6 Remove superfluous ifdef
fixes #10890

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2016-02-23 09:17:02 +01:00
Michael Friedrich 9de34e09b1 Fix that "repository add" writes invalid "type" attribute
fixes #10867
2016-02-23 09:16:47 +01:00
Michael Friedrich 9424404b9e Fix crash in DbEvents::RemoveCommentInternal()
Missing multiple queries as implemented with RemoveDowntimeInternal().

fixes #10883
2016-02-23 09:16:35 +01:00
Michael Friedrich 925161d9b4 Fix config validation for templates used as object reference name
fixes #10830
2016-02-23 09:16:22 +01:00
Michael Friedrich 99efc7be2c Fix failed reload via systemd
fixes #10226
2016-02-23 09:16:01 +01:00
Michael Friedrich 187a61dfaa Fix duplicate key violation for downtimes
refs #10829
2016-02-23 09:15:48 +01:00
Gunnar Beutner 6a8f97f6ef Fix crash in Ido*Connection::InternalExecuteMultipleQueries
fixes #10862
2016-02-23 09:15:42 +01:00
Gunnar Beutner 30b13ba2d6 Don't log IDO statistics when we're not connected
refs #10860
2016-02-23 09:15:23 +01:00
Gunnar Beutner 30c445a5ee Implement additional query statistics for DB IDO
fixes #10860
2016-02-23 09:15:16 +01:00
Michael Friedrich 2b86039435 DB IDO: Add a log message when the connection handling is completed
fixes #10857
2016-02-23 09:14:39 +01:00
Michael Friedrich c0da6cbb6a Implement support for re-ordering groups of IDO queries
fixes #10855
2016-02-23 09:14:04 +01:00
Michael Friedrich 634b3d7bc4 Avoid duplicate config and status updates on startup
fixes #10765
2016-02-23 09:13:37 +01:00
Michael Friedrich e1ac078d4b Fix DB IDO events for next_check, etc. updates
refs #10817
2016-02-23 09:13:21 +01:00
Michael Friedrich 36c170d5dc Fix invalid notification_id in DB IDO query
fixes #8976
2016-02-23 09:13:02 +01:00
Michael Friedrich 2f8d416da0 Change log level for authoritative zone config includes
LogWarning will make users wonder about a problem each time
Icinga 2 starts.

refs #10819
2016-02-23 09:09:55 +01:00
Michael Friedrich 48fe703017 Fix cluster config sync for (non-)authoritative configs
Details: https://dev.icinga.org/issues/10819#note-39

refs #10819
2016-02-23 09:09:55 +01:00
Michael Friedrich f0a1872e3b Add more debug logging for api package config sync
refs #10819
2016-02-23 09:09:55 +01:00
Michael Friedrich 1f5a216a01 Fix that cluster config sync ignores zones.d directory from API config packages
fixes #10819
2016-02-23 09:09:55 +01:00
Michael Friedrich db0e8c676e Fix that relative paths do not work with include_zones
fixes #10828
2016-02-23 09:09:20 +01:00
Michael Friedrich 2bc1d32caa Fix priority ordering for IDO queries
fixes #10829
refs #8714
2016-02-23 09:09:06 +01:00
Gunnar Beutner 02184ad58f Clean up the FinishAsyncQueries code a bit
refs #8714
2016-02-23 09:09:06 +01:00
Gunnar Beutner a40fc653ef Implement support for priorities in the WorkQueue class
fixes #8714
2016-02-23 09:09:06 +01:00
Gunnar Beutner 2e930826e3 Make sure that all strings in the IDO database are UTF8-encoded
fixes #10554
2016-02-23 09:08:32 +01:00
Jean Flach 5ede5864c9 Update docs
The semicolon is not required at all.
We also can expect an admin to be capable of fixing the problems
araising from locale problems by himself.

fixes #10460, #10458
2016-02-23 09:08:09 +01:00
Gunnar Beutner fbc0cc3da8 Update AUTHORS
refs #11178
2016-02-23 08:42:46 +01:00
Gunnar Beutner 74d1d68893 Fix: "node setup" tries to chown() files before they're created
fixes #11204
2016-02-23 08:42:05 +01:00
Michael Friedrich 5b30c9ed2c DB IDO: PArtially revert change for *group_members
Otherwise the index breaks.

refs #11103
2016-02-22 20:23:18 +01:00
Stefan Triep a5626bee5e Documentation: Fix escaping the pipe character in tables
fixes #11178

Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
2016-02-22 20:05:57 +01:00
Gunnar Beutner bc6d82c560 Build fix for CentOS 5
fixes #11179
2016-02-22 08:12:35 +01:00
Gunnar Beutner 781c34f6a4 Update AUTHORS
refs #10777
refs #11132
2016-02-22 08:05:23 +01:00
Thomas Widhalm b7d55fcf48 Add check_iostat to ITL
fixes #10777

Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>
2016-02-19 12:18:33 +01:00
Per von Zweigbergk 5c18c1ed2d Fixed precision for percentage calculations with large units
The check_memory and check_swap plugins on Windows were incorrectly
rounding the memory/swap measurements to the nearest unit prior to
calculating a percentage. This was causing imprecise percentage
values when the unit selected meant that the values in question had
few significant figures.

fixes #10497

Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>
2016-02-19 11:30:12 +01:00
Gunnar Beutner 9a8458fd67 Rename the IOTHREADS macro
refs #11014
2016-02-16 13:30:55 +01:00
Gunnar Beutner 9e9298f4fa Add -pthread to build flags
refs #10963
2016-02-16 13:08:21 +01:00
Michael Friedrich 04a4049a4d Increase query queue size for testing
refs #10963
2016-02-12 14:15:24 +01:00
Michael Friedrich c8a9f45697 ApiListener: Bail out if object could not be created during config sync
refs #11006
2016-02-12 14:15:24 +01:00
Jean Flach 15a2b716c0 Document disk_ignore_reserved
fixes #11138
2016-02-12 13:15:23 +01:00