]> granicus.if.org Git - icinga2/blob - doc/9-appendix.md
2b58b07c8cf0b696be76a57515ecd24eeb1d5180
[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-db-ido"></a> DB IDO
317
318 There is a detailed documentation for the Icinga IDOUtils 1.x
319 database schema available on [http://docs.icinga.org/latest/en/db_model.html]
320
321 #### <a id="schema-db-ido-extensions"></a> DB IDO Schema Extensions
322
323 Icinga 2 specific extensions are shown below:
324
325 New tables: `endpoints`, `endpointstatus`
326
327   Table               | Column             | Type     | Default | Description
328   --------------------|--------------------|----------|---------|-------------
329   endpoints           | endpoint_object_id | bigint   | NULL    | FK: objects table
330   endpoints           | identity           | TEXT     | NULL    | endpoint name
331   endpoints           | node               | TEXT     | NULL    | local node name
332
333   Table               | Column             | Type     | Default | Description
334   --------------------|--------------------|----------|---------|-------------
335   endpointstatus      | endpoint_object_id | bigint   | NULL    | FK: objects table
336   endpointstatus      | identity           | TEXT     | NULL    | endpoint name
337   endpointstatus      | node               | TEXT     | NULL    | local node name
338   endpointstatus      | is_connected       | smallint | 0       | update on endpoint connect/disconnect
339
340 New columns:
341
342   Table               | Column                  | Type     | Default | Description
343   --------------------|-------------------------|----------|---------|-------------
344   all status/history  | endpoint_object_id      | bigint   | NULL    | FK: objects table
345   servicestatus       | check_source            | TEXT     | NULL    | node name where check was executed
346   hoststatus          | check_source            | TEXT     | NULL    | node name where check was executed
347   statehistory        | check_source            | TEXT     | NULL    | node name where check was executed
348   logentries          | object_id               | bigint   | NULL    | FK: objects table (service associated with column)
349
350 Additional command custom variables populated from 'vars' dictionary.
351 Additional global custom variables populated from 'Vars' constant (object_id is NULL).
352
353
354 ### <a id="schema-livestatus"></a> Livestatus
355
356
357 #### <a id="schema-livestatus-tables"></a> Livestatus Tables
358
359   Table         | Join      |Description
360   --------------|-----------|----------------------------
361   hosts         | &nbsp;    | host config and status attributes, services counter
362   hostgroups    | &nbsp;    | hostgroup config, status attributes and host/service counters
363   services      | hosts     | service config and status attributes
364   servicegroups | &nbsp;    | servicegroup config, status attributes and service counters
365   contacts      | &nbsp;    | contact config and status attributes
366   contactgroups | &nbsp;    | contact config, members
367   commands      | &nbsp;    | command name and line
368   status        | &nbsp;    | programstatus, config and stats
369   comments      | services  | status attributes
370   downtimes     | services  | status attributes
371   timeperiods   | &nbsp;    | name and is inside flag
372   endpoints     | &nbsp;    | config and status attributes
373   log           | services, hosts, contacts, commands | parses [compatlog](#objecttype-compatlogger) and shows log attributes
374   statehist     | hosts, services | parses [compatlog](#objecttype-compatlogger) and aggregates state change attributes
375
376 The `commands` table is populated with `CheckCommand`, `EventCommand` and `NotificationCommand` objects.
377
378
379 #### <a id="schema-livestatus-table-attributes"></a> Livestatus Table Attributes
380
381 A detailed list which table attributes are supported can be found here: [https://wiki.icinga.org/display/icinga2/Livestatus#Livestatus-Attributes]
382
383
384 #### <a id="schema-livestatus-get-queries"></a> Livestatus GET Queries
385
386     $ echo -e 'GET services' | netcat 127.0.0.1 6558
387
388     $ cat servicegroups <<EOF
389     GET servicegroups
390
391     EOF
392
393     (cat servicegroups; sleep 1) | netcat 127.0.0.1 6558
394
395 #### <a id="schema-livestatus-command-queries"></a> Livestatus COMMAND Queries
396
397 A list of available external commands and their parameters can be found [here](#external-commands-list-detail)
398
399     $ echo -e 'COMMAND <externalcommandstring>' | netcat 127.0.0.1 6558
400
401
402 #### <a id="schema-livestatus-filters"></a> Livestatus Filters
403
404 and, or, negate
405
406   Operator  | Negate   | Description
407   ----------|------------------------
408    =        | !=       | Euqality
409    ~        | !~       | Regex match
410    =~       | !=~      | Euqality ignoring case
411    ~~       | !~~      | Regex ignoring case
412    >        |          | Less than
413    <        |          | Greater than
414    >=       |          | Less than or equal
415    <=       |          | Greater than or equal
416
417
418 #### <a id="schema-livestatus-stats"></a> Livestatus Stats
419
420 Schema: "Stats: aggregatefunction aggregateattribute"
421
422   Aggregate Function | Description
423   -------------------|--------------
424   sum                | &nbsp;
425   min                | &nbsp;
426   max                | &nbsp;
427   avg                | sum / count
428   std                | standard deviation
429   suminv             | sum (1 / value)
430   avginv             | suminv / count
431   count              | ordinary default for any stats query if not aggregate function defined
432
433 Example:
434
435     GET hosts
436     Filter: has_been_checked = 1
437     Filter: check_type = 0
438     Stats: sum execution_time
439     Stats: sum latency
440     Stats: sum percent_state_change
441     Stats: min execution_time
442     Stats: min latency
443     Stats: min percent_state_change
444     Stats: max execution_time
445     Stats: max latency
446     Stats: max percent_state_change
447     OutputFormat: json
448     ResponseHeader: fixed16
449
450 #### <a id="schema-livestatus-output"></a> Livestatus Output
451
452 * CSV
453
454 CSV Output uses two levels of array seperators: The members array separator
455 is a comma (1st level) while extra info and host|service relation separator
456 is a pipe (2nd level).
457
458 Seperators can be set using ASCII codes like:
459
460     Separators: 10 59 44 124
461
462 * JSON
463
464 Default separators.
465
466 #### <a id="schema-livestatus-error-codes"></a> Livestatus Error Codes
467
468   Code      | Description
469   ----------|--------------
470   200       | OK
471   404       | Table does not exist
472   452       | Exception on query
473
474 #### <a id="schema-livestatus-extensions"></a> Livestatus Schema Extensions
475
476 Icinga 2 specific extensions are shown below:
477
478 New table: `endpoints`
479
480   Table     | Column
481   ----------|--------------
482   endpoints | name
483   endpoints | identity
484   endpoints | node
485   endpoints | is_connected
486
487 New columns:
488
489   Table     | Column
490   ----------|--------------
491   services  | check_source
492   downtimes | triggers
493   downtimes | trigger_time
494   commands  | custom_variable_names
495   commands  | custom_variable_values
496   commands  | custom_variables
497   commands  | modified_attributes
498   commands  | modified_attributes_list
499   status    | custom_variable_names
500   status    | custom_variable_values
501   status    | custom_variables
502
503 Command custom variables reflect the local 'vars' dictionary.
504 Status custom variables reflect the global 'Vars' constant.
505
506
507 ## <a id="external-commands-list-detail"></a> External Commands List
508
509 Additional details can be found in the [Icinga 1.x Documentation](http://docs.icinga.org/latest/en/extcommands2.html)
510
511   Command name                              | Parameters                        | Description
512   ------------------------------------------|-----------------------------------|--------------------------
513   PROCESS_HOST_CHECK_RESULT                 | ;<host_name>;<status_code>;<plugin_output> (3) | -
514   PROCESS_SERVICE_CHECK_RESULT              | ;<host_name>;<service_name>;<return_code>;<plugin_output> (4) | -
515   SCHEDULE_HOST_CHECK                       | ;<host_name>;<check_time> (2)  | -
516   SCHEDULE_FORCED_HOST_CHECK                | ;<host_name>;<check_time> (2)  | -
517   SCHEDULE_SVC_CHECK                        | ;<host_name>;<service_name>;<check_time> (3)  | -
518   SCHEDULE_FORCED_SVC_CHECK                 | ;<host_name>;<service_name>;<check_time> (3)  | -
519   ENABLE_HOST_CHECK                         | ;<host_name> (1)  | -
520   DISABLE_HOST_CHECK                        | ;<host_name> (1) | -
521   ENABLE_SVC_CHECK                          | ;<host_name>;<service_name> (2)  | -
522   DISABLE_SVC_CHECK                         | ;<host_name>;<service_name> (2)  | -
523   SHUTDOWN_PROCESS                          | (0) | -
524   RESTART_PROCESS                           | (0) | -
525   SCHEDULE_FORCED_HOST_SVC_CHECKS           | ;<host_name>;<check_time> (2)  | -
526   SCHEDULE_HOST_SVC_CHECKS                  | ;<host_name>;<check_time> (2)  | -
527   ENABLE_HOST_SVC_CHECKS                    | ;<host_name> (1) | -
528   DISABLE_HOST_SVC_CHECKS                   | ;<host_name> (1) | -
529   ACKNOWLEDGE_SVC_PROBLEM                   | ;<host_name>;<service_name>;<sticky>;<notify>;<persistent>;<author>;<comment> (7) | Note: Icinga 2 treats all comments as persistent.
530   ACKNOWLEDGE_SVC_PROBLEM_EXPIRE            | ;<host_name>;<service_name>;<sticky>;<notify>;<persistent>;<timestamp>;<author>;<comment> (8)  | Note: Icinga 2 treats all comments as persistent.
531   REMOVE_SVC_ACKNOWLEDGEMENT                | ;<host_name>;<service_name> (2)  | -
532   ACKNOWLEDGE_HOST_PROBLEM                  | ;<host_name>;<sticky>;<notify>;<persistent>;<author>;<comment> (6) | Note: Icinga 2 treats all comments as persistent.
533   ACKNOWLEDGE_HOST_PROBLEM_EXPIRE           | ;<host_name>;<sticky>;<notify>;<persistent>;<timestamp>;<author>;<comment> (7) | Note: Icinga 2 treats all comments as persistent.
534   REMOVE_HOST_ACKNOWLEDGEMENT               | ;<host_name> (1)  | -
535   DISABLE_HOST_FLAP_DETECTION               | ;<host_name> (1)  | -
536   ENABLE_HOST_FLAP_DETECTION                | ;<host_name> (1)  | -
537   DISABLE_SVC_FLAP_DETECTION                | ;<host_name>;<service_name> (2)  | -
538   ENABLE_SVC_FLAP_DETECTION                 | ;<host_name>;<service_name> (2)  | -
539   ENABLE_HOSTGROUP_SVC_CHECKS               | ;<hostgroup_name> (1)  | -
540   DISABLE_HOSTGROUP_SVC_CHECKS              | ;<hostgroup_name> (1)  | -
541   ENABLE_SERVICEGROUP_SVC_CHECKS            | ;<servicegroup_name> (1)  | -
542   DISABLE_SERVICEGROUP_SVC_CHECKS           | ;<servicegroup_name> (1)  | -
543   ENABLE_PASSIVE_HOST_CHECKS                | ;<host_name> (1)  | -
544   DISABLE_PASSIVE_HOST_CHECKS               | ;<host_name> (1)  | -
545   ENABLE_PASSIVE_SVC_CHECKS                 | ;<host_name>;<service_name> (2)  | -
546   DISABLE_PASSIVE_SVC_CHECKS                | ;<host_name>;<service_name> (2)  | -
547   ENABLE_SERVICEGROUP_PASSIVE_SVC_CHECKS    | ;<servicegroup_name> (1)  | -
548   DISABLE_SERVICEGROUP_PASSIVE_SVC_CHECKS   | ;<servicegroup_name> (1)  | -
549   ENABLE_HOSTGROUP_PASSIVE_SVC_CHECKS       | ;<hostgroup_name> (1)  | -
550   DISABLE_HOSTGROUP_PASSIVE_SVC_CHECKS      | ;<hostgroup_name> (1)  | -
551   PROCESS_FILE                              | ;<file_name>;<delete> (2)  | -
552   SCHEDULE_SVC_DOWNTIME                     | ;<host_name>;<service_name>;<start_time>;<end_time>;<fixed>;<trigger_id>;<duration>;<author>;<comment> (9)  | -
553   DEL_SVC_DOWNTIME                          | ;<downtime_id> (1)   | -
554   SCHEDULE_HOST_DOWNTIME                    | ;<host_name>;<start_time>;<end_time>;<fixed>;<trigger_id>;<duration>;<author>;<comment> (8)  | -
555   DEL_HOST_DOWNTIME                         | ;<downtime_id> (1)  | -
556   SCHEDULE_HOST_SVC_DOWNTIME                | ;<host_name>;<start_time>;<end_time>;<fixed>;<trigger_id>;<duration>;<author>;<comment> (8)  | -
557   SCHEDULE_HOSTGROUP_HOST_DOWNTIME          | ;<hostgroup_name>;<start_time>;<end_time>;<fixed>;<trigger_id>;<duration>;<author>;<comment> (8)  | -
558   SCHEDULE_HOSTGROUP_SVC_DOWNTIME           | ;<hostgroup_name>;<start_time>;<end_time>;<fixed>;<trigger_id>;<duration>;<author>;<comment> (8)  | -
559   SCHEDULE_SERVICEGROUP_HOST_DOWNTIME       | ;<servicegroup_name>;<start_time>;<end_time>;<fixed>;<trigger_id>;<duration>;<author>;<comment> (8)  | -
560   SCHEDULE_SERVICEGROUP_SVC_DOWNTIME        | ;<servicegroup_name>;<start_time>;<end_time>;<fixed>;<trigger_id>;<duration>;<author>;<comment> (8)  | -
561   ADD_HOST_COMMENT                          | ;<host_name>;<persistent>;<author>;<comment> (4)  | Note: Icinga 2 treats all comments as persistent.
562   DEL_HOST_COMMENT                          | ;<comment_id> (1)  | -
563   ADD_SVC_COMMENT                           | ;<host_name>;<service_name>;<persistent>;<author>;<comment> (5)  | Note: Icinga 2 treats all comments as persistent.
564   DEL_SVC_COMMENT                           | ;<comment_id> (1)  | -
565   DEL_ALL_HOST_COMMENTS                     | ;<host_name> (1)  | -
566   DEL_ALL_SVC_COMMENTS                      | ;<host_name>;<service_name> (2)  | -
567   SEND_CUSTOM_HOST_NOTIFICATION             | ;<host_name>;<options>;<author>;<comment> (4)  | -
568   SEND_CUSTOM_SVC_NOTIFICATION              | ;<host_name>;<service_name>;<options>;<author>;<comment> (5)  | -
569   DELAY_HOST_NOTIFICATION                   | ;<host_name>;<notification_time> (2)  | -
570   DELAY_SVC_NOTIFICATION                    | ;<host_name>;<service_name>;<notification_time> (3)  | -
571   ENABLE_HOST_NOTIFICATIONS                 | ;<host_name> (1)  | -
572   DISABLE_HOST_NOTIFICATIONS                | ;<host_name> (1)  | -
573   ENABLE_SVC_NOTIFICATIONS                  | ;<host_name>;<service_name> (2)  | -
574   DISABLE_SVC_NOTIFICATIONS                 | ;<host_name>;<service_name> (2) | -
575   DISABLE_HOSTGROUP_HOST_CHECKS             | ;<hostgroup_name> (1)  | -
576   DISABLE_HOSTGROUP_PASSIVE_HOST_CHECKS     | ;<hostgroup_name> (1)  | -
577   DISABLE_SERVICEGROUP_HOST_CHECKS          | ;<servicegroup_name> (1)  | -
578   DISABLE_SERVICEGROUP_PASSIVE_HOST_CHECKS  | ;<servicegroup_name> (1)  | -
579   ENABLE_HOSTGROUP_HOST_CHECKS              | ;<hostgroup_name> (1)  | -
580   ENABLE_HOSTGROUP_PASSIVE_HOST_CHECKS      | ;<hostgroup_name> (1) | -
581   ENABLE_SERVICEGROUP_HOST_CHECKS           | ;<servicegroup_name> (1)  | -
582   ENABLE_SERVICEGROUP_PASSIVE_HOST_CHECKS   | ;<servicegroup_name> (1)  | -
583   ENABLE_NOTIFICATIONS                      | (0)  | -
584   DISABLE_NOTIFICATIONS                     | (0)   | -
585   ENABLE_FLAP_DETECTION                     | (0)  | -
586   DISABLE_FLAP_DETECTION                    | (0)  | -
587   ENABLE_EVENT_HANDLERS                     | (0)  | -
588   DISABLE_EVENT_HANDLERS                    | (0)  | -
589   ENABLE_PERFORMANCE_DATA                   | (0)  | -
590   DISABLE_PERFORMANCE_DATA                  | (0)  | -
591   START_EXECUTING_HOST_CHECKS               | (0)  | -
592   STOP_EXECUTING_HOST_CHECKS                | (0)  | -
593   START_EXECUTING_SVC_CHECKS                | (0)  | -
594   STOP_EXECUTING_SVC_CHECKS                 | (0)  | -
595   CHANGE_SVC_MODATTR                        | ;<host_name>;<service_name>;<value> (3)  | -
596   CHANGE_HOST_MODATTR                       | ;<host_name>;<value> (2)  | -
597   CHANGE_USER_MODATTR                       | ;<user_name>;<value> (2)  | -
598   CHANGE_CHECKCOMMAND_MODATTR               | ;<checkcommand_name>;<value> (2)  | -
599   CHANGE_EVENTCOMMAND_MODATTR               | ;<eventcommand_name>;<value> (2)  | -
600   CHANGE_NOTIFICATIONCOMMAND_MODATTR        | ;<notificationcommand_name>;<value> (2)  | -
601   CHANGE_NORMAL_SVC_CHECK_INTERVAL          | ;<host_name>;<service_name>;<check_interval> (3)  | -
602   CHANGE_NORMAL_HOST_CHECK_INTERVAL         | ;<host_name>;<check_interval> (2)  | -
603   CHANGE_RETRY_SVC_CHECK_INTERVAL           | ;<host_name>;<service_name>;<check_interval> (3)  | -
604   CHANGE_RETRY_HOST_CHECK_INTERVAL          | ;<host_name>;<check_interval> (2) | -
605   ENABLE_HOST_EVENT_HANDLER                 | ;<host_name> (1)  | -
606   DISABLE_HOST_EVENT_HANDLER                | ;<host_name> (1)  | -
607   ENABLE_SVC_EVENT_HANDLER                  | ;<host_name>;<service_name> (2)  | -
608   DISABLE_SVC_EVENT_HANDLER                 | ;<host_name>;<service_name> (2) | -
609   CHANGE_HOST_EVENT_HANDLER                 | ;<host_name>;<event_command_name> (2)  | -
610   CHANGE_SVC_EVENT_HANDLER                  | ;<host_name>;<service_name>;<event_command_name> (3)  | -
611   CHANGE_HOST_CHECK_COMMAND                 | ;<host_name>;<check_command_name> (2)  | -
612   CHANGE_SVC_CHECK_COMMAND                  | ;<host_name>;<service_name>;<check_command_name> (3)  | -
613   CHANGE_MAX_HOST_CHECK_ATTEMPTS            | ;<host_name>;<check_attempts> (2)  | -
614   CHANGE_MAX_SVC_CHECK_ATTEMPTS             | ;<host_name>;<service_name>;<check_attempts> (3)  | -
615   CHANGE_HOST_CHECK_TIMEPERIOD              | ;<host_name>;<timeperiod_name> (2)   | -
616   CHANGE_SVC_CHECK_TIMEPERIOD               | ;<host_name>;<service_name>;<timeperiod_name>  | -
617   CHANGE_CUSTOM_HOST_VAR                    | ;<host_name>;<var_name>;<var_value> (3)  | -
618   CHANGE_CUSTOM_SVC_VAR                     | ;<host_name>;<service_name>;<var_name>;<var_value> (4)  | -
619   CHANGE_CUSTOM_USER_VAR                    | ;<user_name>;<var_name>;<var_value> (3)  | -
620   CHANGE_CUSTOM_CHECKCOMMAND_VAR            | ;<check_command_name>;<var_name>;<var_value> (3)  | -
621   CHANGE_CUSTOM_EVENTCOMMAND_VAR            | ;<event_command_name>;<var_name>;<var_value> (3)  | -
622   CHANGE_CUSTOM_NOTIFICATIONCOMMAND_VAR     | ;<notification_command_name>;<var_name>;<var_value> (3)  | -
623   ENABLE_HOSTGROUP_HOST_NOTIFICATIONS       | ;<hostgroup_name> (1) | -
624   ENABLE_HOSTGROUP_SVC_NOTIFICATIONS        | ;<hostgroup_name> (1)  | -
625   DISABLE_HOSTGROUP_HOST_NOTIFICATIONS      | ;<hostgroup_name> (1)  | -
626   DISABLE_HOSTGROUP_SVC_NOTIFICATIONS       | ;<hostgroup_name> (1)  | -
627   ENABLE_SERVICEGROUP_HOST_NOTIFICATIONS    | ;<servicegroup_name> (1)  | -
628   DISABLE_SERVICEGROUP_HOST_NOTIFICATIONS   | ;<servicegroup_name> (1)  | -
629   ENABLE_SERVICEGROUP_SVC_NOTIFICATIONS     | ;<servicegroup_name> (1)  | -
630   DISABLE_SERVICEGROUP_SVC_NOTIFICATIONS    | ;<servicegroup_name> (1)  | -