diff --git a/doc/7-icinga-template-library.md b/doc/7-icinga-template-library.md
index 1fff9de11..77c448d77 100644
--- a/doc/7-icinga-template-library.md
+++ b/doc/7-icinga-template-library.md
@@ -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.
+### 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.
+
# Plugin Check Commands
The Plugin Check Commands provides example configuration for plugin check commands
diff --git a/itl/command-icinga.conf b/itl/command-icinga.conf
index 063e66ca8..a44fcc71b 100644
--- a/itl/command-icinga.conf
+++ b/itl/command-icinga.conf
@@ -31,3 +31,6 @@ object CheckCommand "cluster-zone" {
vars.cluster_zone = "$host.name$"
}
+object CheckCommand "random" {
+ import "random-check-command"
+}
diff --git a/lib/methods/methods-itl.conf b/lib/methods/methods-itl.conf
index b7e1dd9b5..ad7c91579 100644
--- a/lib/methods/methods-itl.conf
+++ b/lib/methods/methods-itl.conf
@@ -44,3 +44,7 @@ template NotificationCommand "plugin-notification-command" {
template EventCommand "plugin-event-command" {
execute = PluginEvent
}
+
+template CheckCommand "random-check-command" {
+ execute = RandomCheck
+}