Commit Graph

7939 Commits

Author SHA1 Message Date
Marius Bergmann 38d7f9a19e Add link to upgrade documentation to log message
When there's a schema version mismatch after an upgrade, the following
message is logged:

```
Schema version 'x.y.z' does not match the required version 'x.y.z' (or
newer)! Please check the upgrade documentation.
```

After reading this log message, users have to search for the upgrade
section in the docs in order to perform the necessary steps.

I added the URL for the relevant sections to the log message, so users
can simply click/copy it.
2017-02-28 17:02:10 +01:00
Stephan Tesch 2ce3fcc514 Add --if-names option to check_interfaces
Sinve version 1.3 check_interfaces supports an option to query ifName instead
of ifDescr, which is helpful eg. FortiOS 5.4 devices.

fixes #5028
fixes #5032

Signed-off-by: Gunnar Beutner <gunnar.beutner@icinga.com>
2017-02-28 14:15:06 +01:00
Sebastian Marsching 118d36f384 Fixed return code check in CRL loading
The code for loading CRLs was incorrectly assuming that OpenSSL's
X509_LOOKUP_load_file function returns zero on success, but actually it
returns one on success. This commit fixes this return code check so
that a CRL can be loaded.

fixes #5040

Signed-off-by: Gunnar Beutner <gunnar.beutner@icinga.com>
2017-02-28 14:08:24 +01:00
Michael Friedrich 9dfe423c11 Merge pull request #5036 from Icinga/fix/doc-typo-5035
Docs: Fix typo in Distributed Monitoring chapter
2017-02-24 16:08:45 +01:00
Michael Friedrich dd13f0d7d2 Docs: Fix typo in Distributed Monitoring chapter
refs #5035
2017-02-24 16:07:23 +01:00
Michael Friedrich a63a1882a1 Merge pull request #5034 from Icinga/fix/ido-downtime-end-5033
DB IDO: Fix actual_end_time update for non-triggered flexible downtimes

fixes #5033
2017-02-24 15:31:12 +01:00
Michael Friedrich 0dfe571669 DB IDO: Fix actual_end_time update for non-triggered flexible downtimes
refs #5033
2017-02-24 15:29:39 +01:00
Michael Friedrich bc486dcef8 Fix missing doc urls
refs #5029
refs #5030
refs #5031
2017-02-23 18:05:08 +01:00
Michael Friedrich 10e0f7c0a1 Merge pull request #5031 from Icinga/fix/doc-acknowledgements-5029
Docs: Fixes and enhancements for acks, comments and downtimes

fixes #5029
fixes #5030
2017-02-23 17:55:04 +01:00
Michael Friedrich 10247e0383 Docs: Fixes and enhancements for acks, comments and downtimes
refs #5029
refs #5030
2017-02-23 17:53:57 +01:00
Michael Friedrich b7439186d3 Merge pull request #5027 from Icinga/feature/docs-advanced-apply-3133
Add an advanced example for apply rules to the docs

fixes #3133
2017-02-23 13:46:27 +01:00
Dirk Goetz e18c4d93ef Add an advanced example for apply rules to the docs
Conditional apply based on attribute using key and value from the for loop

refs #3133

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-02-23 13:44:06 +01:00
Michael Friedrich 5653f5dde0 Merge pull request #5026 from Icinga/fix/ack-notify-13939
Fix notify/sticky parameter handling in 'acknowledge-problem' API action
2017-02-23 12:33:26 +01:00
Michael Friedrich 60f334df52 Fix notify/sticky parameter handling in 'acknowledge-problem' API action
refs #13939
2017-02-23 12:30:28 +01:00
Michael Friedrich 7a338ecdf0 Merge pull request #5025 from Icinga/fix/ido-resultset-4603
Fix IDO MySQL "command out of sync" error with lots of comments/downtimes upsert queries
2017-02-23 12:06:41 +01:00
Michael Friedrich 1ad26b8524 IDO MySQL: Don't immediately execute an upsert insert query callback
refs #4603
2017-02-22 17:36:17 +01:00
Michael Friedrich 6f1efff46c Add more debug build logging to IDO MySQL
refs #4603
2017-02-22 17:35:57 +01:00
Gunnar Beutner b3e727e1e7 Fix spelling mistake
refs #4991
2017-02-21 11:38:50 +01:00
Gunnar Beutner 06c2a4088d Ensure that only child processes for checks are reniced
fixes #4989
2017-02-21 11:31:07 +01:00
Gunnar Beutner a75d7d69ec Fix incorrect argument for Application::GetExePath
fixes #4709
2017-02-21 11:00:18 +01:00
Dirk Goetz 3cdcdb8769 ITL: Add fuse.gvfs-fuse-daemon to disk_exclude_type
This commit also adds documentation for the `disk_exclude_type`
default values.

fixes #5016

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-02-20 14:37:39 +01:00
Jean Flach c3b0051360 Add --perf-syntax option to check_perfmon
fixes #4896
2017-02-20 09:22:58 +01:00
Niflou e4f48a85dd ITL: Add snmp_v3_use_authprotocol to Manubulon CheckCommand docs
https://github.com/Icinga/icinga2/issues/5010#issuecomment-280112932

fixes #5012
fixes #5010

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-02-16 11:59:48 +01:00
Christian Schmidt d8dbf781a7 Support --only-critical for check_apt
fixes #117

Signed-off-by: Gunnar Beutner <gunnar.beutner@icinga.com>
2017-02-16 11:07:46 +01:00
Rune Darrud e6ae582104 Add a log message for RedisWriter on start and stop
fixes #5006

Signed-off-by: Gunnar Beutner <gunnar.beutner@icinga.com>
2017-02-15 14:33:04 +01:00
Michael Friedrich 8627ca0b1a Fix client names in distributed monitoring docs
fixes #4996
2017-02-14 12:53:04 +01:00
Gunnar Beutner 6d620e75ed Improve reconnect behavior for the RedisWriter class
refs #4991
2017-02-13 14:21:13 +01:00
Gunnar Beutner 8ad567ce99 Implement UNIX domain socket support for the RedisWriter class
refs #4991
2017-02-13 14:21:13 +01:00
Gunnar Beutner 7cbd30f93e Improve SELinux documentation
refs #4781
2017-02-13 14:19:15 +01:00
Thomas Widhalm 8260b728b0 Update dummy CheckCommand
fixes #4987

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-02-13 13:44:15 +01:00
Dirk Goetz bb01dbd953 Improve SELinux policy
fixes #4781

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-02-13 13:41:56 +01:00
Gunnar Beutner d725897000 Release version 2.6.2 2017-02-13 10:52:58 +01:00
Michael Friedrich 14fc9779e4 ITL: Remove deprecated dns_expected_answer attribute
There's still support for the optional dns_expected_answers attribute
which supports an array as value.

fixes #4839
2017-02-10 13:03:20 +01:00
Michael Friedrich 3993276b74 Add a removal note for enable_legacy_mode for GraphiteWriter
refs #4992
2017-02-10 11:33:32 +01:00
Gunnar Beutner 31650b0beb Add RedisWriter class
refs #4991
2017-02-09 16:40:11 +01:00
Gunnar Beutner 55e4881337 Add hiredis library
refs #4991
2017-02-09 16:40:11 +01:00
Alexander A. Klimov 3cc8982053 Unify the JSON structures of responses to authorized and unauthorized requests
refs #4984
fixes #4988

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-02-09 13:51:40 +01:00
Michael Friedrich 363a7f9dac Fix unauthorized response in REST API when header requests JSON
fixes #4984
2017-02-09 09:13:58 +01:00
Edgar Fuß 1fc6d8c899 Fix for traditional glob(3) behaviour
fixes #4778
2017-02-09 09:08:48 +01:00
Edgar Fuß 582f700a1a Don't try to include <alloca.h> (as for other BSDs)
fixes #4777
2017-02-08 17:50:49 +01:00
Edgar Fuß f454053d13 Fix NetBSD install path
fixes #4776
2017-02-08 17:48:34 +01:00
Edgar Fuß 7414df4ef8 Fix lsb_release/sw_vers errors on NetBSD
fixes #4779
2017-02-08 17:47:09 +01:00
Michael Friedrich 905f208332 Log a warning for missing API permissions
fixes #4945
2017-02-08 17:05:53 +01:00
Michael Friedrich a19d68abfe Remove obsolete changelog scripts
refs #4925
2017-02-08 16:16:35 +01:00
Michael Friedrich f8fa4db454 Hide stack traces for warning log level in the ExternalCommandListener feature
fixes #3483
2017-02-08 16:11:58 +01:00
Michael Friedrich e5f5284838 Add logging for started/stopped features
fixes #3557
2017-02-08 15:40:27 +01:00
Michael Friedrich 336deea02f Ensure that api/log is created before attempting to write the current replay log
fixes #4977
2017-02-08 13:06:31 +01:00
Michael Friedrich e975c55fbd Fix wrong column in Livestatus hostgroups table
fixes #4983
2017-02-08 13:01:28 +01:00
Tim Weippert 2ac0c024cd ITL: Implement inverse switch for snmp_interface CheckCommand
As for Interface Monitoring it is sometime needed to inverse the status (down -> OK, up -> NOT OK).

Can be configured via snmp_interface_inverse variable (boolean).

fixes #115

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-02-07 17:34:05 +01:00
Michael Friedrich ae258f0eca ITL: Add ifalias to snmp_interface manubulon CheckCommand
fixes #114
2017-02-07 17:25:47 +01:00