Commit Graph

921 Commits

Author SHA1 Message Date
Michael Friedrich 58da59854d Change 'api setup' into a manual step while configuring the API
fixes #10549
2015-11-05 15:37:58 +01:00
Michael Friedrich a3d5d2488e Update API documentation from feedback and API clients
refs #9105
2015-11-05 14:41:18 +01:00
Gunnar Beutner 51f473d08a Implement the current_filename and current_line keywords
fixes #10243
2015-11-03 16:34:34 +01:00
Michael Friedrich 43976d3989 Add host.last_state_{up,down} and last_check attribute, hide *_raw attributes
fixes #10508
fixes #10509
2015-11-02 14:10:44 +01:00
Sebastian Chrostek a2c09a122b Add ipv4/ipv6 only to tcp, udp and http CheckCommand
fixes #10513

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-11-02 08:32:04 +01:00
Markus Frosch 3134e446c5 Update API docs for language improvements
refs #9105
2015-11-01 18:30:46 +01:00
Michael Friedrich 612337754d Update API documentation
See comments in https://dev.icinga.org/issues/9105#note-15

refs #9105
2015-11-01 16:34:56 +01:00
Lennart Betz 5c8386b388 Add check command negate.
fixes #10507

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-11-01 14:01:32 +01:00
Lennart Betz cdfc283395 Add check command mysql
fixes #10511

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-11-01 13:55:15 +01:00
Michael Friedrich 4d3020d9b3 Update API documentation
* Rename object types to config object types
* Add common config object attributes (e.g. version) overview
* add API references to troubleshooting
* add CheckResult and PerfdataValue value types (exposed via API)
* Update object types and their attributes

refs #9105
2015-11-01 13:43:26 +01:00
Michael Friedrich a3e8cf8fb1 Update documentation
refs #9105
2015-10-29 17:31:15 +01:00
Michael Friedrich 46e892cc60 Documentation: Reorganize Livestatus and alternative Frontends
fixes #10482
2015-10-28 21:21:50 +01:00
Michael Friedrich 1223007377 Review and update documentation
fixes #9080
refs #9105
2015-10-27 18:42:32 +01:00
Jean Flach 2fc042e231 Update API actions and documentation
refs #9080 #9105
2015-10-27 14:15:07 +01:00
Gunnar Beutner 2f2269b477 Remove byte order mark in 9-icinga2-api.md
refs #9105
2015-10-27 09:50:24 +01:00
Gunnar Beutner 263e9d43a6 Update documentation
refs #9105
2015-10-27 08:59:36 +01:00
Jean Flach 0efab37e72 Update API documentation
refs #9080
2015-10-26 17:03:23 +01:00
Bastian Guse 6b3e3812e2 Add check command nginx_status
fixes #10374

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-10-26 09:51:16 +01:00
Mhd Sulhan d2722363dc doc.icinga2.8: rewrite man page
- Change man page section to 8.
- Update man page date.
- Describe how to invoke the program with command and options.
- Describe config and validate options for daemon (taken from docs).

fixes #10441

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-10-26 08:08:17 +01:00
Hannes Van de Vel b49ed5a876 Fix incorrect attribute name in the documentation
fixes #10456

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-10-26 07:49:18 +01:00
Michael Friedrich bd5d3440c1 Add apply for to the language reference documentation
fixes #10409
2015-10-22 17:01:59 +02:00
Michael Friedrich b2fb4546df Document that modified attributes require accept_config for cluster/clients
fixes #10368
2015-10-22 16:24:59 +02:00
Michael Friedrich d618762dad Export original attributes in DB IDO and Livestatus
fixes #10392
2015-10-22 15:49:42 +02:00
Gunnar Beutner 4cf4ffe893 Fix: 'dig_lookup' custom attribute for the 'dig' check command isn't optional
fixes #10433
2015-10-22 14:53:58 +02:00
Gunnar Beutner b144191eff Update documentation
refs #9105
2015-10-22 12:18:23 +02:00
Jean Flach be320b2f77 Update API actions
fixes #10180
refs #9080
2015-10-22 11:33:26 +02:00
Michael Friedrich b4d592dc16 Documentation: Fix missing dollar sign escaping, add troubleshooting hint
This is a pretty common error for years and deserves
a troubleshooting entry.

fixes #10403
2015-10-21 22:49:21 +02:00
Dinesh Majrekar f426f3690b Add snmp_port custom attribute for the SNMP check command definitions
fixes #10423

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-10-21 18:05:01 +02:00
Michael Friedrich 638d10853a Add documentation for event streams
fixes #9078
2015-10-21 16:05:05 +02:00
Michael Friedrich 286538c17e Implement api event streams
Documentation is not yet complete.

refs #9078
2015-10-21 15:34:26 +02:00
Michael Friedrich 30b140761b Documentation: Fix table formatting
refs #9105
2015-10-19 13:27:20 +02:00
Gunnar Beutner 1fbb6a2b78 Release version 2.3.11 2015-10-19 11:16:36 +02:00
Michael Friedrich 4fb5329e60 Document Object#clone
fixes #9930
2015-10-16 11:57:19 +02:00
Michael Friedrich 464e7f0e9f Add timeout argument for pop, spop, imap, simap commands
fixes #10219
2015-10-15 15:13:24 +02:00
Gunnar Beutner 06a0f182a5 Implement the cidr_match function
fixes #10354
2015-10-14 10:14:01 +02:00
Jean Flach a879f5ea69 Improve timeperiods documentation
refs #10352
2015-10-13 13:46:39 +02:00
Gunnar Beutner 1c5e35bd79 Fix broken table in the documentation
fixes #10351
2015-10-13 11:09:24 +02:00
Valentin Hoebel 8cec60835b Added a hint regarding update-config for HA setups
At the moment, this command doesn't work if your configuration master is part of a HA setup.
May folks, including me, stumbled accross this fact. See https://dev.icinga.org/issues/8292 and
http://www.monitoring-portal.org/wbb/index.php?page=Thread&postID=212236&highlight=#post212236 for details.

Adding this hint to the documentation will be really helpful.

fixes #8292

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-10-13 10:01:58 +02:00
Siyalrach Anton Thomas f5196c7cb3 Remove duplicated text in section "Apply Notifications to Hosts and Services"
fixes #10350

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-10-13 09:54:23 +02:00
Michael Friedrich ccd6b7def4 Update documentation
refs #9105
2015-10-08 16:27:08 -07:00
Lars Engels fa73e3e526 Update getting started instructions for FreeBSD
Based on a patch from ogg1980:
https://github.com/Icinga/icinga2/pull/47

fixes #9466
2015-10-07 18:06:26 -07:00
Gunnar Beutner 254c076dd4 Fix incorrectly escaped arguments for CreateProcess
fixes #10245
2015-09-30 10:56:31 +02:00
Michael Friedrich 3e342015c9 Docs: Remove obsolete mod attr commands
refs #9851
2015-09-29 14:56:04 +02:00
Michael Friedrich 20b4545da4 Docs: Add {api-users,app}.conf to configuring Icinga 2
fixes #10202
2015-09-28 18:38:36 +02:00
Michael Friedrich 30d1fa4a82 Update the api documentation
Rename /v1/hosts to /v1/objects/hosts.
Add permissions docs.
Change the url endpoints and change the host create/modify/etc
into a generic config object section.

refs #9105
2015-09-28 18:04:42 +02:00
Michael Friedrich d0d5bd9b0a Docs: Use of same endpoint names in examples for a better understanding
fixes #10057
2015-09-25 12:30:27 +02:00
Michael Friedrich 209b06dda0 Use localhost:5665 in all api examples
refs #10210
2015-09-25 11:56:10 +02:00
Michael Friedrich 6555e42d43 Docs: Cluster naming convention for clients, troubleshooting for overdue check results
fixes #10216
fixes #10207
2015-09-25 11:34:01 +02:00
Jean-Marcel Flach 20180930f7 Update docs
refs #10210
2015-09-25 10:28:11 +02:00
Michael Friedrich da598a0824 Docs: Fix typo
refs #10161
2015-09-24 19:15:34 +02:00
Jean-Marcel Flach c4ff1d195b Update docs: check_memory
fixes #10161
2015-09-24 18:00:00 +02:00
Jean-Marcel Flach 4ef9761fee Implement status api handler
Global statistics, features, etc.

fixes #10116
2015-09-23 16:59:07 +02:00
Michael Friedrich 84536da221 Implement global modified attributes for the IcingaApplication class
fixes #9859
2015-09-23 15:02:53 +02:00
Gunnar Beutner eeb01831c0 Implement the Array#reverse and String#reverse methods
fixes #10197
2015-09-23 09:06:15 +02:00
Jean-Marcel Flach 8caac68f76 Doccument permission problems with check_updates.exe
fixes #10177
2015-09-21 15:49:36 +02:00
Gunnar Beutner 67426387fe Update documentation 2015-09-21 12:58:20 +02:00
Michael Friedrich 7dc3d28eaf Docs: Add a chapter on cluster config sync for the API
refs #9927
refs #9100
2015-09-17 15:52:54 +02:00
Michael Friedrich c14fbbf50b Update graphing section in the docs
fixes #10157
2015-09-16 15:00:12 +02:00
Michael Friedrich 5e06ad015a Update debug docs for core dumps and full backtraces
fixes #10142
2015-09-14 21:35:56 +02:00
Michael Friedrich fcf2f0ef5d Deprecate IcingaStatusWriter feature
fixes #8741
2015-09-14 10:36:06 +02:00
Lennart Betz f0250a5c14 ITL: add check command for check_hpasm
fixes #9854

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-09-12 21:07:38 +02:00
Lennart Betz f1735895b7 ITL: add check_command nwc_health
fixes #9812

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-09-12 21:04:44 +02:00
Lennart Betz e17facfd57 Add missing options to check command dig
fixes #10139

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-09-12 20:54:24 +02:00
Lennart Betz 5a118bd6ea add check command for plugin check_pgsql
fixes #10112

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-09-12 20:52:38 +02:00
Sebastian Chrostek f66b9bbf1e ITL: Add ipv4/ipv6 only to nrpe check command
fixes #10129

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-09-10 09:14:40 +02:00
Michael Friedrich f5b682415f Documentation for config management api
fixes #9723
2015-09-07 14:04:34 +02:00
Lennart Betz 98b0fb7c22 ITL: Add check command squid
fixes #10109

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-09-07 11:41:52 +02:00
Michael Friedrich b10cb8a2e7 Implement a better Graphite tree schema
This changes the entire tree, but with the prefix "icinga2"
not to conflict with existing installations. Includes
enable_legacy_mode and detailed documentation.

fixes #9461
fixes #8149
2015-09-06 11:10:49 +02:00
Michael Friedrich c6395ebfe4 Release version 2.3.10 2015-09-05 16:31:37 +02:00
Michael Friedrich fa6c0fe173 Fix string escape problem with PostgreSQL >= 9.1 and standard_conforming_strings=on
fixes #9244
2015-09-05 14:08:35 +02:00
Michael Friedrich f1e37c4e72 Docs: Remove unused wip chapter
refs #9105
2015-08-29 10:29:53 +02:00
Michael Friedrich 21b021b8a5 Docs: Fix url anchors in API chapter
refs #9105
2015-08-29 10:29:19 +02:00
Michael Friedrich d4b3bb57cb API: First documentation draft
refs #9105
2015-08-28 17:17:51 +02:00
Gunnar Beutner 63a1ff77c3 Implement the resolve_arguments function
fixes #10006
2015-08-27 09:02:21 +02:00
Gunnar Beutner 373b88df33 Implement the escape_shell_arg and escape_shell_cmd functions
fixes #10004
2015-08-27 09:02:21 +02:00
Jean Flach 01ced1549a Implement all actions except modified attributes
refs #9080 #9979
2015-08-26 13:53:17 +02:00
Gunnar Beutner b09dccb294 Release version 2.3.9 2015-08-26 11:33:10 +02:00
Lennart Betz e5f7c380ba Add new argument vmware_openvmtools to check commands vmware-esx-dc-runtime-tools and vmware-esxi-soap-vm-runtime-tools
fixes #9996

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-08-26 11:13:24 +02:00
Gunnar Beutner f8a26d810c Remove duplicate severity type in the documentation
fixes #9992
2015-08-26 08:39:05 +02:00
Lennart Betz f12b820685 Add check command nspc-local-counter
fixes #9985

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-08-24 13:19:31 +02:00
Gunnar Beutner 6a8f890e7c Remove the FutureExpression class
fixes #9972
2015-08-24 11:04:26 +02:00
Jean Flach afd6af39d5 Implement external commands as api actions
refs #9080
2015-08-21 12:48:32 +02:00
Michael Friedrich 53c93f459c Doc: Fix markdown formatting for global zones
fixes #9977
2015-08-21 12:23:36 +02:00
Michael Friedrich 428be72bab Implement Object#clone and rename Array/Dictionary#clone to shallow_clone
fixes #9931
2015-08-17 13:59:49 +02:00
Gunnar Beutner 80584f81f1 Fix typo in the documentation
fixes #9902
2015-08-15 19:52:43 +02:00
Gunnar Beutner d30d1d4dda Implement the Dictionary#keys method
fixes #9882
2015-08-11 13:58:29 +02:00
Gunnar Beutner 8f3396ae0d Implement support for attaching GDB to the Icinga process on crash
fixes #9866
2015-08-08 09:41:39 +02:00
Petr Ruzicka 04177cb736 ITL: Improve snmpv3 CheckCommand section
fixes #9827

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-08-07 13:32:49 +02:00
Lennart Betz 8d11b744f4 ITL: Add check command check_interfaces
fixes #9527

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-08-03 18:05:09 +02:00
Lennart Betz 6a2b695666 ITL: Add check command check_mailq
fixes #9811

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-08-03 16:37:59 +02:00
Lennart Betz bb0ce0e698 ITL: Add check command check_clamd
fixes #9747

Signed-off-by: Michael Friedrich <michael.friedrich@netways.de>
2015-08-03 16:26:04 +02:00
Dirk Goetz 4e4adf4126 Add check_yum to ITL
fixes #9671
2015-08-03 15:53:09 +02:00
Dirk Goetz 06d9db8c5d Add check_redis to ITL
fixes #9675
2015-08-03 15:46:30 +02:00
Dirk Goetz b2f27fa5eb Adds check_jmx4perl to ITL
fixes #9801
2015-08-03 15:29:04 +02:00
Michael Friedrich 766e2d73f4 Implement external command DEL_DOWNTIME_BY_HOST_NAME
Required by Classic UI 1.x, this will hopefully reduce
the noise on non-working commands with the old legacy stuff.

fixes #8979
2015-07-31 14:50:17 +02:00
Gunnar Beutner 1314cba61b Implement Dictionary#get and Array#get
fixes #9796
2015-07-30 20:58:52 +02:00
Michael Friedrich fca7a33aac Implement config file management for the API
refs #9083

fixes #9102
fixes #9103
fixes #9104

fixes #9705
2015-07-23 17:57:24 +02:00
Petr Ruzicka 660ffe9da7 Add "-r" parameter to the check_load command for dividing the load averages by the number of CPUs
New variable "load_percpu" added to use when "-r" should be added for the check_load command.

fixes #9699

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
2015-07-22 10:05:50 +02:00
Michael Friedrich c2027ef18c Update gdb pretty printer docs w/ Python 3
fixes #9686
2015-07-21 12:11:54 +02:00
Gunnar Beutner ccd63b9d15 Implement the include_zones directive
refs #9083
2015-07-21 09:32:17 +02:00