mirror of https://github.com/Icinga/icinga2.git
parent
88f16abb3c
commit
41d0c3f3d7
|
@ -69,6 +69,14 @@ Name | Description
|
|||
ido_type | **Required.** The type of the IDO connection object. Can be either "IdoMysqlConnection" or "IdoPgsqlConnection".
|
||||
ido_name | **Required.** The name of the IDO connection object.
|
||||
|
||||
### <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
|
||||
|
||||
The Plugin Check Commands provides example configuration for plugin check commands
|
||||
|
|
|
@ -31,3 +31,6 @@ object CheckCommand "cluster-zone" {
|
|||
vars.cluster_zone = "$host.name$"
|
||||
}
|
||||
|
||||
object CheckCommand "random" {
|
||||
import "random-check-command"
|
||||
}
|
||||
|
|
|
@ -44,3 +44,7 @@ template NotificationCommand "plugin-notification-command" {
|
|||
template EventCommand "plugin-event-command" {
|
||||
execute = PluginEvent
|
||||
}
|
||||
|
||||
template CheckCommand "random-check-command" {
|
||||
execute = RandomCheck
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue