Update documentation

This commit is contained in:
Gunnar Beutner 2015-02-11 15:12:06 +01:00
parent 6490d03b1f
commit 477f7a713c
1 changed files with 4 additions and 0 deletions

View File

@ -160,6 +160,8 @@ is that whenever Icinga needs the value for such a custom attribute it runs
the function and uses whatever value the function returns:
object CheckCommand "random-value" {
import "plugin-check-command"
command = [ PluginDir + "/check_dummy", "0", "$text$" ]
vars.text = {{ Math.random() * 100 }}
@ -201,6 +203,8 @@ are used in command definitions to figure out which IP address a check should be
run against:
object CheckCommand "my-ping" {
import "plugin-check-command"
command = [ PluginDir + "/check_ping", "-H", "$ping_address$" ]
arguments = {