mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-26 07:04:37 +02:00
parent
ff077bc8b9
commit
26e35b7cf0
@ -31,7 +31,7 @@ Here is an example of a host object which defines two child services:
|
|||||||
|
|
||||||
object Service "http" {
|
object Service "http" {
|
||||||
host_name = "my-server1"
|
host_name = "my-server1"
|
||||||
check_command = "http_ip"
|
check_command = "http"
|
||||||
}
|
}
|
||||||
|
|
||||||
The example creates two services `ping4` and `http` which belong to the
|
The example creates two services `ping4` and `http` which belong to the
|
||||||
|
@ -112,7 +112,7 @@ object CheckCommand "http" {
|
|||||||
import "plugin-check-command"
|
import "plugin-check-command"
|
||||||
|
|
||||||
command = PluginDir + "/check_http"
|
command = PluginDir + "/check_http"
|
||||||
|
|
||||||
arguments = {
|
arguments = {
|
||||||
"-H" = "$http_vhost$"
|
"-H" = "$http_vhost$"
|
||||||
"-I" = "$http_address$"
|
"-I" = "$http_address$"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user