20 lines
457 B
Plaintext
20 lines
457 B
Plaintext
object CheckCommand "http-check" {
|
|
import "plugin-check-command"
|
|
command = [ PluginDir + "/check_http" ]
|
|
arguments = {
|
|
"-I" = "$web_address$"
|
|
"-p" = "$web_port$"
|
|
"-u" = "$web_url$"
|
|
"-t" = "$web_timeout$"
|
|
"-w" = "$web_warning$"
|
|
"-c" = "$web_critical$"
|
|
}
|
|
vars.web_address = "$address$"
|
|
vars.web_timeout = "5"
|
|
vars.web_warning = "2"
|
|
vars.web_critical = "3"
|
|
vars.web_port = "$web_port$"
|
|
vars.web_url = "$web_uri$"
|
|
}
|
|
|