8400 Commits

Author SHA1 Message Date
Michael Friedrich
9e17ff874b Logs: Change config sync update to highlight an information, not an error
fixes #5484
2017-09-12 12:52:49 +02:00
Gunnar Beutner
b316de8aea Implement additional logging for the JsonRpc class 2017-09-12 12:52:49 +02:00
Michael Friedrich
ef8a6cad1d Merge pull request #5559 from rhopfer/fix/disk-exclude-configfs
Exclude configfs from disk checks
2017-09-07 12:32:23 +02:00
Roland Hopferwieser
c5dad15d3a Exclude configfs from disk checks 2017-09-07 11:49:52 +02:00
Michael Friedrich
08486a0f7c Fix tests for URL formatting changes
refs #5558
2017-09-07 11:26:19 +02:00
Michael Friedrich
94707f9765 Merge pull request #5558 from Icinga/fix/http-request
Don't sent scheme and hostname in request
2017-09-06 16:18:36 +02:00
Jean Flach
de51966f52 Don't sent scheme and hostname in request 2017-09-06 16:01:02 +02:00
Gunnar Beutner
a8bac0a42e Merge pull request #5549 from ctrlaltca/patch-1
Fix cli command used to enable debuglog feature on windows

fixes #5549
2017-09-05 12:11:55 +02:00
ctrlaltca
da7a900f55 Fix cli command used to enable debuglog feature on windows 2017-09-05 11:28:18 +02:00
Michael Friedrich
6d03d0a499 Merge pull request #5495 from federico-cuello-sociomantic/patch-1
Fix parameter order for AcknowledgeSvcProblem / AcknowledgeHostProblem / apiactions:AcknowledgeProblem
2017-09-05 11:13:33 +02:00
Federico Cuello
a6b4bd48e2 Fix parameter order for Acknowledge{,Svc,Host}Problem in API actions/external commands
It was preventing email notifications with default settings, as `persistent` defaults to false and therefore `notify` was not set.

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-09-05 08:50:22 +02:00
Michael Friedrich
aac9ffd983 Merge pull request #5536 from nbuchwitz/patch-1
Fixed nscp-disk service example
2017-09-05 08:40:36 +02:00
Michael Friedrich
fb71055526 Merge pull request #5543 from tobiasvdk/fix/ipmi-sensors-checkcommand-5542
ITL: Correct arguments for ipmi-sensor CheckCommand
2017-09-05 08:38:03 +02:00
Tobias von der Krone
e84fbf3a97 ITL: Correct arguments for ipmi-sensor CheckCommand
Replace the wrong "set_if" attribute and assign the value correctly.

fixes #5542
2017-09-01 14:19:07 +02:00
Nicolai
4c81e11e41 Fixed nscp-disk service example 2017-08-29 13:34:00 +02:00
Michael Friedrich
acea264b70 Merge pull request #5534 from Icinga/feature/get-services
Implement get_services(host {name,object}) and add host object support for get_service()
2017-08-28 20:04:25 +02:00
Michael Friedrich
261bd93c0b Implement get_services(host {name,object}) and add host object support for get_service()
This includes some debug console examples too which involve advanced
map() and filter examples for better readability.

refs #4912
2017-08-28 19:54:26 +02:00
Michael Friedrich
e8f24a9dff Merge pull request #5529 from mcktr/mcktr/fix/checkable-loglines
Change two more loglines for checkables so checkable is quoted
2017-08-24 15:30:41 +02:00
Michael
ac0fdd7144 Change more loglines for checkables so checkable is quoted
refs #5528
2017-08-24 13:35:55 +02:00
Michael Friedrich
65116ea06f Merge pull request #5528 from widhalmt/fix/checkable-log
Change loglines for checkables so checkable is quoted
2017-08-23 19:49:02 +02:00
Thomas Widhalm
de9a097a97 Change loglines for checkables so checkable is quoted 2017-08-23 19:11:46 +02:00
Michael Friedrich
dfcd3ef115 Merge pull request #5527 from Icinga/feature/api-process-check-result-execution-end-5002
API: Add execution_{start,end} attribute to 'process-check-result' action
2017-08-22 09:12:08 +02:00
Michael Friedrich
e88b97079c API: Add execution_{start,end} attribute to 'process-check-result' action
fixes #5002
2017-08-21 17:20:56 +02:00
Michael Friedrich
445ee949da Merge pull request #5523 from Icinga/feature/enhance-client-connect-logging
Enhance client connect/sync logging and include bytes/zone in logs
2017-08-21 11:36:52 +02:00
Michael Friedrich
778c742b75 Merge pull request #5524 from Icinga/fix/cluster-fifo-optimize
Change FIFO::Optimize() frequency for large messages
2017-08-21 11:36:32 +02:00
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
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
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
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 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
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
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
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