]> granicus.if.org Git - icinga2/blobdiff - doc/22-appendix.md
Documentation: Reorganize Livestatus and alternative Frontends
[icinga2] / doc / 22-appendix.md
index aaea1e573b540f2515cfb7e1eae3f44b46ced9c2..dd2093b98912c99c48cbd820fb4adab2e7dd7b55 100644 (file)
@@ -49,6 +49,7 @@ Additional details can be found in the [Icinga 1.x Documentation](http://docs.ic
   DEL_SVC_DOWNTIME                          | ;<downtime_id> (1)   | -
   SCHEDULE_HOST_DOWNTIME                    | ;<host_name>;<start_time>;<end_time>;<fixed>;<trigger_id>;<duration>;<author>;<comment> (8)  | -
   DEL_HOST_DOWNTIME                         | ;<downtime_id> (1)  | -
+  DEL_DOWNTIME_BY_HOST_NAME                 | ;<host_name>[;<service_name;>[;<start_time;>[;<comment_text;>]]] (1)  | -
   SCHEDULE_HOST_SVC_DOWNTIME                | ;<host_name>;<start_time>;<end_time>;<fixed>;<trigger_id>;<duration>;<author>;<comment> (8)  | -
   SCHEDULE_HOSTGROUP_HOST_DOWNTIME          | ;<hostgroup_name>;<start_time>;<end_time>;<fixed>;<trigger_id>;<duration>;<author>;<comment> (8)  | -
   SCHEDULE_HOSTGROUP_SVC_DOWNTIME           | ;<hostgroup_name>;<start_time>;<end_time>;<fixed>;<trigger_id>;<duration>;<author>;<comment> (8)  | -
@@ -90,12 +91,6 @@ Additional details can be found in the [Icinga 1.x Documentation](http://docs.ic
   STOP_EXECUTING_HOST_CHECKS                | -  | -
   START_EXECUTING_SVC_CHECKS                | -  | -
   STOP_EXECUTING_SVC_CHECKS                 | -  | -
-  CHANGE_SVC_MODATTR                        | ;<host_name>;<service_name>;<value> (3)  | -
-  CHANGE_HOST_MODATTR                       | ;<host_name>;<value> (2)  | -
-  CHANGE_USER_MODATTR                       | ;<user_name>;<value> (2)  | -
-  CHANGE_CHECKCOMMAND_MODATTR               | ;<checkcommand_name>;<value> (2)  | -
-  CHANGE_EVENTCOMMAND_MODATTR               | ;<eventcommand_name>;<value> (2)  | -
-  CHANGE_NOTIFICATIONCOMMAND_MODATTR        | ;<notificationcommand_name>;<value> (2)  | -
   CHANGE_NORMAL_SVC_CHECK_INTERVAL          | ;<host_name>;<service_name>;<check_interval> (3)  | -
   CHANGE_NORMAL_HOST_CHECK_INTERVAL         | ;<host_name>;<check_interval> (2)  | -
   CHANGE_RETRY_SVC_CHECK_INTERVAL           | ;<host_name>;<service_name>;<check_interval> (3)  | -
@@ -168,6 +163,7 @@ New table: `endpointstatus`
   endpoints           | endpoint_object_id | bigint   | NULL    | FK: objects table
   endpoints           | identity           | TEXT     | NULL    | endpoint name
   endpoints           | node               | TEXT     | NULL    | local node name
+  endpoints           | zone_object_id     | bigint   | NULL    | zone object where this endpoint is a member of
 
 New table: `endpointstatus`
 
@@ -177,6 +173,16 @@ New table: `endpointstatus`
   endpointstatus      | identity           | TEXT     | NULL    | endpoint name
   endpointstatus      | node               | TEXT     | NULL    | local node name
   endpointstatus      | is_connected       | smallint | 0       | update on endpoint connect/disconnect
+  endpointstatus      | zone_object_id     | bigint   | NULL    | zone object where this endpoint is a member of
+
+New tables: `zones` and `zonestatus`:
+
+  Table               | Column             | Type     | Default | Description
+  --------------------|--------------------|----------|---------|-------------
+  zones               | zone_object_id     | bigint   | NULL    | FK: objects table
+  zones               | parent_zone_object_id | bigint   | NULL    | FK: zones table
+  zones               | is_global          | smallint | 0       | zone is global
+
 
 New columns:
 
@@ -193,6 +199,8 @@ New columns:
   {host,service}group | notes_url               | TEXT     | NULL    | -
   {host,service}group | action_url              | TEXT     | NULL    | -
   customvariable*     | is_json                        | integer  | 0       | Defines whether `varvalue` is a json encoded string from custom attributes, or not
+  servicestatus       | original_attributes     | TEXT     | NULL    | JSON encoded dictionary of original attributes if modified at runtime.
+  hoststatus          | original_attributes     | TEXT     | NULL    | JSON encoded dictionary of original attributes if modified at runtime.
 
 Additional command custom variables populated from 'vars' dictionary.
 Additional global custom variables populated from 'Vars' constant (object_id is NULL).
@@ -203,7 +211,7 @@ Additional global custom variables populated from 'Vars' constant (object_id is
 
 Icinga 2 specific extensions are shown below:
 
-New table: `endpoints`
+New table: `endpoints`:
 
   Table     | Column
   ----------|--------------
@@ -211,6 +219,16 @@ New table: `endpoints`
   endpoints | identity
   endpoints | node
   endpoints | is_connected
+  endpoints | zone
+
+New table: `zones`:
+
+  Table     | Column
+  ----------|--------------
+  zone      | name
+  zone      | endpoints
+  zone      | parent
+  zone      | global
 
 New columns:
 
@@ -233,6 +251,8 @@ New columns:
   status    | custom_variable_names
   status    | custom_variable_values
   status    | custom_variables
+  hosts     | original_attributes
+  services  | original_attributes
 
 Command custom variables reflect the local 'vars' dictionary.
 Status custom variables reflect the global 'Vars' constant.