summaryrefslogtreecommitdiffstats
path: root/doc/10-Monitoring.md
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:15:40 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:15:40 +0000
commitb7fd908d538ed19fe41f03c0a3f93351d8da64e9 (patch)
tree46e14f318948cd4f5d7e874f83e7dfcc5d42fc64 /doc/10-Monitoring.md
parentInitial commit. (diff)
downloadicingaweb2-module-businessprocess-b7fd908d538ed19fe41f03c0a3f93351d8da64e9.tar.xz
icingaweb2-module-businessprocess-b7fd908d538ed19fe41f03c0a3f93351d8da64e9.zip
Adding upstream version 2.5.0.upstream/2.5.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--doc/10-Monitoring.md49
1 files changed, 49 insertions, 0 deletions
diff --git a/doc/10-Monitoring.md b/doc/10-Monitoring.md
new file mode 100644
index 0000000..2d7c70c
--- /dev/null
+++ b/doc/10-Monitoring.md
@@ -0,0 +1,49 @@
+# Monitoring
+
+## Process Check Command
+
+The module provides a CLI command to check a business process.
+
+### Usage
+
+General: `icingacli businessprocess process check <process> [options]`
+
+Options:
+
+```
+ --config <configname> Name of the config that contains <process>
+ --details Show problem details as a tree
+ --colors Show colored output
+ --state-type <type> Define which state type to look at. Could be either soft
+ or hard, overrides an eventually configured default
+ --blame Show problem details as a tree reduced to the nodes
+ which have the same state as the business process
+ --root-cause Used in combination with --blame. Only shows
+ the path of the nodes which are responsible
+ for the state of the business process
+ --downtime-is-ok Treat hosts/services in downtime always as UP/OK.
+ --ack-is-ok Treat acknowledged hosts/services always as UP/OK.
+```
+
+### Detail View Integration
+
+It is possible to show the monitored process in the service detail view.
+
+For this to work, the name of the checkcommand configured in Icinga 2 must either
+be `icingacli-businessprocess` or the name that can be configured in the module
+configuration:
+
+**/etc/icingaweb2/modules/businessprocess/config.ini**
+```ini
+[DetailviewExtension]
+checkcommand_name=businessprocess-check
+```
+
+A service can define specific custom variables for this. Mandatory ones
+that are not defined, cause the detail view integration to not be active.
+
+| Variable Name | Mandatory | Description |
+|--------------------------------------|-----------|----------------------------------------------|
+| icingacli\_businessprocess\_process | Yes | The `<process>` being checked |
+| icingacli\_businessprocess\_config | No | Name of the config that contains `<process>` |
+| icingaweb\_businessprocess\_as\_tree | No | Whether to show `<process>` as tree or tiles |