7985 Commits

Author SHA1 Message Date
Michael Friedrich
15395cab48 Fix wrong Logstash json plugin name in LogstashWriter docs
refs #5085
2017-03-20 16:30:38 +01:00
Michael Friedrich
e0d4e0de4a Merge pull request #5085 from Icinga/feature/logstash-4054
Add LogstashWriter feature

fixes #4054
2017-03-20 16:09:10 +01:00
Michael Friedrich
71d5ee7d41 Add documentation for the LogstashWriter feature
This includes Logstash and Icinga 2 configuration.

refs #4054
2017-03-20 16:04:06 +01:00
Michael Friedrich
bd5ff814f2 Review LogstashWriter feature implementation
refs #4054
2017-03-20 14:30:03 +01:00
Kai Goller
f5a971f5b0 Add LogstashWriter feature
This adds the UdpSocket class.

refs #4054
2017-03-20 14:30:03 +01:00
Michael Friedrich
06434b3e59 IDO: Fix where condition for downtime history updates
fixes #5080
2017-03-20 13:19:37 +01:00
Dirk Goetz
da980ac10e ITL: Update icingacli_businessprocess CheckCommand
fixes #4826

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-03-17 14:45:25 +01:00
Gunnar Beutner
94aeaa2e5c Don't use raw pointers in boost::bind
refs #4991
2017-03-16 15:33:59 +01:00
Gunnar Beutner
dd7862f08a Add missing freeReplyObject calls
refs #4991
2017-03-16 15:09:41 +01:00
Gunnar Beutner
62c1a64788 Merge DEL queries into one query
refs #4991
2017-03-16 15:09:41 +01:00
Gunnar Beutner
00eba25ad7 Add ASSERTs for the Redis queries
refs #4991
2017-03-16 15:09:41 +01:00
Gunnar Beutner
f862923dc7 Remove some log messages
refs #4991
2017-03-16 15:09:41 +01:00
Gunnar Beutner
18e6474f1e Make sure all Redis tasks are executed on the WQ threads
refs #4991
2017-03-16 14:23:31 +01:00
Gunnar Beutner
3a5caf15eb Remove redundant check
refs #4991
2017-03-16 13:58:35 +01:00
Gunnar Beutner
04be7a1f1e Implement event handlers for config and status updates
fixes #5072
fixes #5073
refs #4991
2017-03-16 13:58:31 +01:00
Gunnar Beutner
df05e24d52 Fix attribute type filter
refs #4991
2017-03-16 13:58:28 +01:00
Gunnar Beutner
0eada26b04 Only export config objects to Redis
refs #4991
2017-03-16 13:58:23 +01:00
Michael Friedrich
e5c0295c9e Redis: First attempt of a reconnect config dump
refs #5072
refs #4991
2017-03-16 13:58:18 +01:00
Gunnar Beutner
96b3c7d90b Get rid of event IDs for Redis
fixes #5067
2017-03-15 15:10:58 +01:00
Gunnar Beutner
1cab2d7b16 Fix incorrect handling for SCAN results
fixes #5065
2017-03-15 14:55:41 +01:00
Gunnar Beutner
4da5f7d52c Add another log message
refs #4991
2017-03-15 14:55:37 +01:00
Gunnar Beutner
a21da31ef6 Add missing free call
refs #4991
2017-03-15 14:55:19 +01:00
Gunnar Beutner
645e260f9b Make function names available in the API
fixes #5064
2017-03-15 11:18:08 +01:00
Gunnar Beutner
39f1b4589a Improve handling for missing start_time and finish_time values
fixes #5062
2017-03-15 10:41:08 +01:00
Dirk Goetz
efdbfb764b Add additional arguments to mssql_health
fixes #5063

Signed-off-by: Gunnar Beutner <gunnar.beutner@icinga.com>
2017-03-14 15:27:27 +01:00
Gunnar Beutner
34c69d9556 Only send events to Redis when there is at least one subscriber
refs #4991
2017-03-14 15:19:02 +01:00
Gunnar Beutner
10ddcbe4d3 Implement support for expiring subscriptions
refs #4991
2017-03-14 15:19:02 +01:00
Michael Friedrich
3e98e3fb2c Better error handling and fixes
refs #4991
2017-03-14 15:18:39 +01:00
Michael Friedrich
321b067a18 Use hiredis 0.13.3
refs #4991
2017-03-14 14:48:18 +01:00
Michael Friedrich
d3e3159e6b Implement event subscriptions
refs #4991
2017-03-14 14:47:06 +01:00
Michael Friedrich
a8587f5697 Ensure to check the auth command return value
refs #4991
2017-03-14 14:46:58 +01:00
Thomas Widhalm
b3a80e16b2 ITL: Allow to use local mode of hpasm CheckCommand
Remove default value and "required" for `address` in hpasm ITL listing
Add a note to documentation why this special check should not have a default address

fixes #4985
fixes #4986

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-03-10 18:50:50 +01:00
Michael Friedrich
8c3accb304 Update Security section in the Distributed Monitoring chapter
fixes #5057
2017-03-10 18:20:32 +01:00
Michael Friedrich
acaafab055 Merge branch 'feature/itl-hardware-cmds-5019'
fixes #5019
2017-03-09 17:35:38 +01:00
Michael Friedrich
f0a77464cd Fix closing brackets
refs #5019
2017-03-09 17:33:38 +01:00
Michael Friedrich
8d9aee4b8f ITL: Modify ipmi-alive CheckCommand to support arguments similar to hostalive
refs #5019
2017-03-09 17:25:30 +01:00
Michael Friedrich
9902492a59 ITL: Fix installation for plugins-contrib
refs #5019
2017-03-09 17:08:56 +01:00
Thomas Niedermeier
afc2e349e1 ITL: Fix spelling of ipmi_protocol_lan_version variable
refs #5019

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-03-09 17:08:54 +01:00
Thomas Niedermeier
c727f4c57a ITL: Add RAID controller plugin check configurations
refs #5019

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-03-09 17:08:52 +01:00
Thomas Niedermeier
06fa96f83d ITL: Add SMART attributes monitoring plugin check configuration
refs #5019

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-03-09 17:08:50 +01:00
Thomas Niedermeier
ad0d8d2b9e ITL: Add an IPMI Interface PING check for an IPMI host
refs #5019

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-03-09 17:08:45 +01:00
Yannick Charton
92149fc570 ITL: nwc_health_report attribute requires a value
fixes #5015

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-03-09 16:31:28 +01:00
Michael Friedrich
4d45531eb3 Merge pull request #5056 from Icinga/fix/docs-itl-mysql-socket-5055
Fix missing documentation for mysql_socket attribute

fixes #5055
2017-03-09 14:53:57 +01:00
Michael Friedrich
63427af25a Fix missing documentation for mysql_socket attribute
fixes #5055
2017-03-09 14:52:19 +01:00
Zachary McGibbon
2ccd8d7323 Add -q (query type) option for the dns check command
fixes #5047

Signed-off-by: Gunnar Beutner <gunnar.beutner@icinga.com>
2017-03-06 11:11:51 +01:00
Michael Friedrich
bb2ee7f495 Merge pull request #5044 from Icinga/fix/api-post-error-5043
API: Fix error code for invalid 'attrs' type for POST requests

fixes #5043
2017-03-01 11:38:28 +01:00
Michael Friedrich
d3a1f53647 API: Fix error code for invalid 'attrs' type for POST requests
fixes #5043
2017-03-01 11:33:43 +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