mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-26 07:04:37 +02:00
Update documentation.
This commit is contained in:
parent
ebb2989d00
commit
8973157812
@ -104,7 +104,9 @@ to define global macros which are available in all command definitions.
|
|||||||
The *conf.d/localhost.conf* file contains our first host definition:
|
The *conf.d/localhost.conf* file contains our first host definition:
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Our first host.
|
* A host definition. You can create your own configuration files
|
||||||
|
* in the conf.d directory (e.g. one per host). By default all *.conf
|
||||||
|
* files in this directory are included.
|
||||||
*/
|
*/
|
||||||
object Host "localhost" {
|
object Host "localhost" {
|
||||||
services["ping4"] = {
|
services["ping4"] = {
|
||||||
|
@ -6,7 +6,9 @@ A host.
|
|||||||
|
|
||||||
> **Note**
|
> **Note**
|
||||||
>
|
>
|
||||||
> Unlike in Icinga 1.x hosts are not checkable objects in Icinga 2.
|
> Unlike in Icinga 1.x hosts are not checkable objects in Icinga 2. Instead
|
||||||
|
> hosts inherit their state from the service that is specified using the *check*
|
||||||
|
> attribute.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
/**
|
/**
|
||||||
* Out first host.
|
* A host definition. You can create your own configuration files
|
||||||
|
* in the conf.d directory (e.g. one per host). By default all *.conf
|
||||||
|
* files in this directory are included.
|
||||||
*/
|
*/
|
||||||
object Host "localhost" {
|
object Host "localhost" {
|
||||||
services["ping4"] = {
|
services["ping4"] = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user