mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 15:44:11 +02:00
parent
6c8bc20369
commit
454a8c9a49
@ -58,6 +58,14 @@ Name | Description
|
|||||||
-------------|---------------
|
-------------|---------------
|
||||||
cluster_zone | **Optional.** The zone name. Defaults to "$host.name$".
|
cluster_zone | **Optional.** The zone name. Defaults to "$host.name$".
|
||||||
|
|
||||||
|
### <a id="itl-random"></a> random
|
||||||
|
|
||||||
|
Check command for the built-in `random` check. This check returns random states
|
||||||
|
and adds the check source to the check output.
|
||||||
|
|
||||||
|
For test and demo purposes only. The `random` check command does not support
|
||||||
|
any vars.
|
||||||
|
|
||||||
# <a id="plugin-check-commands"></a> Plugin Check Commands
|
# <a id="plugin-check-commands"></a> Plugin Check Commands
|
||||||
|
|
||||||
The Plugin Check Commands provides example configuration for plugin check commands
|
The Plugin Check Commands provides example configuration for plugin check commands
|
||||||
|
@ -31,3 +31,6 @@ object CheckCommand "cluster-zone" {
|
|||||||
vars.cluster_zone = "$host.name$"
|
vars.cluster_zone = "$host.name$"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
object CheckCommand "random" {
|
||||||
|
import "random-check-command"
|
||||||
|
}
|
||||||
|
@ -46,3 +46,7 @@ template NotificationCommand "plugin-notification-command" {
|
|||||||
template EventCommand "plugin-event-command" {
|
template EventCommand "plugin-event-command" {
|
||||||
execute = PluginEvent
|
execute = PluginEvent
|
||||||
}
|
}
|
||||||
|
|
||||||
|
template CheckCommand "random-check-command" {
|
||||||
|
execute = RandomCheck
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user