From: Gunnar Beutner Date: Wed, 15 Aug 2012 14:15:07 +0000 (+0200) Subject: Cleaned up the documentation. X-Git-Tag: v0.0.1~132 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=94434e343d9784e557918566b21a980684f559cb;p=icinga2 Cleaned up the documentation. --- diff --git a/doc/icinga2-config.xml b/doc/icinga2-config.xml index d39fa57ba..ba26a020b 100644 --- a/doc/icinga2-config.xml +++ b/doc/icinga2-config.xml @@ -25,7 +25,7 @@ Object Definition Icinga 2 features an object-based configuration format. In order - to define objects the „object“ keyword is used: + to define objects the "object" keyword is used: object Host "host1.example.org" { alias = "host1", @@ -296,18 +296,18 @@ object Host "localhost" inherits "test-host" { address6 = "::1" } } -Note: The „default-host“ and - „test-host“ objects is marked as templates using the „abstract“ keyword. - Parent objects do not necessarily have to be „abstract“ though in +Note: The "default-host" and + "test-host" objects is marked as templates using the "abstract" keyword. + Parent objects do not necessarily have to be "abstract" though in general they are. Note: The += operator is used to insert additional properties into the macros dictionary. The final - dictionary contains all 3 macros and the property „color“ has the value - „blue“. + dictionary contains all 3 macros and the property "color" has the value + "blue". Parent objects are resolved in the order they're specified using - the „inherits“ keyword. Parent objects must already be defined by the + the "inherits" keyword. Parent objects must already be defined by the time they're used in an object definition. @@ -329,9 +329,9 @@ object Host "localhost" {
Includes - Other configuration files can be included using the „#include“ + Other configuration files can be included using the "#include" directive. Paths must be relative to the configuration file that - contains the „#include“ keyword: + contains the "#include" keyword: #include "some/other/file.conf"
@@ -368,7 +368,7 @@ object Host "localhost" {
- Property: cert + Attribute: cert This is used to specify the SSL client certificate Icinga 2 will use when connecting to other Icinga 2 instances. This property is @@ -377,7 +377,7 @@ object Host "localhost" {
- Property: ca + Attribute: ca This is the public CA certificate that is used to verify connections from other Icinga 2 instances. This property is optional @@ -385,7 +385,7 @@ object Host "localhost" {
- Property: node + Attribute: node The externally visible IP address that is used by other Icinga 2 instances to connect to this instance. This property is optional when @@ -396,7 +396,7 @@ object Host "localhost" {
- Property: service + Attribute: service The port this Icinga 2 instance should listen on. This property is optional when you're setting up a non-networked Icinga 2 @@ -404,22 +404,22 @@ object Host "localhost" {
- Property: pidpath + Attribute: pidpath Optional. The path to the PID file. Defaults to "icinga.pid" in the current working directory.
- Property: logpath + Attribute: logpath Optional. The path to the logfile. This is a shortcut for - creating a Logger object of type „file“ with the specified log + creating a Logger object of type "file" with the specified log path.
- Property: statepath + Attribute: statepath Optional. The path of the state file. This is the file Icinga 2 uses to persist objects between program runs. Defaults to @@ -427,7 +427,7 @@ object Host "localhost" {
- Property: macros + Attribute: macros Optional. Global macros that are used for service checks and notifications. @@ -447,20 +447,20 @@ object Host "localhost" { }
- Property: type + Attribute: type The type of the log. Can be "console", "syslog" or "file".
- Property: path + Attribute: path The log path. Ignored if the log type is not "file".
- Property: severity + Attribute: severity The minimum severity for this log. Can be "debug", "information", "warning" or "critical". Defaults to @@ -487,19 +487,19 @@ object Host "localhost" { Endpoint objects are used by the "discovery" component to specify connection information for remote Icinga 2 instances: - local object Endpoint „icinga-c2“ { + local object Endpoint "icinga-c2" { node = "192.168.5.46", service = 7777, }
- Property: node + Attribute: node The hostname/IP address of the remote Icinga 2 instance.
- Property: service + Attribute: service The port of the remote Icinga 2 instance.
@@ -540,53 +540,53 @@ object Host "localhost" { }
- Property: host_name + Attribute: host_name The host this service belongs to. There must be a "Host" object with that name.
- Property: alias + Attribute: alias Optional. A short description of the service.
- Property: methods - check + Attribute: methods - check The check type of the service. For now only Nagios-compatible plugins are supported ("native::NagiosCheck").
- Property: check_command + Attribute: check_command Optional when not using check_type == "nagios". The check command. This command may use macros.
- Property: check_interval + Attribute: check_interval Optional. The check interval (in seconds).
- Property: retry_interval + Attribute: retry_interval Optional. The retry interval (in seconds). This is used when the service is in a soft state.
- Property: servicegroups + Attribute: servicegroups Optional. The service groups this service belongs to.
- Property: checkers + Attribute: checkers Optional. A list of remote endpoints that may check this service. Wildcards can be used here. @@ -606,19 +606,19 @@ object Host "localhost" { }
- Property: alias + Attribute: alias Optional. A short description of the service group.
- Property: notes_url + Attribute: notes_url Optional. Notes URL. Used by the CGIs.
- Property: action_url + Attribute: action_url Optional. Action URL. Used by the CGIs.
@@ -659,33 +659,33 @@ object Host "localhost" { }
- Property: alias + Attribute: alias Optional. A short description of the host.
- Property: hostgroups + Attribute: hostgroups Optional. A list of host groups this host belongs to.
- Property: hostchecks + Attribute: hostchecks Optional. A list of services that are used to determine whether the host is up or down.
- Property: dependencies + Attribute: dependencies Optional. A list of services that are used to determine whether the host is unreachable.
- Property: services + Attribute: services Inline definition of services. Each property in this dictionary specifies a service. If the value of a property is a string it is @@ -694,7 +694,7 @@ object Host "localhost" { is used to determine the parent object and all other service-related properties are additively copied into the new service object. - The new service's name is „hostname-service“ - where „service“ + The new service's name is "hostname-service" - where "service" is the dictionary key in the services dictionary. The priority for service properties is (from highest to @@ -718,28 +718,28 @@ object Host "localhost" {
- Property: check_interval + Attribute: check_interval Optional. Copied into inline service definitions. The host itself does not have any checks.
- Property: retry_interval + Attribute: retry_interval Optional. Copied into inline service definitions. The host itself does not have any checks.
- Property: servicegroups + Attribute: servicegroups Optional. Copied into inline service definitions. The host itself does not have any checks.
- Property: checkers + Attribute: checkers Optional. Copied into inline service definitions. The host itself does not have any checks. @@ -759,19 +759,19 @@ object Host "localhost" { }
- Property: alias + Attribute: alias Optional. A short description of the host group.
- Property: notes_url + Attribute: notes_url Optional. Notes URL. Used by the CGIs.
- Property: action_url + Attribute: action_url Optional. Action URL. Used by the CGIs.
@@ -802,7 +802,7 @@ local object Component "delegation" { abstract object Service "nagios-service" { methods { - check = „native::NagiosCheck“ + check = "native::NagiosCheck" }, macros = {