Commit Graph

30 Commits

Author SHA1 Message Date
Jean Flach f4a1747e14
Merge pull request #5732 from Icinga/fix/flapping
Fix flapping calculation and events

fixes #5720
2017-11-08 15:10:55 +01:00
Michael Friedrich 026f6d6f2e Add documentation for new attributes in `Flapping` API event stream type 2017-11-08 10:17:05 +01:00
Irina Kaprizkina 4dad601fb6 Add documentation for multi-line plugin output for API actions
Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-11-02 15:58:39 +01: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
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
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 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
Michael Friedrich a64ff362e6 Docs: Add API query example for acknowledgements w/o expire time 2017-05-22 17:48:31 +02:00
Rune Darrud 273ca6a2cc Fix persistent comments for Acknowledgements
fixes #4818

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-05-10 17:10:22 +02:00
Andreas Scherbaum 98256ca0c7 Change http:// links to https:// links where a website exists
fixes #5149

Signed-off-by: Michael Friedrich <michael.friedrich@icinga.com>
2017-04-20 11:33:28 +02:00
Michael Friedrich e4ae789a7c Set zone attribute to no_user_modify for API POST requests
fixes #5166
2017-04-12 09:25:28 +02:00
Michael Friedrich 1c816ac9ad Update documentation (troubleshooting, monitor Icinga 2, configs, integrations, etc.)
fixes #5137
fixes #5140
fixes #1880
fixes #5142
fixes #5144
2017-04-05 20:13:32 +02:00
Michael Friedrich 46900cea3c Fix duration attribute requirement for schedule-downtime API action
fixes #5111
2017-03-31 10:34:07 +02:00
Michael Friedrich 60f334df52 Fix notify/sticky parameter handling in 'acknowledge-problem' API action
refs #13939
2017-02-23 12:30:28 +01:00
Michael Friedrich 0ddea54860 Add an example for /v1/actions/process-check-result which uses filter/type
fixes #4954
2017-02-07 13:42:22 +01:00
Michael Friedrich 3e12cb301c Update README.md and correct project URLs
fixes #13491
2016-12-08 17:38:41 +01:00
Michael Friedrich cda29b070f Docs: Add troubleshooting examples for fetching the executed command line
fixes #13455
2016-12-07 14:23:41 +01:00
Michael Friedrich be935d0239 Docs: Fix missing request headers for X-HTTP-Method-Override
fixes #13411
2016-12-06 10:46:47 +01:00
Michael Friedrich 6c975dab5f Docs: Update API and Library Reference chapters
New sub chapters for global functions linked everywhere.
New API examples and clarifications.

fixes #13327
fixes #12449
2016-11-25 15:31:10 +01:00
Gunnar Beutner 23e30ccb67 Revert "Implement the 'evaluate-macros' API action"
This reverts commit 851135d3a1.

fixes #13091
2016-11-17 10:39:27 +01:00
Michael Friedrich 1bfb91f065 Ensure that DowntimeStart notifications are not immediately sent
fixes #12549
2016-11-11 19:36:19 +01:00
Gunnar Beutner 851135d3a1 Implement the 'evaluate-macros' API action
fixes #13091
2016-11-09 09:13:42 +01:00
Michael Friedrich 09658f6d0e Add child_options for API action 'schedule-downtime'
fixes #10896
fixes #10897
2016-11-02 09:54:48 +01:00
Gunnar Beutner 602643b93d Provide location information for objects and templates in the API
fixes #12566
2016-08-27 19:25:38 +02:00
Gunnar Beutner 8e5961f217 Fix missing permissions and update the documentation
fixes #12483
2016-08-18 19:00:14 +02:00
Gunnar Beutner 6629277157 Fix incorrect API example in the documentation
fixes #12473
2016-08-18 10:06:29 +02:00
Michael Friedrich d341783a51 API: Implement 'generate-ticket' action and update distributed monitoring docs
fixes #12433
2016-08-15 15:19:28 +02:00
Michael Friedrich 4a3b33e3f5 Docs: Rewrite cluster and client chapter from scratch; add service monitoring chapter
Also apply a new structure.

Deleted the old cluster and client documentation and started "fresh".

This commit also includes various images used in the newly written
"Distributed Monitoring" chapter for better understanding.

fixes #12386
2016-08-14 17:56:38 +02:00