]> granicus.if.org Git - icinga2/blob - doc/9-appendix.md
9c81c02c9b9e0e3519c987068b30c3fe2d14a67d
[icinga2] / doc / 9-appendix.md
1 # <a id="appendix"></a> Appendix
2
3 ## <a id="icinga-template-library"></a> Icinga Template Library
4
5 ### <a id="itl-overview"></a> Overview
6
7 The Icinga Template Library (ITL) implements standard templates and object
8 definitions for commonly used services.
9
10 You can include the ITL by using the `include` directive in your configuration
11 file:
12
13     include <itl>
14
15 ### <a id="itl-generic-templates"></a> Generic Templates
16
17 These templates are imported by the provided example configuration.
18
19 #### <a id="itl-plugin-check-command"></a> plugin-check-command
20
21 Check command template for plugins executed by Icinga 2.
22
23 The `plugin-check-command` check command does not support any vars.
24
25 #### <a id="itl-plugin-notification-command"></a> plugin-check-command
26
27 Check command template for notification scripts executed by Icinga 2.
28
29 The `plugin-notification-command` check command does not support any vars.
30
31 #### <a id="itl-plugin-event-command"></a> plugin-check-command
32
33 Check command template for event handler scripts executed by Icinga 2.
34
35 The `plugin-event-command` check command does not support any vars.
36
37 ### <a id="itl-check-commands"></a> Check Commands
38
39 These check commands are embedded into Icinga 2 and do not require any external
40 plugin scripts.
41
42 #### <a id="itl-icinga"></a> icinga
43
44 Check command for the built-in `icinga` check. This check returns performance
45 data for the current Icinga instance.
46
47 The `icinga` check command does not support any vars.
48
49 #### <a id="itl-icinga"></a> cluster
50
51 Check command for the built-in `cluster` check. This check returns performance
52 data for the current Icinga instance and connected endpoints.
53
54 The `cluster` check command does not support any vars.
55
56
57
58 ## <a id="plugin-check-commands"></a> Plugin Check Commands
59
60 ### <a id="plugin-check-command-overview"></a> Overview
61
62 The Plugin Check Commands provides example configuration for plugin check commands
63 provided by the the Monitoring Plugins project.
64
65 You can include the plugin check command definitions by using the `include`
66 directive in your configuration file:
67
68     include <plugins>
69
70 The plugin check commands assume that there's a global constant named `PluginDir`
71 which contains the path of the plugins from the Monitoring Plugins project.
72
73
74 #### <a id="plugin-check-command-ping4"></a> ping4
75
76 Check command object for the `check_ping` plugin.
77
78 Custom Attributes:
79
80 Name            | Description
81 ----------------|--------------
82 ping_address    | **Optional.** The host's IPv4 address. Defaults to "$address$".
83 ping_wrta       | **Optional.** The RTA warning threshold in milliseconds. Defaults to 100.
84 ping_wpl        | **Optional.** The packet loss warning threshold in %. Defaults to 5.
85 ping_crta       | **Optional.** The RTA critical threshold in milliseconds. Defaults to 200.
86 ping_cpl        | **Optional.** The packet loss critical threshold in %. Defaults to 15.
87 ping_packets    | **Optional.** The number of packets to send. Defaults to 5.
88 ping_timeout    | **Optional.** The plugin timeout in seconds. Defaults to 0 (no timeout).
89
90 #### <a id="plugin-check-command-ping6"></a> ping6
91
92 Check command object for the `check_ping` plugin.
93
94 Custom Attributes:
95
96 Name            | Description
97 ----------------|--------------
98 ping_address    | **Optional.** The host's IPv6 address. Defaults to "$address6$".
99 ping_wrta       | **Optional.** The RTA warning threshold in milliseconds. Defaults to 100.
100 ping_wpl        | **Optional.** The packet loss warning threshold in %. Defaults to 5.
101 ping_crta       | **Optional.** The RTA critical threshold in milliseconds. Defaults to 200.
102 ping_cpl        | **Optional.** The packet loss critical threshold in %. Defaults to 15.
103 ping_packets    | **Optional.** The number of packets to send. Defaults to 5.
104 ping_timeout    | **Optional.** The plugin timeout in seconds. Defaults to 0 (no timeout).
105
106 #### <a id="plugin-check-command-hostalive"></a> hostalive
107
108 Check command object for the `check_ping` plugin with host check default values.
109
110 Custom Attributes:
111
112 Name            | Description
113 ----------------|--------------
114 ping_address    | **Optional.** The host's IPv4 address. Defaults to "$address$".
115 ping_wrta       | **Optional.** The RTA warning threshold in milliseconds. Defaults to 3000.
116 ping_wpl        | **Optional.** The packet loss warning threshold in %. Defaults to 80.
117 ping_crta       | **Optional.** The RTA critical threshold in milliseconds. Defaults to 5000.
118 ping_cpl        | **Optional.** The packet loss critical threshold in %. Defaults to 100.
119 ping_packets    | **Optional.** The number of packets to send. Defaults to 5.
120 ping_timeout    | **Optional.** The plugin timeout in seconds. Defaults to 0 (no timeout).
121
122 #### <a id="plugin-check-command-dummy"></a> dummy
123
124 Check command object for the `check_dummy` plugin.
125
126 Custom Attributes:
127
128 Name            | Description
129 ----------------|--------------
130 dummy_state     | **Optional.** The state. Can be one of 0 (ok), 1 (warning), 2 (critical) and 3 (unknown). Defaults to 0.
131 dummy_text      | **Optional.** Plugin output. Defaults to "Check was successful.".
132
133 #### <a id="plugin-check-command-passive"></a> passive
134
135 Specialised check command object for passive checks executing the `check_dummy` plugin with appropriate default values.
136
137 Custom Attributes:
138
139 Name            | Description
140 ----------------|--------------
141 dummy_state     | **Optional.** The state. Can be one of 0 (ok), 1 (warning), 2 (critical) and 3 (unknown). Defaults to 3.
142 dummy_text      | **Optional.** Plugin output. Defaults to "No Passive Check Result Received.".
143
144 #### <a id="plugin-check-command-tcp"></a> tcp
145
146 Check command object for the `check_tcp` plugin.
147
148 Custom Attributes:
149
150 Name            | Description
151 ----------------|--------------
152 tcp_address     | **Optional.** The host's address. Defaults to "$address$".
153 tcp_port        | **Required.** The port that should be checked.
154
155 #### <a id="plugin-check-command-udp"></a> udp
156
157 Check command object for the `check_udp` plugin.
158
159 Custom Attributes:
160
161 Name            | Description
162 ----------------|--------------
163 udp_address     | **Optional.** The host's address. Defaults to "$address$".
164 udp_port        | **Required.** The port that should be checked.
165
166 #### <a id="plugin-check-command-http-ip"></a> http
167
168 Check command object for the `check_http` plugin.
169
170 Custom Attributes:
171
172 Name               | Description
173 -------------------|--------------
174 http_address       | **Optional.** The host's address. Defaults to "$address".
175 http_vhost         | **Optional.** The virtual host that should be sent in the "Host" header.
176 http_uri           | **Optional.** The request URI.
177 http_port          | **Optional.** The TCP port. Defaults to 80 when not using SSL, 443 otherwise.
178 http_ssl           | **Optional.** Whether to use SSL. Defaults to false.
179 http_warn_time     | **Optional.** The warning threshold.
180 http_critical_time | **Optional.** The critical threshold.
181
182 #### <a id="plugin-check-command-smtp"></a> smtp
183
184 Check command object for the `check_smtp` plugin.
185
186 Custom Attributes:
187
188 Name                 | Description
189 ---------------------|--------------
190 smtp_address         | **Optional.** The host's address. Defaults to "$address$".
191
192 #### <a id="plugin-check-command-ssmtp"></a> ssmtp
193
194 Check command object for the `check_ssmtp` plugin.
195
196 Custom Attributes:
197
198 Name            | Description
199 ----------------|--------------
200 ssmtp_address   | **Required.** The host's address. Defaults to "$address$".
201 ssmtp_port      | **Optional.** The port that should be checked. Defaults to 465.
202
203 #### <a id="plugin-check-command-ntp-time"></a> ntp_time
204
205 Check command object for the `check_ntp_time` plugin.
206
207 Custom Attributes:
208
209 Name            | Description
210 ----------------|--------------
211 ntp_address     | **Optional.** The host's address. Defaults to "$address$".
212
213 #### <a id="plugin-check-command-ssh"></a> ssh
214
215 Check command object for the `check_ssh` plugin.
216
217 Custom Attributes:
218
219 Name            | Description
220 ----------------|--------------
221 ssh_address     | **Optional.** The host's address. Defaults to "$address$".
222 ssh_port        | **Optional.** The port that should be checked. Defaults to 22.
223
224 #### <a id="plugin-check-command-disk"></a> disk
225
226 Check command object for the `check_disk` plugin.
227
228 Custom Attributes:
229
230 Name            | Description
231 ----------------|--------------
232 disk_wfree      | **Optional.** The free space warning threshold in %. Defaults to 20.
233 disk_cfree      | **Optional.** The free space critical threshold in %. Defaults to 10.
234
235 #### <a id="plugin-check-command-users"></a> users
236
237 Check command object for the `check_disk` plugin.
238
239 Custom Attributes:
240
241 Name            | Description
242 ----------------|--------------
243 users_wgreater  | **Optional.** The user count warning threshold. Defaults to 20.
244 users_cgreater  | **Optional.** The user count critical threshold. Defaults to 50.
245
246 #### <a id="plugin-check-command-processes"></a> procs
247
248 Check command object for the `check_procs` plugin.
249
250 Custom Attributes:
251
252 Name            | Description
253 ----------------|--------------
254 procs_wgreater  | **Optional.** The process count warning threshold. Defaults to 250.
255 procs_cgreater  | **Optional.** The process count critical threshold. Defaults to 400.
256
257 #### <a id="plugin-check-command-swap"></a> swap
258
259 Check command object for the `check_swap` plugin.
260
261 Custom Attributes:
262
263 Name            | Description
264 ----------------|--------------
265 swap_wfree      | **Optional.** The free swap space warning threshold in %. Defaults to 50.
266 swap_cfree      | **Optional.** The free swap space critical threshold in %. Defaults to 25.
267
268 #### <a id="plugin-check-command-load"></a> load
269
270 Check command object for the `check_load` plugin.
271
272 Custom Attributes:
273
274 Name            | Description
275 ----------------|--------------
276 load_wload1     | **Optional.** The 1-minute warning threshold. Defaults to 5.
277 load_wload5     | **Optional.** The 5-minute warning threshold. Defaults to 4.
278 load_wload15    | **Optional.** The 15-minute warning threshold. Defaults to 3.
279 load_cload1     | **Optional.** The 1-minute critical threshold. Defaults to 10.
280 load_cload5     | **Optional.** The 5-minute critical threshold. Defaults to 6.
281 load_cload15    | **Optional.** The 15-minute critical threshold. Defaults to 4.
282
283 #### <a id="plugin-check-command-snmp"></a> snmp
284
285 Check command object for the `check_snmp` plugin.
286
287 Custom Attributes:
288
289 Name            | Description
290 ----------------|--------------
291 snmp_address    | **Optional.** The host's address. Defaults to "$address$".
292 snmp_oid        | **Required.** The SNMP OID.
293 snmp_community  | **Optional.** The SNMP community. Defaults to "public".
294
295 #### <a id="plugin-check-command-snmp-uptime"></a> snmp-uptime
296
297 Check command object for the `check_snmp` plugin.
298
299 Custom Attributes:
300
301 Name            | Description
302 ----------------|--------------
303 snmp_address    | **Optional.** The host's address. Defaults to "$address$".
304 snmp_oid        | **Optional.** The SNMP OID. Defaults to "1.3.6.1.2.1.1.3.0".
305 snmp_community  | **Optional.** The SNMP community. Defaults to "public".
306
307 #### <a id="plugin-check-command-apt"></a> apt
308
309 Check command for the `check_apt` plugin.
310
311 The `apt` check command does not support any vars.
312
313
314 ## <a id="schemas"></a> Schemas
315
316 ### <a id="schema-status-files"></a> Status Files
317
318 Status files used by Icinga 1.x Classic UI: `status.dat`, `objects.cache`.
319
320 Icinga 2 specific extensions:
321
322 * host and service objects support 'check_source' (added in Classic UI 1.10.0)
323 * command objects support custom variables (added in Classic UI 1.11.2)
324 * host and service objects support 'is_reachable' (added in Classic UI 1.11.3)
325
326 ### <a id="schema-db-ido"></a> DB IDO
327
328 There is a detailed documentation for the Icinga IDOUtils 1.x
329 database schema available on [http://docs.icinga.org/latest/en/db_model.html]
330
331 #### <a id="schema-db-ido-extensions"></a> DB IDO Schema Extensions
332
333 Icinga 2 specific extensions are shown below:
334
335 New tables: `endpoints`, `endpointstatus`
336
337   Table               | Column             | Type     | Default | Description
338   --------------------|--------------------|----------|---------|-------------
339   endpoints           | endpoint_object_id | bigint   | NULL    | FK: objects table
340   endpoints           | identity           | TEXT     | NULL    | endpoint name
341   endpoints           | node               | TEXT     | NULL    | local node name
342
343   Table               | Column             | Type     | Default | Description
344   --------------------|--------------------|----------|---------|-------------
345   endpointstatus      | endpoint_object_id | bigint   | NULL    | FK: objects table
346   endpointstatus      | identity           | TEXT     | NULL    | endpoint name
347   endpointstatus      | node               | TEXT     | NULL    | local node name
348   endpointstatus      | is_connected       | smallint | 0       | update on endpoint connect/disconnect
349
350 New columns:
351
352   Table               | Column                  | Type     | Default | Description
353   --------------------|-------------------------|----------|---------|-------------
354   all status/history  | endpoint_object_id      | bigint   | NULL    | FK: objects table
355   servicestatus       | check_source            | TEXT     | NULL    | node name where check was executed
356   hoststatus          | check_source            | TEXT     | NULL    | node name where check was executed
357   statehistory        | check_source            | TEXT     | NULL    | node name where check was executed
358   servicestatus       | is_reachable            | integer  | NULL    | object reachability
359   hoststatus          | is_reachable            | integer  | NULL    | object reachability
360   logentries          | object_id               | bigint   | NULL    | FK: objects table (service associated with column)
361   {host,service}group | notes                   | TEXT     | NULL    | -
362   {host,service}group | notes_url               | TEXT     | NULL    | -
363   {host,service}group | action_url              | TEXT     | NULL    | -
364
365 Additional command custom variables populated from 'vars' dictionary.
366 Additional global custom variables populated from 'Vars' constant (object_id is NULL).
367
368
369 ### <a id="schema-livestatus"></a> Livestatus
370
371
372 #### <a id="schema-livestatus-tables"></a> Livestatus Tables
373
374   Table         | Join      |Description
375   --------------|-----------|----------------------------
376   hosts         | &nbsp;    | host config and status attributes, services counter
377   hostgroups    | &nbsp;    | hostgroup config, status attributes and host/service counters
378   services      | hosts     | service config and status attributes
379   servicegroups | &nbsp;    | servicegroup config, status attributes and service counters
380   contacts      | &nbsp;    | contact config and status attributes
381   contactgroups | &nbsp;    | contact config, members
382   commands      | &nbsp;    | command name and line
383   status        | &nbsp;    | programstatus, config and stats
384   comments      | services  | status attributes
385   downtimes     | services  | status attributes
386   timeperiods   | &nbsp;    | name and is inside flag
387   endpoints     | &nbsp;    | config and status attributes
388   log           | services, hosts, contacts, commands | parses [compatlog](#objecttype-compatlogger) and shows log attributes
389   statehist     | hosts, services | parses [compatlog](#objecttype-compatlogger) and aggregates state change attributes
390
391 The `commands` table is populated with `CheckCommand`, `EventCommand` and `NotificationCommand` objects.
392
393
394 #### <a id="schema-livestatus-table-attributes"></a> Livestatus Table Attributes
395
396 A detailed list which table attributes are supported can be found here: [https://wiki.icinga.org/display/icinga2/Livestatus#Livestatus-Attributes]
397
398
399 #### <a id="schema-livestatus-get-queries"></a> Livestatus GET Queries
400
401     $ echo -e 'GET services' | netcat 127.0.0.1 6558
402
403     $ cat servicegroups <<EOF
404     GET servicegroups
405
406     EOF
407
408     (cat servicegroups; sleep 1) | netcat 127.0.0.1 6558
409
410 #### <a id="schema-livestatus-command-queries"></a> Livestatus COMMAND Queries
411
412 A list of available external commands and their parameters can be found [here](#external-commands-list-detail)
413
414     $ echo -e 'COMMAND <externalcommandstring>' | netcat 127.0.0.1 6558
415
416
417 #### <a id="schema-livestatus-filters"></a> Livestatus Filters
418
419 and, or, negate
420
421   Operator  | Negate   | Description
422   ----------|------------------------
423    =        | !=       | Euqality
424    ~        | !~       | Regex match
425    =~       | !=~      | Euqality ignoring case
426    ~~       | !~~      | Regex ignoring case
427    >        |          | Less than
428    <        |          | Greater than
429    >=       |          | Less than or equal
430    <=       |          | Greater than or equal
431
432
433 #### <a id="schema-livestatus-stats"></a> Livestatus Stats
434
435 Schema: "Stats: aggregatefunction aggregateattribute"
436
437   Aggregate Function | Description
438   -------------------|--------------
439   sum                | &nbsp;
440   min                | &nbsp;
441   max                | &nbsp;
442   avg                | sum / count
443   std                | standard deviation
444   suminv             | sum (1 / value)
445   avginv             | suminv / count
446   count              | ordinary default for any stats query if not aggregate function defined
447
448 Example:
449
450     GET hosts
451     Filter: has_been_checked = 1
452     Filter: check_type = 0
453     Stats: sum execution_time
454     Stats: sum latency
455     Stats: sum percent_state_change
456     Stats: min execution_time
457     Stats: min latency
458     Stats: min percent_state_change
459     Stats: max execution_time
460     Stats: max latency
461     Stats: max percent_state_change
462     OutputFormat: json
463     ResponseHeader: fixed16
464
465 #### <a id="schema-livestatus-output"></a> Livestatus Output
466
467 * CSV
468
469 CSV Output uses two levels of array seperators: The members array separator
470 is a comma (1st level) while extra info and host|service relation separator
471 is a pipe (2nd level).
472
473 Seperators can be set using ASCII codes like:
474
475     Separators: 10 59 44 124
476
477 * JSON
478
479 Default separators.
480
481 #### <a id="schema-livestatus-error-codes"></a> Livestatus Error Codes
482
483   Code      | Description
484   ----------|--------------
485   200       | OK
486   404       | Table does not exist
487   452       | Exception on query
488
489 #### <a id="schema-livestatus-extensions"></a> Livestatus Schema Extensions
490
491 Icinga 2 specific extensions are shown below:
492
493 New table: `endpoints`
494
495   Table     | Column
496   ----------|--------------
497   endpoints | name
498   endpoints | identity
499   endpoints | node
500   endpoints | is_connected
501
502 New columns:
503
504   Table     | Column
505   ----------|--------------
506   hosts     | is_reachable
507   services  | is_reachable
508   services  | check_source
509   downtimes | triggers
510   downtimes | trigger_time
511   commands  | custom_variable_names
512   commands  | custom_variable_values
513   commands  | custom_variables
514   commands  | modified_attributes
515   commands  | modified_attributes_list
516   status    | custom_variable_names
517   status    | custom_variable_values
518   status    | custom_variables
519
520 Command custom variables reflect the local 'vars' dictionary.
521 Status custom variables reflect the global 'Vars' constant.
522
523
524 ## <a id="external-commands-list-detail"></a> External Commands List
525
526 Additional details can be found in the [Icinga 1.x Documentation](http://docs.icinga.org/latest/en/extcommands2.html)
527
528   Command name                              | Parameters                        | Description
529   ------------------------------------------|-----------------------------------|--------------------------
530   PROCESS_HOST_CHECK_RESULT                 | ;<host_name>;<status_code>;<plugin_output> (3) | -
531   PROCESS_SERVICE_CHECK_RESULT              | ;<host_name>;<service_name>;<return_code>;<plugin_output> (4) | -
532   SCHEDULE_HOST_CHECK                       | ;<host_name>;<check_time> (2)  | -
533   SCHEDULE_FORCED_HOST_CHECK                | ;<host_name>;<check_time> (2)  | -
534   SCHEDULE_SVC_CHECK                        | ;<host_name>;<service_name>;<check_time> (3)  | -
535   SCHEDULE_FORCED_SVC_CHECK                 | ;<host_name>;<service_name>;<check_time> (3)  | -
536   ENABLE_HOST_CHECK                         | ;<host_name> (1)  | -
537   DISABLE_HOST_CHECK                        | ;<host_name> (1) | -
538   ENABLE_SVC_CHECK                          | ;<host_name>;<service_name> (2)  | -
539   DISABLE_SVC_CHECK                         | ;<host_name>;<service_name> (2)  | -
540   SHUTDOWN_PROCESS                          | (0) | -
541   RESTART_PROCESS                           | (0) | -
542   SCHEDULE_FORCED_HOST_SVC_CHECKS           | ;<host_name>;<check_time> (2)  | -
543   SCHEDULE_HOST_SVC_CHECKS                  | ;<host_name>;<check_time> (2)  | -
544   ENABLE_HOST_SVC_CHECKS                    | ;<host_name> (1) | -
545   DISABLE_HOST_SVC_CHECKS                   | ;<host_name> (1) | -
546   ACKNOWLEDGE_SVC_PROBLEM                   | ;<host_name>;<service_name>;<sticky>;<notify>;<persistent>;<author>;<comment> (7) | Note: Icinga 2 treats all comments as persistent.
547   ACKNOWLEDGE_SVC_PROBLEM_EXPIRE            | ;<host_name>;<service_name>;<sticky>;<notify>;<persistent>;<timestamp>;<author>;<comment> (8)  | Note: Icinga 2 treats all comments as persistent.
548   REMOVE_SVC_ACKNOWLEDGEMENT                | ;<host_name>;<service_name> (2)  | -
549   ACKNOWLEDGE_HOST_PROBLEM                  | ;<host_name>;<sticky>;<notify>;<persistent>;<author>;<comment> (6) | Note: Icinga 2 treats all comments as persistent.
550   ACKNOWLEDGE_HOST_PROBLEM_EXPIRE           | ;<host_name>;<sticky>;<notify>;<persistent>;<timestamp>;<author>;<comment> (7) | Note: Icinga 2 treats all comments as persistent.
551   REMOVE_HOST_ACKNOWLEDGEMENT               | ;<host_name> (1)  | -
552   DISABLE_HOST_FLAP_DETECTION               | ;<host_name> (1)  | -
553   ENABLE_HOST_FLAP_DETECTION                | ;<host_name> (1)  | -
554   DISABLE_SVC_FLAP_DETECTION                | ;<host_name>;<service_name> (2)  | -
555   ENABLE_SVC_FLAP_DETECTION                 | ;<host_name>;<service_name> (2)  | -
556   ENABLE_HOSTGROUP_SVC_CHECKS               | ;<hostgroup_name> (1)  | -
557   DISABLE_HOSTGROUP_SVC_CHECKS              | ;<hostgroup_name> (1)  | -
558   ENABLE_SERVICEGROUP_SVC_CHECKS            | ;<servicegroup_name> (1)  | -
559   DISABLE_SERVICEGROUP_SVC_CHECKS           | ;<servicegroup_name> (1)  | -
560   ENABLE_PASSIVE_HOST_CHECKS                | ;<host_name> (1)  | -
561   DISABLE_PASSIVE_HOST_CHECKS               | ;<host_name> (1)  | -
562   ENABLE_PASSIVE_SVC_CHECKS                 | ;<host_name>;<service_name> (2)  | -
563   DISABLE_PASSIVE_SVC_CHECKS                | ;<host_name>;<service_name> (2)  | -
564   ENABLE_SERVICEGROUP_PASSIVE_SVC_CHECKS    | ;<servicegroup_name> (1)  | -
565   DISABLE_SERVICEGROUP_PASSIVE_SVC_CHECKS   | ;<servicegroup_name> (1)  | -
566   ENABLE_HOSTGROUP_PASSIVE_SVC_CHECKS       | ;<hostgroup_name> (1)  | -
567   DISABLE_HOSTGROUP_PASSIVE_SVC_CHECKS      | ;<hostgroup_name> (1)  | -
568   PROCESS_FILE                              | ;<file_name>;<delete> (2)  | -
569   SCHEDULE_SVC_DOWNTIME                     | ;<host_name>;<service_name>;<start_time>;<end_time>;<fixed>;<trigger_id>;<duration>;<author>;<comment> (9)  | -
570   DEL_SVC_DOWNTIME                          | ;<downtime_id> (1)   | -
571   SCHEDULE_HOST_DOWNTIME                    | ;<host_name>;<start_time>;<end_time>;<fixed>;<trigger_id>;<duration>;<author>;<comment> (8)  | -
572   DEL_HOST_DOWNTIME                         | ;<downtime_id> (1)  | -
573   SCHEDULE_HOST_SVC_DOWNTIME                | ;<host_name>;<start_time>;<end_time>;<fixed>;<trigger_id>;<duration>;<author>;<comment> (8)  | -
574   SCHEDULE_HOSTGROUP_HOST_DOWNTIME          | ;<hostgroup_name>;<start_time>;<end_time>;<fixed>;<trigger_id>;<duration>;<author>;<comment> (8)  | -
575   SCHEDULE_HOSTGROUP_SVC_DOWNTIME           | ;<hostgroup_name>;<start_time>;<end_time>;<fixed>;<trigger_id>;<duration>;<author>;<comment> (8)  | -
576   SCHEDULE_SERVICEGROUP_HOST_DOWNTIME       | ;<servicegroup_name>;<start_time>;<end_time>;<fixed>;<trigger_id>;<duration>;<author>;<comment> (8)  | -
577   SCHEDULE_SERVICEGROUP_SVC_DOWNTIME        | ;<servicegroup_name>;<start_time>;<end_time>;<fixed>;<trigger_id>;<duration>;<author>;<comment> (8)  | -
578   ADD_HOST_COMMENT                          | ;<host_name>;<persistent>;<author>;<comment> (4)  | Note: Icinga 2 treats all comments as persistent.
579   DEL_HOST_COMMENT                          | ;<comment_id> (1)  | -
580   ADD_SVC_COMMENT                           | ;<host_name>;<service_name>;<persistent>;<author>;<comment> (5)  | Note: Icinga 2 treats all comments as persistent.
581   DEL_SVC_COMMENT                           | ;<comment_id> (1)  | -
582   DEL_ALL_HOST_COMMENTS                     | ;<host_name> (1)  | -
583   DEL_ALL_SVC_COMMENTS                      | ;<host_name>;<service_name> (2)  | -
584   SEND_CUSTOM_HOST_NOTIFICATION             | ;<host_name>;<options>;<author>;<comment> (4)  | -
585   SEND_CUSTOM_SVC_NOTIFICATION              | ;<host_name>;<service_name>;<options>;<author>;<comment> (5)  | -
586   DELAY_HOST_NOTIFICATION                   | ;<host_name>;<notification_time> (2)  | -
587   DELAY_SVC_NOTIFICATION                    | ;<host_name>;<service_name>;<notification_time> (3)  | -
588   ENABLE_HOST_NOTIFICATIONS                 | ;<host_name> (1)  | -
589   DISABLE_HOST_NOTIFICATIONS                | ;<host_name> (1)  | -
590   ENABLE_SVC_NOTIFICATIONS                  | ;<host_name>;<service_name> (2)  | -
591   DISABLE_SVC_NOTIFICATIONS                 | ;<host_name>;<service_name> (2) | -
592   DISABLE_HOSTGROUP_HOST_CHECKS             | ;<hostgroup_name> (1)  | -
593   DISABLE_HOSTGROUP_PASSIVE_HOST_CHECKS     | ;<hostgroup_name> (1)  | -
594   DISABLE_SERVICEGROUP_HOST_CHECKS          | ;<servicegroup_name> (1)  | -
595   DISABLE_SERVICEGROUP_PASSIVE_HOST_CHECKS  | ;<servicegroup_name> (1)  | -
596   ENABLE_HOSTGROUP_HOST_CHECKS              | ;<hostgroup_name> (1)  | -
597   ENABLE_HOSTGROUP_PASSIVE_HOST_CHECKS      | ;<hostgroup_name> (1) | -
598   ENABLE_SERVICEGROUP_HOST_CHECKS           | ;<servicegroup_name> (1)  | -
599   ENABLE_SERVICEGROUP_PASSIVE_HOST_CHECKS   | ;<servicegroup_name> (1)  | -
600   ENABLE_NOTIFICATIONS                      | (0)  | -
601   DISABLE_NOTIFICATIONS                     | (0)   | -
602   ENABLE_FLAP_DETECTION                     | (0)  | -
603   DISABLE_FLAP_DETECTION                    | (0)  | -
604   ENABLE_EVENT_HANDLERS                     | (0)  | -
605   DISABLE_EVENT_HANDLERS                    | (0)  | -
606   ENABLE_PERFORMANCE_DATA                   | (0)  | -
607   DISABLE_PERFORMANCE_DATA                  | (0)  | -
608   START_EXECUTING_HOST_CHECKS               | (0)  | -
609   STOP_EXECUTING_HOST_CHECKS                | (0)  | -
610   START_EXECUTING_SVC_CHECKS                | (0)  | -
611   STOP_EXECUTING_SVC_CHECKS                 | (0)  | -
612   CHANGE_SVC_MODATTR                        | ;<host_name>;<service_name>;<value> (3)  | -
613   CHANGE_HOST_MODATTR                       | ;<host_name>;<value> (2)  | -
614   CHANGE_USER_MODATTR                       | ;<user_name>;<value> (2)  | -
615   CHANGE_CHECKCOMMAND_MODATTR               | ;<checkcommand_name>;<value> (2)  | -
616   CHANGE_EVENTCOMMAND_MODATTR               | ;<eventcommand_name>;<value> (2)  | -
617   CHANGE_NOTIFICATIONCOMMAND_MODATTR        | ;<notificationcommand_name>;<value> (2)  | -
618   CHANGE_NORMAL_SVC_CHECK_INTERVAL          | ;<host_name>;<service_name>;<check_interval> (3)  | -
619   CHANGE_NORMAL_HOST_CHECK_INTERVAL         | ;<host_name>;<check_interval> (2)  | -
620   CHANGE_RETRY_SVC_CHECK_INTERVAL           | ;<host_name>;<service_name>;<check_interval> (3)  | -
621   CHANGE_RETRY_HOST_CHECK_INTERVAL          | ;<host_name>;<check_interval> (2) | -
622   ENABLE_HOST_EVENT_HANDLER                 | ;<host_name> (1)  | -
623   DISABLE_HOST_EVENT_HANDLER                | ;<host_name> (1)  | -
624   ENABLE_SVC_EVENT_HANDLER                  | ;<host_name>;<service_name> (2)  | -
625   DISABLE_SVC_EVENT_HANDLER                 | ;<host_name>;<service_name> (2) | -
626   CHANGE_HOST_EVENT_HANDLER                 | ;<host_name>;<event_command_name> (2)  | -
627   CHANGE_SVC_EVENT_HANDLER                  | ;<host_name>;<service_name>;<event_command_name> (3)  | -
628   CHANGE_HOST_CHECK_COMMAND                 | ;<host_name>;<check_command_name> (2)  | -
629   CHANGE_SVC_CHECK_COMMAND                  | ;<host_name>;<service_name>;<check_command_name> (3)  | -
630   CHANGE_MAX_HOST_CHECK_ATTEMPTS            | ;<host_name>;<check_attempts> (2)  | -
631   CHANGE_MAX_SVC_CHECK_ATTEMPTS             | ;<host_name>;<service_name>;<check_attempts> (3)  | -
632   CHANGE_HOST_CHECK_TIMEPERIOD              | ;<host_name>;<timeperiod_name> (2)   | -
633   CHANGE_SVC_CHECK_TIMEPERIOD               | ;<host_name>;<service_name>;<timeperiod_name>  | -
634   CHANGE_CUSTOM_HOST_VAR                    | ;<host_name>;<var_name>;<var_value> (3)  | -
635   CHANGE_CUSTOM_SVC_VAR                     | ;<host_name>;<service_name>;<var_name>;<var_value> (4)  | -
636   CHANGE_CUSTOM_USER_VAR                    | ;<user_name>;<var_name>;<var_value> (3)  | -
637   CHANGE_CUSTOM_CHECKCOMMAND_VAR            | ;<check_command_name>;<var_name>;<var_value> (3)  | -
638   CHANGE_CUSTOM_EVENTCOMMAND_VAR            | ;<event_command_name>;<var_name>;<var_value> (3)  | -
639   CHANGE_CUSTOM_NOTIFICATIONCOMMAND_VAR     | ;<notification_command_name>;<var_name>;<var_value> (3)  | -
640   ENABLE_HOSTGROUP_HOST_NOTIFICATIONS       | ;<hostgroup_name> (1) | -
641   ENABLE_HOSTGROUP_SVC_NOTIFICATIONS        | ;<hostgroup_name> (1)  | -
642   DISABLE_HOSTGROUP_HOST_NOTIFICATIONS      | ;<hostgroup_name> (1)  | -
643   DISABLE_HOSTGROUP_SVC_NOTIFICATIONS       | ;<hostgroup_name> (1)  | -
644   ENABLE_SERVICEGROUP_HOST_NOTIFICATIONS    | ;<servicegroup_name> (1)  | -
645   DISABLE_SERVICEGROUP_HOST_NOTIFICATIONS   | ;<servicegroup_name> (1)  | -
646   ENABLE_SERVICEGROUP_SVC_NOTIFICATIONS     | ;<servicegroup_name> (1)  | -
647   DISABLE_SERVICEGROUP_SVC_NOTIFICATIONS    | ;<servicegroup_name> (1)  | -