Commit Graph

8173 Commits

Author SHA1 Message Date
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
Gunnar Beutner 975f78f562 Release version 2.6.2 2017-02-13 10:52:45 +01:00
Gunnar Beutner 245cb0e930 Fix crash in ConfigItem::RemoveIgnoredItems
fixes #4952
2017-02-13 10:45:44 +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
Kálmán Szalai - KAMI 5ace3462ae Add wrap output in HTML link parameter for http CheckCommand
fixes #120

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-02-07 17:17:21 +01:00
Michael Friedrich 6b91414109 Update AUTHORS
refs #123
2017-02-07 17:14:41 +01:00
Gerhardt Roman 83c02df36a ITL: Update ipmi CheckCommand attributes
fixes #123

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-02-07 17:13:43 +01:00
Mathieu Arnold 3546f07675 ITL disk_exclude_type attribute: FreeBSD's /dev/fd can either be inside devfs, or be of type fdescfs.
fixes #124

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-02-07 17:08:31 +01:00
Simon Murray 041772fb28 PerfData: Server Timeouts for InfluxDB Writer
Exposes the TCP socket used to communicate with the InfluxDB server.  When we are
expecing a response we can now call poll() on the socket to wait for data to become
available.  If it doesn't in a user configurable timeout period we abort the request.

fixes #4927
fixes #4941

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-02-07 17:06:46 +01:00
Yannick Charton 1373a5e788 ITL: Add report option to shorten output in oracle_health CheckCommand
fixes #4963
fixes #4661

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-02-07 17:02:03 +01:00
Georg Haas 3c05885638 ITL: check_icmp: add missing TTL attribute
fixes #4964

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-02-07 16:59:38 +01:00
Michael Friedrich c8c8c431f6 Add OpenBSD and AlpineLinux package repositories to the docs
fixes #4980
2017-02-07 13:49:22 +01:00
Michael Friedrich 0ddea54860 Add an example for /v1/actions/process-check-result which uses filter/type
fixes #4954
2017-02-07 13:42:22 +01:00
Michael Friedrich d4277b4d70 Require that max_check_attempts is greater than 0
fixes #4832
2017-02-07 13:27:27 +01:00
Gunnar Beutner baaa52748c Update AUTHORS
refs #4936
2017-02-07 10:58:19 +01:00
Christian Loos 584be4fe52 Add "-N" parameter for the "ssl" check command
Without this, we check the wrong cert when SNI is used:

./check_tcp -H git.netsandbox.de -p 443 -D 30,10
OK - Certificate 'netsandbox.de' will expire on 2017-04-19 12:01
+0200/CEST.

./check_tcp -H git.netsandbox.de -p 443 -D 30,10 -N git.netsandbox.de
OK - Certificate 'git.netsandbox.de' will expire on 2017-04-15 14:06
+0200/CEST.

fixes #4936

Signed-off-by: Gunnar Beutner <gunnar.beutner@icinga.com>
2017-02-07 10:57:45 +01:00
Michael Friedrich aacc535acf Merge branch 'bebehei-feature-disabled'
fixes #121
fixes #4909
2017-02-02 14:22:38 +01:00
Benedikt Heine 9337135249 Give only CLI warnings if feature is already disabled
refs #121
refs #4909

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-02-02 14:17:47 +01:00
Michael Friedrich 4658cb391e Fix logging for discarded cluster messages
fixes #4930
fixes #4969
2017-02-02 13:47:18 +01:00
Gunnar Beutner 446490ceb3 Fix crash in ConfigItem::RemoveIgnoredItems
fixes #4952
2017-02-01 12:56:53 +01:00