Commit Graph

8353 Commits

Author SHA1 Message Date
Michael Friedrich 71cfa42731 Ensure that the cache directory always is set and add a note to upgrading docs
Thanks @dgoetz

refs #5601
2017-09-22 09:43:57 +02:00
Michael Friedrich 3201ec5444 Fix wrong URL in troubleshooting chapter
Wrong backport of #5594
2017-09-21 13:50:33 +02:00
Michael Friedrich 394385e939 Release version 2.7.1 2017-09-21 12:09:30 +02:00
Michael Friedrich 16c4599d62 changelog.py: Add "backported" to the list of ignored labels
refs #5599
2017-09-21 10:49:37 +02:00
Michael Friedrich 7eb9b342c1 Docs: Enhance certificate and configuration troubleshooting chapter
refs #5594
2017-09-20 17:17:45 +02:00
Michael Friedrich 4a85ab4dd8 Docs: Add a note for upgrading to 2.7
refs #5593
2017-09-20 15:47:24 +02:00
Michael Friedrich edeaed2b72 Silence log level for configuration file updates
This only helps with debugging the configuration sync, but seems
to be highlighted quite often in default configurations (where
the timestamp is equal).

refs #5566

refs #5590
2017-09-20 14:06:45 +02:00
Jean Flach d01a62d6de Fix where clauses for downtime/comment DB IDO queries using a non-matching legacy id before
fixes #5458 #5492

refs #5585
2017-09-20 12:25:25 +02:00
Michael Friedrich 2b01f3e725 Docs: Add example for Windows service monitoring with check_nscp_api
refs #5583
2017-09-18 16:58:34 +02:00
Adam James 1c5c4e40fb check_nscp_api: Allow arguments containing spaces
refs #5539
2017-09-18 16:46:31 +02:00
Michael Friedrich 5f7e59d92b Docs: Add firewall details for check_nscp_api
refs #5582
2017-09-18 16:28:12 +02:00
Michael Friedrich 116c35331f Logs: Change config sync update to highlight an information, not an error
fixes #5484

refs #5566
2017-09-08 13:40:44 +02:00
Ewoud Kohl van Wijngaarden ff2b6261a9 Ensure the cache directory exists
As suggested in https://github.com/Icinga/icinga2/issues/4414

refs #5392
2017-09-05 14:55:13 +02:00
Thomas Widhalm 419728ef58 Change loglines for checkables so checkable is quoted
refs #5529
2017-09-05 14:53:27 +02:00
Michael 8ca08de4cd Change more loglines for checkables so checkable is quoted
refs #5528

refs #5529
2017-09-05 14:52:36 +02:00
Michael Friedrich 9f931edc82 Livestatus: Fix crash with empty stats columns
refs #5078
refs #5503
2017-09-05 14:32:38 +02:00
Gunnar Beutner c70987f119 Fix grouping for Livestatus queries with 'Stats'
refs #5078

refs #5503
2017-09-05 14:32:03 +02:00
ctrlaltca 8e2a46ee0d Fix cli command used to enable debuglog feature on windows
refs #5549
2017-09-05 14:02:04 +02:00
Federico Cuello 740170d1a7 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>

refs #5495
2017-09-05 11:16:17 +02:00
Nicolai 077ea69e3c Fixed nscp-disk service example
refs #5536
2017-09-05 11:14:44 +02:00
Tobias von der Krone 85681a11fb ITL: Correct arguments for ipmi-sensor CheckCommand
Replace the wrong "set_if" attribute and assign the value correctly.

fixes #5542

refs #5543
2017-09-05 08:38:38 +02:00
Michael Friedrich c7a5671267 Enhance client connect/sync logging and include bytes/zone in logs
refs #5513

refs #5523
2017-08-30 15:13:08 +02:00
Michael Friedrich 7f787d90ec Change FIFO::Optimize() frequency for large messages
refs #5513

refs #5524
2017-08-30 15:12:23 +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 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 1fb273ccba Docs: Fix wrong parameter for ITL CheckCommand nscp_api
refs #5239
2017-08-15 11:14:31 +02:00
Michael f7931b2f52 Notification scripts: Fix duplicate variable in mail-{host,service}-notification
refs #5502
2017-08-14 17:36:44 +02:00
Christian Gut 7b9634ef90 Notification scripts: More readable & redundancy cleanup
refs #5468
2017-08-14 17:30:48 +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
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 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
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 04221c8759 Docs: Add section for multiple template imports
refs #5494
2017-08-11 12:51:10 +02:00
Michael Friedrich 6844c50748 Docs: Enhance Troubleshooting with nscp-local, check_source, wrong thresholds
refs #5487
2017-08-09 20:55:33 +02:00
Michael Friedrich 2b3a65d928 Fix config validation for DB IDO categories 'DbCatEverything'
refs #5238

refs #5483
2017-08-09 16:59:28 +02:00
Michael Friedrich 2ed4212f00 Systemd: Add DefaultTasksMax=infinity to service file
This solves the problem with Systemd >= 226 and fork errors with
Icinga 2. Seen on SLES 11 SP2.

fixes #4918

refs #5477
2017-08-08 16:24:59 +02:00
Michael Friedrich 20b4a49a0a Docs: Fix ITL chapter TOC; add introduction with mini TOC
fixes #5428

refs #5476
2017-08-08 14:47:02 +02:00
Michael Friedrich 3053e8d0b8 Fix missing code block in the docs
refs #5475
2017-08-08 12:30:38 +02:00
Michael Friedrich fdaacf2d77 Docs: Add a note on required configuration updates for new notification scripts in v2.7.0
refs #5475
2017-08-08 12:30:20 +02:00
Michael Friedrich fafa84de73 DB IDO: Fix host's unreachable state in history tables
fixes #5405

refs #5466
2017-08-08 12:29:31 +02:00
Michael Friedrich 7217aa52ee Update RELEASE.md to use new icinga-rpm-release location
refs #5461
2017-08-08 12:28:55 +02:00
Markus Frosch 3857e6b72d Docs: Update Icinga repository release rpm location
refs #5461
2017-08-08 12:28:29 +02:00
Gunnar Beutner 19c0f0a73f Add Changelog generation script for GitHub API
Required details are documented inside RELEASE.md

Fixes to the original file:
- duplicate issues (pagination with links instead of page (Github doesn't like counting))
- escape markdown in issue title
- use formatting helper functions
- env support for user, token, project
- "support" category for everything which is not "bug" or "enhancement"
- ignore more labels ("feedback", "question")
- sort milestones by due date and version string

refs #5457
2017-08-08 12:27:23 +02:00
Gunnar Beutner 80abc3855e Release version 2.7.0 2017-08-02 15:58:38 +02:00
Michael Friedrich 75aa7eeaa1 Merge pull request #5448 from Icinga/feature/update-docs
Update documentation for 2.7.0
2017-08-02 12:05:39 +02:00
Michael Friedrich 8791141de0 Update documentation for 2.7.0 2017-08-02 12:02:50 +02:00