8701 Commits

Author SHA1 Message Date
Michael Friedrich
873a553a4f Enhance client connect/sync logging and include bytes/zone in logs
refs #5513
2017-08-21 11:31:24 +02:00
Michael Friedrich
732a5849d5 Change FIFO::Optimize() frequency for large messages
refs #5513
2017-08-21 11:24:39 +02:00
Michael Friedrich
522eea1863 Fix wrong sub chapter for external checks 2017-08-18 17:13:59 +02:00
Michael Friedrich
a55df4637d Fix wrong sub chapter for external checks 2017-08-18 17:13:31 +02:00
Michael Friedrich
c1e5464077 Docs: Update freshness checks; add chapter for external check results
This also adds a nice example for freshness checks with unknown runtime details.
2017-08-18 17:05:57 +02:00
Michael Friedrich
b7468b2352 Merge pull request #5522 from Icinga/feature/docs-external-checks-freshness
Docs: Update freshness checks; add chapter for external check results
2017-08-18 17:05:18 +02:00
Michael Friedrich
75a41741c5 Docs: Update freshness checks; add chapter for external check results
This also adds a nice example for freshness checks with unknown runtime details.
2017-08-18 17:02:43 +02:00
Michael Friedrich
d075665d1b Merge pull request #5486 from Icinga/feature/remove-deprecated-graphite-legacy-mode
Graphite: Remove deprecated legacy schema mode
2017-08-17 20:06:47 +02:00
Michael Friedrich
6c577d65d2 InfluxdbWriter: Log a warning about soon-to-be-removed socket_timeout attribute for 2.7.x
refs #5460
refs #5469
refs #5504
2017-08-17 18:29:41 +02:00
Simon Murray
d052e94b45 Fix TLS Race Connecting to InfluxDB
Rather than leaving stale connections about we tried to poll for data coming in
from InfluxDB and timeout if it didn't repond in a timely manner.  This introduced
a race where the timeout triggers, a context switch occurs where data is actually
available and the TlsStream spins trying to asynchronously notify that data is
available, but which never gets read.  Not only does this use up 100% of a core,
but it also slowly starves the system of handler threads at which point metrics
stop being delivered.

This basically removes the poll and timeout, any TLS socket erros should be
detected by TCP keep-alives.

Fixes #5460 #5469

refs #5504
2017-08-17 18:27:31 +02:00
Michael
15df0bf99f Updates the install dependencies for Debian 9 'stretch'
This updates the dependencies for an installtion on Debian 9 'stretch'. The package libmysqlclient-dev is no longer available on Debian 9, therefore we need to install the (meta) package default-libmysqlclient-dev, which points to libmariadbclient-dev-compat and is compatibl to libmysqlclient-dev.

refs #5516
2017-08-17 18:26:36 +02:00
Michael Friedrich
cb94b218a6 Merge pull request #5504 from spjmurray/fix/influxdb_timeouts_5460_5469
Fix TLS Race Connecting to InfluxDB
2017-08-17 18:25:17 +02:00
Michael Friedrich
f75fb898f8 Merge pull request #5516 from mcktr/fix/install-dependencies-debian
Updates the install dependencies for Debian 9 'stretch'
2017-08-17 18:17:58 +02:00
Michael
a53e86a8f4 Updates the install dependencies for Debian 9 'stretch'
This updates the dependencies for an installtion on Debian 9 'stretch'. The package libmysqlclient-dev is no longer available on Debian 9, therefore we need to install the (meta) package default-libmysqlclient-dev, which points to libmariadbclient-dev-compat and is compatibl to libmysqlclient-dev.
2017-08-16 21:45:46 +02:00
Michael Friedrich
52dcce972f Livestatus: Fix crash with empty stats columns
refs #5078
refs #5503
2017-08-16 15:28:15 +02:00
Michael Friedrich
de1f254fdb Merge pull request #5394 from dupondje/add_mssql_args
itl: add additional mssql_health arguments
2017-08-15 20:56:10 +02:00
Michael Friedrich
ca8d06b9ee Merge pull request #5401 from leeclemens/fix/itl-manubulon-snmp-env
itl: Add manubulon/check_snmp_env.pl as CheckCommand snmp-env
2017-08-15 12:54:31 +02:00
Michael Friedrich
a43ae941b6 Merge pull request #5497 from Icinga/fix/api-object-query-type-error
API: Fix requested attrs/joins/meta type errors in object query response
2017-08-15 12:52:33 +02:00
Michael Friedrich
1fb273ccba Docs: Fix wrong parameter for ITL CheckCommand nscp_api
refs #5239
2017-08-15 11:14:31 +02:00
Michael Friedrich
bdd2d5203e Merge pull request #5506 from Icinga/fix/doc-itl-nscp_api
Docs: Fix wrong parameter for ITL CheckCommand nscp_api
2017-08-15 11:13:45 +02:00
Michael Friedrich
a2ce461174 Docs: Fix wrong parameter for ITL CheckCommand nscp_api
refs #5239
2017-08-15 11:12:13 +02:00
Yannick Charton
e61d43468b Feature/itl check snmp options (#5387)
Add missing options for the definition of the ITL snmp CheckCommand

snmp_offset, snmp_output_delimiter and snmp_perf_oids options
2017-08-14 17:51:23 +02:00
Michael
f7931b2f52 Notification scripts: Fix duplicate variable in mail-{host,service}-notification
refs #5502
2017-08-14 17:36:44 +02:00
Michael Friedrich
301b72ceef Merge pull request #5502 from mcktr/mcktr/fix/notification-scripts
Fix duplicate variable in notification scripts
2017-08-14 17:36:08 +02:00
Michael
e2bf7516bb Notification scripts: Fix duplicate variable in mail-{host,service}-notification 2017-08-14 17:34:39 +02:00
Christian Gut
7b9634ef90 Notification scripts: More readable & redundancy cleanup
refs #5468
2017-08-14 17:30:48 +02:00
Michael Friedrich
c3ecc96820 Merge pull request #5468 from cycloon/master
Make notification mails more readable. Remove redundancy and cruft.
2017-08-14 17:30:14 +02:00
Christian Gut
0f0b6f1df9 Notification scripts: More readable & redundancy cleanup 2017-08-14 17:27:39 +02:00
Michael Friedrich
ccd10bef57 Update documentation for optional arguments and add old updated command config
See https://www.icinga.com/docs/icinga2/latest/doc/03-monitoring-basics/#notification-commands-in-27

refs #5474
2017-08-14 17:22:52 +02:00
pv2b
57a092fc2a Notification scripts: Make the -4 parameter optional
Not all hosts may have the `address` attribute set, or just use
`address6` instead.

refs #5474
2017-08-14 17:22:39 +02:00
Michael Friedrich
b4b3509818 Merge pull request #5474 from pv2b/notification-make-ipv4-optional
Notification scripts - make HOSTADDRESS optional
2017-08-14 17:21:59 +02:00
Simon Murray
abc3652b00 Fix TLS Race Connecting to InfluxDB
Rather than leaving stale connections about we tried to poll for data coming in
from InfluxDB and timeout if it didn't repond in a timely manner.  This introduced
a race where the timeout triggers, a context switch occurs where data is actually
available and the TlsStream spins trying to asynchronously notify that data is
available, but which never gets read.  Not only does this use up 100% of a core,
but it also slowly starves the system of handler threads at which point metrics
stop being delivered.

This basically removes the poll and timeout, any TLS socket erros should be
detected by TCP keep-alives.

Fixes #5460 #5469
2017-08-14 16:20:49 +01:00
Michael Friedrich
f0fbcbba5b Update documentation for optional arguments and add old updated command config
See https://www.icinga.com/docs/icinga2/latest/doc/03-monitoring-basics/#notification-commands-in-27

refs #5474
2017-08-14 17:11:57 +02:00
pv2b
7dabf2fe93 Notification scripts: Make the -4 parameter optional
Not all hosts may have the `address` attribute set, or just use
`address6` instead.

refs #5474
2017-08-14 17:11:57 +02:00
Dirk Goetz
4080c84c1b SELinux: fixes for 2.7.0
allow Icinga2 to connect to its own API
allow execution of hostname for notification plugin

refs #5479

refs #5501
2017-08-14 16:57:28 +02:00
Michael Friedrich
c572573228 Merge pull request #5501 from dgoetz/fix/selinux-5479
SELinux: fixes for 2.7.0
2017-08-14 16:56:07 +02:00
Gunnar Beutner
6bc79b6b37 Merge pull request #5503 from Icinga/fix/livestatus-stats-groups
Fix grouping for Livestatus queries with 'Stats'
2017-08-14 16:19:18 +02:00
Gunnar Beutner
5402c1d610 Fix grouping for Livestatus queries with 'Stats'
refs #5078
2017-08-14 15:30:06 +02:00
Dirk Goetz
75e086747a SELinux: fixes for 2.7.0
allow Icinga2 to connect to its own API
allow execution of hostname for notification plugin

refs #5479
2017-08-14 11:48:08 +00:00
Michael Friedrich
df0764192e Merge pull request #5500 from Icinga/fix/json-parsing-error-on-process-helper-crash
Process: Fix JSON parsing error on process helper crash
2017-08-14 11:41:49 +02:00
Noah Hilverling
5b9337e130 Process: Fix JSON parsing error on process helper crash 2017-08-14 08:27:04 +02:00
Stefar77
6b66e332fb API: Fix requested attrs/joins/meta type errors in object query response
fixes #5377

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-08-11 16:23:29 +02:00
Michael Friedrich
2203bb233f Docs: Update examples for match/regex/cidr_match and mode for arrays (Match{All,Any})
refs #5480

refs #5496
2017-08-11 15:10:01 +02:00
Michael Friedrich
6a624c08c8 Merge pull request #5496 from Icinga/fix/docs-match-all
Docs: Update examples for match/regex/cidr_match and mode for arrays (Match{All,Any})
2017-08-11 15:09:34 +02:00
Michael Friedrich
f79332df5c Docs: Update examples for match/regex/cidr_match and mode for arrays (Match{All,Any})
refs #5480
2017-08-11 15:02:41 +02:00
Francesco Colista
30d40352de Docs: Add instructions for Alpine Linux
refs #5491

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-08-11 13:32:25 +02:00
Michael Friedrich
fad56d662a Merge pull request #5491 from fcolista/master
Update "Getting Started" documentation with Alpine Linux
2017-08-11 13:31:38 +02:00
Francesco Colista
2addbcba8f Docs: Add instructions for Alpine Linux
Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-08-11 13:12:04 +02:00
Michael Friedrich
04221c8759 Docs: Add section for multiple template imports
refs #5494
2017-08-11 12:51:10 +02:00
Michael Friedrich
a8c44cba35 Merge pull request #5494 from Icinga/feature/docs-multiple-templates
Docs: Add section for multiple template imports
2017-08-11 12:50:32 +02:00