Commit Graph

1401 Commits

Author SHA1 Message Date
Noah Hilverling f7f114f815 Merge branch 'mcktr/feature/4128-win-edit-button' of https://github.com/mcktr/icinga2 into mcktr-mcktr/feature/4128-win-edit-button 2017-10-16 14:34:47 +02:00
Michael cfcf192146 Fix typo in threshold syntax documentation 2017-10-15 17:28:30 +02:00
Konstantin Kelemen 9ddeba8ce6 Allow to disable thresholds for ipmi CheckCommand
fixes #5579

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-10-13 14:03:39 +02:00
Yannick Charton 8c059886ac add itl snmp-service
add itl snmp service for manubulon plugin check_snmp_win.pl
2017-10-13 00:30:27 +02:00
Michael Newton 88c863ae57 ITL: Support weathermap data in snmp_interface CheckCommand
See https://github.com/dnsmichi/manubulon-snmp/pull/26 for related commit.

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-10-12 16:55:59 +02:00
Michael Friedrich 1da5c53fee Enhance Monitoring Basics in the documentation
This commit adds documentation for

* custom attributes value types and nested dictionaries
* better introduction into apply rules and usage examples
* better apply for iterations and explanations
* notifications with users on the host/service objects explained in a dedicated chapter
* command arguments and set_if - which values are supported
* macro() as scoped function
* alternative host check command

This also changes all code and config snippets to use
three backticks instead of four spaces indent.

fixes #5663
fixes #5664
fixes #5665
fixes #5666
fixes #5667
fixes #5186
fixes #5060
fixes #5662
2017-10-10 21:08:19 +02:00
Michael Friedrich 2d8607d6b0 Enhance documentation with more details on value types for object attributes
Main focus: Object attributes and their value types. Originates from the
API Event Streams patch to document their value types. Now applied to
the entire configuration objects chapter.

The API chapter and their value types has been changed to capitalized
type identifiers.

Value types are now explicitly told about inside monitoring basics. This
has been adopted into the Icinga 2 training material a long time ago
and finds its way into the docs too.

The CheckResult and PerfdataValue value types have been moved into the
advanced topics chapter. mkdocs doesn't like multiple `#` headings in one file
and did just hide it.

Also moved the Influxdb details into the features documentation where it
belongs.

Many small references and URLs to other chapters added.
E.g. dedicated chapters for object accessor examples, to better link against
time dependent thresholds.

Can serve as patch basis and reference for ITL documentation where the
value types are missing too.

This commit also fixes the non-requirement of "legacy-timeperiod" which
also is a default template import since 2.6.

This also fixes the state mapping issue.

fixes #4015
2017-10-10 17:52:49 +02:00
Michael Friedrich 6abba51365 Merge pull request #5652 from Icinga/fix/docs-cluster-zone
Docs: Fix missing default value for cluster-zone checks
2017-10-09 13:11:58 +02:00
Michael Friedrich 98ce2bf7c5 Docs: Fix default value for `snmp_nocrypt` for Manubulon CheckCommand definitions 2017-10-09 11:09:53 +02:00
Michael Friedrich 6c83da6945 Docs: Fix missing default value for cluster-zone checks 2017-10-09 10:21:54 +02:00
Markus Frosch c90dc34edb Improve documentation and Systemd config for TasksMax setting
This also disables setting a value by default.

Packaging should decide to install the config file:
`/etc/systemd/system/icinga2.service.d`

fixes #5611

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-09-29 17:34:32 +02:00
Michael Friedrich 62942526ad Docs: Mention SELinux in Getting Started chapter
refs icinga/icingaweb2#2973
2017-09-29 10:41:01 +02:00
Michael Friedrich 16c0fc4177 Drop satellite.conf reference for bottom-up
refs #4799
2017-09-22 14:28:55 +02:00
Michael Friedrich 790485c8bc Drop repository.d from configuration chapter in the docs
refs #4799
2017-09-22 14:05:17 +02:00
Michael Friedrich 9c6196b1fb Remove reference to bottom-up in troubleshooting docs
refs #4799
2017-09-22 14:05:13 +02:00
Michael Friedrich ee16bf0c14 Update CLI commands documentation
refs #4799
2017-09-22 14:05:10 +02:00
Michael Friedrich 3d721236ae Add upgrading docs for removed bottom-up client mode
refs #4799
2017-09-22 14:05:04 +02:00
Michael Friedrich c0c0fd27fe Drop unused bottom-up images from the docs
refs #4799
2017-09-22 14:05:02 +02:00
Michael Friedrich 9c9b0140be Remove bottom-up from docs and add hints for Director, Puppet, etc.
refs #4799
2017-09-22 14:04:56 +02:00
Michael Friedrich aa6ad55212 Docs: Clarify on configuration and packages, thanks @dgoetz
refs #5604
refs #5301
2017-09-22 12:48:18 +02:00
Michael Friedrich 07a93a9036 Docs: Add a note for upgrading with removed classicui-config package
refs #5301
2017-09-22 12:28:26 +02:00
Michael Friedrich f41f220c78 Remove Classic UI references from docs
refs #5301
2017-09-22 12:26:59 +02:00
Michael Friedrich 086e24f28a Ensure that the cache directory always is set and add a note to upgrading docs
Thanks @dgoetz
2017-09-22 09:31:42 +02:00
Michael Friedrich 74d13345dc Merge pull request #5587 from Icinga/feature/custom-syslog-facility-option-on-sysloglogger-object-3964
SyslogLogger: Implement option to set syslog facility
2017-09-20 17:25:58 +02:00
Michael Friedrich 14cdcd89a2 Docs: Enhance certificate and configuration troubleshooting chapter 2017-09-20 17:07:34 +02:00
Michael Friedrich e3c152167d Docs: Add a note for upgrading to 2.7 2017-09-20 15:33:42 +02:00
ryanohnemus 1cb39994a5 API: Add optional reload parameter to config stage upload
You can now specify a boolean `reload` attribute that
will allow you to skip the icinga2 reload after config
validation. By default this is set to true.

The response text has been updated to show if icinga2
will reload or if it was requested to be skipped.

fixes #4769
2017-09-20 14:16:55 +02:00
Noah Hilverling ea24af6590 SyslogLogger: Implement option to set syslog facility
fixes #3964
2017-09-20 14:09:51 +02:00
Noah Hilverling 94fe1b2292 HttpServerConnection: Implement CORS support
fixes #4326
2017-09-20 13:18:29 +02:00
Michael Friedrich c8e5f0597b Docs: Add example for Windows service monitoring with check_nscp_api 2017-09-18 16:56:03 +02:00
Michael Friedrich 549ab29876 Docs: Add firewall details for check_nscp_api 2017-09-18 16:25:29 +02:00
Gunnar Beutner 5179faceab Implement new script functions: path_exists, glob and glob_recursive 2017-09-18 13:59:03 +02:00
Michael b2dd330e1f Fixed downtime example in documentation 2017-09-13 16:58:48 +02:00
Michael Friedrich c6f19d7e15 Merge pull request #5570 from Napsty/esxi-hardware-no-lcd
check_esxi_hardware.py with new --no-lcd parameter
2017-09-13 10:41:16 +02:00
Gunnar Beutner 4f5727fe1f Update documentation
refs #5450
2017-09-12 13:47:04 +02:00
Michael Friedrich 95f0a7a022 Docs: Technical Concepts for cluster and signing
refs #5450
2017-09-12 12:52:50 +02:00
Michael Friedrich 4cb090e1a6 Docs: Update user documentation for signing methods and Linux client setups
Better explanation for "CSR Auto-Signing" and a new term "On-Demand CSR Signing".

The Linux setup now accompanies the user step by step on each question asked.
The full table with all the details is moved to the bottom.

TODO: The Windows setup wizard does not support connection-less or ticket-less requests yet.

refs #5450
2017-09-12 12:52:50 +02:00
Michael Friedrich f6b267b843 Docs: Update ApiListener object type
refs #5450
2017-09-12 12:52:49 +02:00
Michael Friedrich 10b8c00d7a Docs: Add upgrade note for certs path
refs #5450
2017-09-12 12:52:49 +02:00
Michael Friedrich 72115e2a99 Docs: Update certs path
refs #5450
2017-09-12 12:52:49 +02:00
Michael Friedrich 1d75a15d8e ElasticWriter: Implement support for TLS connections (HTTP proxy)
This commit also enhances the log messages.

refs #5538
2017-09-12 12:52:49 +02:00
Michael Friedrich 95fbd75df8 ElasticWriter: Add basic auth support for Elasticsearch behind an HTTP proxy
refs #5538
2017-09-12 12:52:49 +02:00
Jean Flach e19d3f57c7 Add ElasticWriter
fixes #5538
2017-09-12 12:52:49 +02:00
Claudio Kuenzler cfd7f1ff5e check_esxi_hardware.py with new --no-lcd parameter 2017-09-12 09:09:30 +02:00
Jean Flach a6741af73e Merge pull request #5564 from Icinga/feature/elasticwriter-5538
Add Elasticwriter feature
2017-09-11 14:50:39 +02:00
Jean Flach 651379db6f Add ElasticWriter
fixes #5538
2017-09-11 14:27:04 +02:00
Roland Hopferwieser c5dad15d3a Exclude configfs from disk checks 2017-09-07 11:49:52 +02:00
Michael 4551113538 Add Edit button to Windows Setup Wizard
This adds an edit button to the windows setup wizard. This updates also the affected screenshots, where you can see the windws form, in the documentation.
2017-09-07 11:30:19 +02:00
ctrlaltca da7a900f55 Fix cli command used to enable debuglog feature on windows 2017-09-05 11:28:18 +02:00
Nicolai 4c81e11e41 Fixed nscp-disk service example 2017-08-29 13:34:00 +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 e88b97079c API: Add execution_{start,end} attribute to 'process-check-result' action
fixes #5002
2017-08-21 17:20:56 +02:00
Michael Friedrich 522eea1863 Fix wrong sub chapter for external checks 2017-08-18 17:13:59 +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 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 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
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
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 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 10b17d8295 Docs: Add section for multiple template imports 2017-08-11 12:49:10 +02:00
Michael Friedrich 9c7b3351be Docs: Enhance Troubleshooting with nscp-local, check_source, wrong thresholds 2017-08-09 20:50:32 +02:00
Michael Friedrich eb5e299c4b Graphite: Remove deprecated legacy schema mode
This commit includes some code cleanup too.

fixes #4992
2017-08-09 18:52:35 +02:00
Michael Friedrich 874e005284 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
2017-08-08 16:11:40 +02:00
Michael Friedrich 5c1de34b0e Docs: Fix ITL chapter TOC; add introduction with mini TOC
fixes #5428
2017-08-08 14:41:27 +02:00
Michael Friedrich e12e04e18c Fix missing code block in the docs
refs #5475
2017-08-08 12:21:09 +02:00
Michael Friedrich 8e24715b79 Merge pull request #5475 from Icinga/fix/notification-scripts-config-update
Docs: Add a note on required configuration updates for new notification scripts in v2.7.0
2017-08-08 12:19:13 +02:00
Michael Friedrich bd7d7ef845 Docs: Add a note on required configuration updates for new notification scripts in v2.7.0 2017-08-08 12:14:52 +02:00
Jean Flach eeb26bd93b Merge branch 'patch-1' of https://github.com/rgevaert/icinga2 into rgevaert-patch-1 2017-08-07 14:06:47 +02:00
Jean Flach 3d0466132f Fix whitespace in documentation
fixes #5427
2017-08-07 13:44:34 +02:00
Markus Waldmueller 96777b9f13 Update negate CheckCommand definition
refs #5427

Signed-off-by: Jean Flach <jean-marcel.flach@icinga.com>
2017-08-07 13:40:05 +02:00
Jean Flach 3427aca7d2 Merge pull request #5435 from Icinga/feature/3891-service-description
Add -d option to check_service
2017-08-07 11:36:20 +02:00
Markus Frosch 804ff94044 doc: Update Icinga repository release rpm location 2017-08-04 16:38:21 +02:00
Michael Friedrich 8791141de0 Update documentation for 2.7.0 2017-08-02 12:02:50 +02:00
Michael 60a851c504 added missing notification state 2017-07-27 08:55:35 +02:00
Lee Clemens b5ce0fda79 itl: Add manubulon/check_snmp_env.pl as CheckCommand snmp-env 2017-07-26 15:03:54 -04:00
Jean Flach 94f58f2c2e Add -d option to check_service 2017-07-26 17:02:18 +02:00
Jean Flach ba35e6cace Add ITL and documentation for new parameter 2017-07-24 10:14:15 +02:00
Michael Friedrich 695f6f90d7 Merge pull request #5393 from muhazzz/patch-1
Fix typo in the documentation
2017-07-20 15:31:30 +02:00
Denis 3105f4c418 Fix typo in the documentation 2017-07-20 15:29:44 +02:00
Michael Friedrich c1784bbb13 Merge pull request #5425 from Icinga/fix/doc-api
Fix formatting in API docs
2017-07-20 10:47:11 +02:00
Glauco Vinicius 41fe01dbc3 Fix formatting in API docs
Indent curl command to get the appropriated code highlight.
2017-07-20 10:41:17 +02:00
Blerim Sheqa eb88217e2d Update docs for better compatibility with mkdocs
* Rename files to allow easy ordering
* Update links inside markdown according to new file names
* Move HTML links (<a>...</a>) to the end of the header lines
  * This is necessary to allow mkdocs to parse headers correctly and display them in the TOC
  * Following sed command was used: sed -i .bu 's/\(<a.*a>\) \(.*\)/\2 \1/g' $filename
2017-07-12 20:46:12 +02:00
Jean-Louis Dupond e6883bba40 itl: add additional mssql_health arguments 2017-07-04 10:41:51 +02:00
Rudy Gevaert e8568ee44c Set shell prompt for commands to be #
These commands need to be run as the root user.  The documentation needs to reflect this.
2017-06-26 10:26:39 +02:00
Michael Friedrich 0e423df4a0 Merge pull request #5373 from Icinga/feature/rlimit-options
Make rlimits configurable by adding three variables: RLimitFiles, RLimitProcesses and RLimitStack

refs #5367
2017-06-23 12:56:05 +02:00
Gunnar Beutner c8b4fee843 Make rlimits configurable by adding three variables: RLimitFiles, RLimitProcesses and RLimitStack
refs #5367
2017-06-23 12:42:12 +02:00
Michael Friedrich 04757d19f8 Merge pull request #5366 from mcktr/fix/doc-satellite-linux-setup-wrong-node
Fixed wrong node in documentation chapter Client/Satellite Linux Setup
2017-06-21 16:32:38 +02:00
Jean Flach 9d0ee05436 Explain threshold computation for windows plugins
fixes #3560
2017-06-21 11:37:31 +02:00
mcktr 357fbaad12 Fixed wrong node in chapter Client/Satellite Linux Setup 2017-06-19 17:10:40 +02:00
Michael Friedrich 4f19bfe6ac Update package documentation for Debian Stretch 2017-06-19 17:06:20 +02:00
mcktr e3a7857030 Add documentation for securing mysql on debian/ubuntu. 2017-06-18 12:36:07 +02:00
Michael Friedrich f5d3428563 Notification Scripts: Ensure that mail from address works on Debian/RHEL/SUSE (mailutils vs mailx)
fixes #5299
2017-06-16 20:54:24 +02:00
Marianne M. Spiller 1eb152d863 Update documentation for enhanced notification scripts
refs #5170
2017-06-16 17:14:25 +02:00
Michael Friedrich dda0ef3db7 Docs: Fix built-in template description and URLs 2017-06-16 10:35:52 +02:00
Michael Friedrich b56f8e9a20 Docs: Fix broken format for notes/tips in CLI command chapter 2017-06-13 22:10:20 +02:00