From 80676f375331cc45897b2e866b5dec900046c421 Mon Sep 17 00:00:00 2001 From: nook24 Date: Thu, 17 Jul 2025 18:47:43 +0200 Subject: [PATCH] Prefix all external command examples for services with "host_name" Improve examples for changing custom variables The generator got improved so we dont have to do this changes manually in the future. The docs should now be compatible to https://github.com/naemon/naemon.github.io/tree/bootstrap_legacy/documentation/developer/externalcommands Signed-off-by: nook24 --- .../developer/externalcommands/_command.tpl | 2 +- .../acknowledge_host_problem.md | 4 +- .../acknowledge_host_problem_expire.md | 4 +- .../acknowledge_svc_problem.md | 4 +- .../acknowledge_svc_problem_expire.md | 4 +- .../externalcommands/add_host_comment.md | 4 +- .../externalcommands/add_svc_comment.md | 4 +- ...ge_contact_host_notification_timeperiod.md | 4 +- .../change_contact_modattr.md | 4 +- .../change_contact_modhattr.md | 4 +- .../change_contact_modsattr.md | 4 +- ...nge_contact_svc_notification_timeperiod.md | 4 +- .../change_custom_contact_var.md | 4 +- .../change_custom_host_var.md | 4 +- .../externalcommands/change_custom_svc_var.md | 4 +- .../change_global_host_event_handler.md | 4 +- .../change_global_svc_event_handler.md | 4 +- .../change_host_check_command.md | 4 +- .../change_host_check_timeperiod.md | 4 +- .../change_host_event_handler.md | 4 +- .../externalcommands/change_host_modattr.md | 4 +- .../change_host_notification_timeperiod.md | 4 +- .../change_max_host_check_attempts.md | 4 +- .../change_max_svc_check_attempts.md | 4 +- .../change_normal_host_check_interval.md | 4 +- .../change_normal_svc_check_interval.md | 4 +- .../change_retry_host_check_interval.md | 4 +- .../change_retry_svc_check_interval.md | 4 +- .../change_svc_check_command.md | 4 +- .../change_svc_check_timeperiod.md | 4 +- .../change_svc_event_handler.md | 4 +- .../externalcommands/change_svc_modattr.md | 4 +- .../change_svc_notification_timeperiod.md | 4 +- .../externalcommands/commands.data.mts | 59 +++++++++++++++++-- .../externalcommands/del_all_host_comments.md | 4 +- .../externalcommands/del_all_svc_comments.md | 4 +- .../del_downtime_by_host_name.md | 4 +- .../del_downtime_by_hostgroup_name.md | 4 +- .../del_downtime_by_start_time_comment.md | 2 +- .../externalcommands/del_host_comment.md | 4 +- .../externalcommands/del_host_downtime.md | 4 +- .../externalcommands/del_svc_comment.md | 4 +- .../externalcommands/del_svc_downtime.md | 4 +- .../delay_host_notification.md | 4 +- .../delay_svc_notification.md | 4 +- .../disable_all_notifications_beyond_host.md | 4 +- .../disable_contact_host_notifications.md | 4 +- .../disable_contact_svc_notifications.md | 4 +- ...disable_contactgroup_host_notifications.md | 4 +- .../disable_contactgroup_svc_notifications.md | 4 +- .../disable_event_handlers.md | 2 +- .../disable_flap_detection.md | 2 +- .../disable_host_and_child_notifications.md | 4 +- .../externalcommands/disable_host_check.md | 4 +- .../disable_host_event_handler.md | 4 +- .../disable_host_flap_detection.md | 4 +- .../disable_host_freshness_checks.md | 4 +- .../disable_host_notifications.md | 4 +- .../disable_host_svc_checks.md | 4 +- .../disable_host_svc_notifications.md | 4 +- .../disable_hostgroup_host_checks.md | 4 +- .../disable_hostgroup_host_notifications.md | 4 +- .../disable_hostgroup_passive_host_checks.md | 4 +- .../disable_hostgroup_passive_svc_checks.md | 4 +- .../disable_hostgroup_svc_checks.md | 4 +- .../disable_hostgroup_svc_notifications.md | 4 +- .../externalcommands/disable_notifications.md | 2 +- .../disable_passive_host_checks.md | 4 +- .../disable_passive_svc_checks.md | 4 +- .../disable_performance_data.md | 2 +- .../disable_service_freshness_checks.md | 4 +- .../disable_servicegroup_host_checks.md | 4 +- ...disable_servicegroup_host_notifications.md | 4 +- ...isable_servicegroup_passive_host_checks.md | 4 +- ...disable_servicegroup_passive_svc_checks.md | 4 +- .../disable_servicegroup_svc_checks.md | 4 +- .../disable_servicegroup_svc_notifications.md | 4 +- .../externalcommands/disable_svc_check.md | 4 +- .../disable_svc_event_handler.md | 4 +- .../disable_svc_flap_detection.md | 4 +- .../disable_svc_notifications.md | 4 +- .../enable_all_notifications_beyond_host.md | 4 +- .../enable_contact_host_notifications.md | 4 +- .../enable_contact_svc_notifications.md | 4 +- .../enable_contactgroup_host_notifications.md | 4 +- .../enable_contactgroup_svc_notifications.md | 4 +- .../externalcommands/enable_event_handlers.md | 2 +- .../externalcommands/enable_flap_detection.md | 2 +- .../enable_host_and_child_notifications.md | 4 +- .../externalcommands/enable_host_check.md | 4 +- .../enable_host_event_handler.md | 4 +- .../enable_host_flap_detection.md | 4 +- .../enable_host_freshness_checks.md | 4 +- .../enable_host_notifications.md | 4 +- .../enable_host_svc_checks.md | 4 +- .../enable_host_svc_notifications.md | 4 +- .../enable_hostgroup_host_checks.md | 4 +- .../enable_hostgroup_host_notifications.md | 4 +- .../enable_hostgroup_passive_host_checks.md | 4 +- .../enable_hostgroup_passive_svc_checks.md | 4 +- .../enable_hostgroup_svc_checks.md | 4 +- .../enable_hostgroup_svc_notifications.md | 4 +- .../externalcommands/enable_notifications.md | 2 +- .../enable_passive_host_checks.md | 4 +- .../enable_passive_svc_checks.md | 4 +- .../enable_performance_data.md | 2 +- .../enable_service_freshness_checks.md | 4 +- .../enable_servicegroup_host_checks.md | 4 +- .../enable_servicegroup_host_notifications.md | 4 +- ...enable_servicegroup_passive_host_checks.md | 4 +- .../enable_servicegroup_passive_svc_checks.md | 4 +- .../enable_servicegroup_svc_checks.md | 4 +- .../enable_servicegroup_svc_notifications.md | 4 +- .../externalcommands/enable_svc_check.md | 4 +- .../enable_svc_event_handler.md | 4 +- .../enable_svc_flap_detection.md | 4 +- .../enable_svc_notifications.md | 4 +- .../developer/externalcommands/log.md | 2 +- .../externalcommands/process_file.md | 2 +- .../process_host_check_result.md | 4 +- .../process_service_check_result.md | 4 +- .../read_state_information.md | 2 +- .../remove_host_acknowledgement.md | 4 +- .../remove_svc_acknowledgement.md | 4 +- .../externalcommands/restart_process.md | 2 +- .../externalcommands/restart_program.md | 2 +- .../save_state_information.md | 2 +- .../schedule_and_propagate_host_downtime.md | 4 +- ...e_and_propagate_triggered_host_downtime.md | 4 +- .../schedule_forced_host_check.md | 4 +- .../schedule_forced_host_svc_checks.md | 4 +- .../schedule_forced_svc_check.md | 4 +- .../externalcommands/schedule_host_check.md | 4 +- .../schedule_host_downtime.md | 4 +- .../schedule_host_svc_checks.md | 4 +- .../schedule_host_svc_downtime.md | 4 +- .../schedule_hostgroup_host_downtime.md | 4 +- .../schedule_hostgroup_svc_downtime.md | 4 +- .../schedule_servicegroup_host_downtime.md | 4 +- .../schedule_servicegroup_svc_downtime.md | 4 +- .../externalcommands/schedule_svc_check.md | 4 +- .../externalcommands/schedule_svc_downtime.md | 4 +- .../send_custom_host_notification.md | 4 +- .../send_custom_svc_notification.md | 4 +- .../set_host_notification_number.md | 4 +- .../set_svc_notification_number.md | 4 +- .../externalcommands/shutdown_process.md | 2 +- .../externalcommands/shutdown_program.md | 2 +- .../start_accepting_passive_host_checks.md | 4 +- .../start_accepting_passive_svc_checks.md | 4 +- .../start_executing_host_checks.md | 4 +- .../start_executing_svc_checks.md | 4 +- .../start_obsessing_over_host.md | 4 +- .../start_obsessing_over_host_checks.md | 4 +- .../start_obsessing_over_svc.md | 4 +- .../start_obsessing_over_svc_checks.md | 4 +- .../stop_accepting_passive_host_checks.md | 4 +- .../stop_accepting_passive_svc_checks.md | 4 +- .../stop_executing_host_checks.md | 4 +- .../stop_executing_svc_checks.md | 4 +- .../stop_obsessing_over_host.md | 4 +- .../stop_obsessing_over_host_checks.md | 4 +- .../stop_obsessing_over_svc.md | 4 +- .../stop_obsessing_over_svc_checks.md | 4 +- 164 files changed, 361 insertions(+), 314 deletions(-) diff --git a/src/documentation/developer/externalcommands/_command.tpl b/src/documentation/developer/externalcommands/_command.tpl index f9fc4f2..48d5359 100644 --- a/src/documentation/developer/externalcommands/_command.tpl +++ b/src/documentation/developer/externalcommands/_command.tpl @@ -28,7 +28,7 @@ const command = {% cmd %}; #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/acknowledge_host_problem.md b/src/documentation/developer/externalcommands/acknowledge_host_problem.md index c6513ee..b703682 100644 --- a/src/documentation/developer/externalcommands/acknowledge_host_problem.md +++ b/src/documentation/developer/externalcommands/acknowledge_host_problem.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"},{"name":"sticky","ty #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/acknowledge_host_problem_expire.md b/src/documentation/developer/externalcommands/acknowledge_host_problem_expire.md index 9854887..c815925 100644 --- a/src/documentation/developer/externalcommands/acknowledge_host_problem_expire.md +++ b/src/documentation/developer/externalcommands/acknowledge_host_problem_expire.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"},{"name":"sticky","ty #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/acknowledge_svc_problem.md b/src/documentation/developer/externalcommands/acknowledge_svc_problem.md index a1dff5a..5d526fa 100644 --- a/src/documentation/developer/externalcommands/acknowledge_svc_problem.md +++ b/src/documentation/developer/externalcommands/acknowledge_svc_problem.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"service","type":"service"},{"name":"sticky","t #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/acknowledge_svc_problem_expire.md b/src/documentation/developer/externalcommands/acknowledge_svc_problem_expire.md index 6dd02a7..89cee1e 100644 --- a/src/documentation/developer/externalcommands/acknowledge_svc_problem_expire.md +++ b/src/documentation/developer/externalcommands/acknowledge_svc_problem_expire.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"service","type":"service"},{"name":"sticky","t #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/add_host_comment.md b/src/documentation/developer/externalcommands/add_host_comment.md index 732752f..d1ff489 100644 --- a/src/documentation/developer/externalcommands/add_host_comment.md +++ b/src/documentation/developer/externalcommands/add_host_comment.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"},{"name":"persistent" #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/add_svc_comment.md b/src/documentation/developer/externalcommands/add_svc_comment.md index fdf7926..eff6df6 100644 --- a/src/documentation/developer/externalcommands/add_svc_comment.md +++ b/src/documentation/developer/externalcommands/add_svc_comment.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"service","type":"service"},{"name":"persistent #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/change_contact_host_notification_timeperiod.md b/src/documentation/developer/externalcommands/change_contact_host_notification_timeperiod.md index 5c56621..595a639 100644 --- a/src/documentation/developer/externalcommands/change_contact_host_notification_timeperiod.md +++ b/src/documentation/developer/externalcommands/change_contact_host_notification_timeperiod.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"contact_name","type":"contact"},{"name":"notif #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/change_contact_modattr.md b/src/documentation/developer/externalcommands/change_contact_modattr.md index 0b52437..20a96dd 100644 --- a/src/documentation/developer/externalcommands/change_contact_modattr.md +++ b/src/documentation/developer/externalcommands/change_contact_modattr.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"contact_name","type":"contact"},{"name":"value #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/change_contact_modhattr.md b/src/documentation/developer/externalcommands/change_contact_modhattr.md index f359508..5ac4525 100644 --- a/src/documentation/developer/externalcommands/change_contact_modhattr.md +++ b/src/documentation/developer/externalcommands/change_contact_modhattr.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"contact_name","type":"contact"},{"name":"value #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/change_contact_modsattr.md b/src/documentation/developer/externalcommands/change_contact_modsattr.md index 1efcec5..7fc8c33 100644 --- a/src/documentation/developer/externalcommands/change_contact_modsattr.md +++ b/src/documentation/developer/externalcommands/change_contact_modsattr.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"contact_name","type":"contact"},{"name":"value #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/change_contact_svc_notification_timeperiod.md b/src/documentation/developer/externalcommands/change_contact_svc_notification_timeperiod.md index 3f94a94..9504265 100644 --- a/src/documentation/developer/externalcommands/change_contact_svc_notification_timeperiod.md +++ b/src/documentation/developer/externalcommands/change_contact_svc_notification_timeperiod.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"contact_name","type":"contact"},{"name":"notif #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/change_custom_contact_var.md b/src/documentation/developer/externalcommands/change_custom_contact_var.md index dd19f07..c0b8596 100644 --- a/src/documentation/developer/externalcommands/change_custom_contact_var.md +++ b/src/documentation/developer/externalcommands/change_custom_contact_var.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"contact_name","type":"contact"},{"name":"varna #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/change_custom_host_var.md b/src/documentation/developer/externalcommands/change_custom_host_var.md index 199457d..797a653 100644 --- a/src/documentation/developer/externalcommands/change_custom_host_var.md +++ b/src/documentation/developer/externalcommands/change_custom_host_var.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"},{"name":"varname","t #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/change_custom_svc_var.md b/src/documentation/developer/externalcommands/change_custom_svc_var.md index 24606ee..08fc89e 100644 --- a/src/documentation/developer/externalcommands/change_custom_svc_var.md +++ b/src/documentation/developer/externalcommands/change_custom_svc_var.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"service","type":"service"},{"name":"varname"," #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/change_global_host_event_handler.md b/src/documentation/developer/externalcommands/change_global_host_event_handler.md index cee9a43..927e95c 100644 --- a/src/documentation/developer/externalcommands/change_global_host_event_handler.md +++ b/src/documentation/developer/externalcommands/change_global_host_event_handler.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"event_handler_command","type":"str"}],"name":" #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/change_global_svc_event_handler.md b/src/documentation/developer/externalcommands/change_global_svc_event_handler.md index 0690509..84484cb 100644 --- a/src/documentation/developer/externalcommands/change_global_svc_event_handler.md +++ b/src/documentation/developer/externalcommands/change_global_svc_event_handler.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"event_handler_command","type":"str"}],"name":" #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/change_host_check_command.md b/src/documentation/developer/externalcommands/change_host_check_command.md index a1ea3e0..c4823ca 100644 --- a/src/documentation/developer/externalcommands/change_host_check_command.md +++ b/src/documentation/developer/externalcommands/change_host_check_command.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"},{"name":"check_comma #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/change_host_check_timeperiod.md b/src/documentation/developer/externalcommands/change_host_check_timeperiod.md index d6fcecc..a3875c5 100644 --- a/src/documentation/developer/externalcommands/change_host_check_timeperiod.md +++ b/src/documentation/developer/externalcommands/change_host_check_timeperiod.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"},{"name":"check_timep #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/change_host_event_handler.md b/src/documentation/developer/externalcommands/change_host_event_handler.md index 70a19c0..51f82f1 100644 --- a/src/documentation/developer/externalcommands/change_host_event_handler.md +++ b/src/documentation/developer/externalcommands/change_host_event_handler.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"},{"name":"event_handl #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/change_host_modattr.md b/src/documentation/developer/externalcommands/change_host_modattr.md index a441d02..6f57bcb 100644 --- a/src/documentation/developer/externalcommands/change_host_modattr.md +++ b/src/documentation/developer/externalcommands/change_host_modattr.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"},{"name":"value","typ #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/change_host_notification_timeperiod.md b/src/documentation/developer/externalcommands/change_host_notification_timeperiod.md index 97ad7a1..9f7f515 100644 --- a/src/documentation/developer/externalcommands/change_host_notification_timeperiod.md +++ b/src/documentation/developer/externalcommands/change_host_notification_timeperiod.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"},{"name":"notificatio #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/change_max_host_check_attempts.md b/src/documentation/developer/externalcommands/change_max_host_check_attempts.md index 7203f11..302178d 100644 --- a/src/documentation/developer/externalcommands/change_max_host_check_attempts.md +++ b/src/documentation/developer/externalcommands/change_max_host_check_attempts.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"},{"name":"check_attem #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/change_max_svc_check_attempts.md b/src/documentation/developer/externalcommands/change_max_svc_check_attempts.md index 1766ec9..5e40b41 100644 --- a/src/documentation/developer/externalcommands/change_max_svc_check_attempts.md +++ b/src/documentation/developer/externalcommands/change_max_svc_check_attempts.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"service","type":"service"},{"name":"check_atte #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/change_normal_host_check_interval.md b/src/documentation/developer/externalcommands/change_normal_host_check_interval.md index f809c51..9a24137 100644 --- a/src/documentation/developer/externalcommands/change_normal_host_check_interval.md +++ b/src/documentation/developer/externalcommands/change_normal_host_check_interval.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"},{"name":"check_inter #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/change_normal_svc_check_interval.md b/src/documentation/developer/externalcommands/change_normal_svc_check_interval.md index ae2aad1..c8e5707 100644 --- a/src/documentation/developer/externalcommands/change_normal_svc_check_interval.md +++ b/src/documentation/developer/externalcommands/change_normal_svc_check_interval.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"service","type":"service"},{"name":"check_inte #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/change_retry_host_check_interval.md b/src/documentation/developer/externalcommands/change_retry_host_check_interval.md index 17943c2..578bb80 100644 --- a/src/documentation/developer/externalcommands/change_retry_host_check_interval.md +++ b/src/documentation/developer/externalcommands/change_retry_host_check_interval.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"},{"name":"check_inter #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/change_retry_svc_check_interval.md b/src/documentation/developer/externalcommands/change_retry_svc_check_interval.md index 2dd0543..554aa10 100644 --- a/src/documentation/developer/externalcommands/change_retry_svc_check_interval.md +++ b/src/documentation/developer/externalcommands/change_retry_svc_check_interval.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"service","type":"service"},{"name":"check_inte #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/change_svc_check_command.md b/src/documentation/developer/externalcommands/change_svc_check_command.md index 62d12ff..c58e582 100644 --- a/src/documentation/developer/externalcommands/change_svc_check_command.md +++ b/src/documentation/developer/externalcommands/change_svc_check_command.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"service","type":"service"},{"name":"check_comm #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/change_svc_check_timeperiod.md b/src/documentation/developer/externalcommands/change_svc_check_timeperiod.md index 7683bdd..34ac057 100644 --- a/src/documentation/developer/externalcommands/change_svc_check_timeperiod.md +++ b/src/documentation/developer/externalcommands/change_svc_check_timeperiod.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"service","type":"service"},{"name":"check_time #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/change_svc_event_handler.md b/src/documentation/developer/externalcommands/change_svc_event_handler.md index b6a7cc1..dac657b 100644 --- a/src/documentation/developer/externalcommands/change_svc_event_handler.md +++ b/src/documentation/developer/externalcommands/change_svc_event_handler.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"service","type":"service"},{"name":"event_hand #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/change_svc_modattr.md b/src/documentation/developer/externalcommands/change_svc_modattr.md index 9a9a36a..54d0880 100644 --- a/src/documentation/developer/externalcommands/change_svc_modattr.md +++ b/src/documentation/developer/externalcommands/change_svc_modattr.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"service","type":"service"},{"name":"value","ty #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/change_svc_notification_timeperiod.md b/src/documentation/developer/externalcommands/change_svc_notification_timeperiod.md index e003691..16a43a2 100644 --- a/src/documentation/developer/externalcommands/change_svc_notification_timeperiod.md +++ b/src/documentation/developer/externalcommands/change_svc_notification_timeperiod.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"service","type":"service"},{"name":"notificati #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/commands.data.mts b/src/documentation/developer/externalcommands/commands.data.mts index 9af66e5..e6b673f 100644 --- a/src/documentation/developer/externalcommands/commands.data.mts +++ b/src/documentation/developer/externalcommands/commands.data.mts @@ -5,17 +5,30 @@ const COMMANDS_URL = 'https://raw.githubusercontent.com/naemon/naemon-core/ const CACHE_FILE = path.join(__dirname, './commands.c.cache'); const CACHE_DURATION_MS = 3600 * 1000; // 1 hour +enum CommandType { + UNKNOWN_TYPE, + CONTACT, + CONTACTGROUP, + TIMEPERIOD, + HOST, + HOSTGROUP, + SERVICE, + SERVICEGROUP +} + interface CommandArg { name: string type: string } interface Command { - name: string - description: string - args: CommandArg[] - argsStr: string - classes: string[] - exampleArgStr: string + name: string + description: string + args: CommandArg[] + argsStr: string + classes: string[] + exampleArgStr: string + commandType?: CommandType + additionalInformation?: string // Add additional information into the script header } function hasArg(command: Command, argName: string): boolean { @@ -91,21 +104,27 @@ async function getCommands(): Promise { if(hasArg(command, "hostgroup") || command.name.match(/hostgroup/i)) { command.classes.push("hostgroup") + command.commandType = CommandType.HOSTGROUP; } else if(hasArg(command, "host") || command.name.match(/host/i)) { command.classes.push("host") + command.commandType = CommandType.HOST; } if(hasArg(command, "servicegroup") || command.name.match(/servicegroup/i)) { command.classes.push("servicegroup") + command.commandType = CommandType.SERVICEGROUP; } else if(hasArg(command, "service") || command.name.match(/_svc_|_service_/i)) { command.classes.push("service") + command.commandType = CommandType.SERVICE; } if(hasArg(command, "contactgroup")) { command.classes.push("contactgroup") + command.commandType = CommandType.CONTACTGROUP; } else if(hasArg(command, "contact")) { command.classes.push("contact") + command.commandType = CommandType.CONTACT; } if(hasArg(command, "downtime") || command.name.match(/downtime/i)) { command.classes.push("downtime") @@ -122,7 +141,21 @@ async function getCommands(): Promise { var argStr = "" var examStr = "" + + if(command?.commandType == CommandType.SERVICE) { + // Prefix host_name to service commands + argStr += ";host_name"; + examStr += ";host1"; + } + for(var ar of command.args) { + if(command?.commandType == CommandType.SERVICE) { + // Also rename service to service_description + if(ar.name == "service") { + ar.name = "service_description"; + } + } + argStr += ";"+ar.name; examStr += ";"+getExample(ar, command); } @@ -135,6 +168,20 @@ async function getCommands(): Promise { command.exampleArgStr = ";SERVICE NOTE: testhost;event handler restarted service successfully" } + if(command.exampleArgStr.includes("SOMEVAR")){ + switch(command?.commandType) { + case CommandType.CONTACT: + command.additionalInformation = "# This will change value of the custom variable: $_CONTACTSOMEVAR$\n"; + break; + case CommandType.HOST: + command.additionalInformation = "# This will change value of the custom variable: $_HOSTSOMEVAR$\n"; + break; + case CommandType.SERVICE: + command.additionalInformation = "# This will change value of the custom variable: $_SERVICESOMEVAR$\n"; + break; + } + } + var template = tpl.replace('{% cmd %}', JSON.stringify(command)); fs.writeFileSync(path.join(__dirname, command.name.toLocaleLowerCase()+'.md'), template); } diff --git a/src/documentation/developer/externalcommands/del_all_host_comments.md b/src/documentation/developer/externalcommands/del_all_host_comments.md index 9e041b1..efb1566 100644 --- a/src/documentation/developer/externalcommands/del_all_host_comments.md +++ b/src/documentation/developer/externalcommands/del_all_host_comments.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"}],"name":"DEL_ALL_HOS #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/del_all_svc_comments.md b/src/documentation/developer/externalcommands/del_all_svc_comments.md index e1d6684..c20028c 100644 --- a/src/documentation/developer/externalcommands/del_all_svc_comments.md +++ b/src/documentation/developer/externalcommands/del_all_svc_comments.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"service","type":"service"}],"name":"DEL_ALL_SV #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/del_downtime_by_host_name.md b/src/documentation/developer/externalcommands/del_downtime_by_host_name.md index 40a7974..578fe57 100644 --- a/src/documentation/developer/externalcommands/del_downtime_by_host_name.md +++ b/src/documentation/developer/externalcommands/del_downtime_by_host_name.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[],"name":"DEL_DOWNTIME_BY_HOST_NAME","description":"Thi #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/del_downtime_by_hostgroup_name.md b/src/documentation/developer/externalcommands/del_downtime_by_hostgroup_name.md index c1f2194..f3d5165 100644 --- a/src/documentation/developer/externalcommands/del_downtime_by_hostgroup_name.md +++ b/src/documentation/developer/externalcommands/del_downtime_by_hostgroup_name.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"hostname","type":"STRING"},{"name":"service_de #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/del_downtime_by_start_time_comment.md b/src/documentation/developer/externalcommands/del_downtime_by_start_time_comment.md index 0e58621..9319bd3 100644 --- a/src/documentation/developer/externalcommands/del_downtime_by_start_time_comment.md +++ b/src/documentation/developer/externalcommands/del_downtime_by_start_time_comment.md @@ -28,7 +28,7 @@ const command = {"args":[{"name":"hostgroup_name","type":"HOSTGROUP"},{"name":"h #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/del_host_comment.md b/src/documentation/developer/externalcommands/del_host_comment.md index 6cb901d..a45de8c 100644 --- a/src/documentation/developer/externalcommands/del_host_comment.md +++ b/src/documentation/developer/externalcommands/del_host_comment.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"comment_id","type":"ulong"}],"name":"DEL_HOST_ #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/del_host_downtime.md b/src/documentation/developer/externalcommands/del_host_downtime.md index 4a09f96..fbe7dec 100644 --- a/src/documentation/developer/externalcommands/del_host_downtime.md +++ b/src/documentation/developer/externalcommands/del_host_downtime.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"downtime_id","type":"ulong"}],"name":"DEL_HOST #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/del_svc_comment.md b/src/documentation/developer/externalcommands/del_svc_comment.md index 5591f8a..44dc6a4 100644 --- a/src/documentation/developer/externalcommands/del_svc_comment.md +++ b/src/documentation/developer/externalcommands/del_svc_comment.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"comment_id","type":"ulong"}],"name":"DEL_SVC_C #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/del_svc_downtime.md b/src/documentation/developer/externalcommands/del_svc_downtime.md index 5e3003c..e566ad8 100644 --- a/src/documentation/developer/externalcommands/del_svc_downtime.md +++ b/src/documentation/developer/externalcommands/del_svc_downtime.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"downtime_id","type":"ulong"}],"name":"DEL_SVC_ #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/delay_host_notification.md b/src/documentation/developer/externalcommands/delay_host_notification.md index 8e14403..94cd578 100644 --- a/src/documentation/developer/externalcommands/delay_host_notification.md +++ b/src/documentation/developer/externalcommands/delay_host_notification.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"},{"name":"notificatio #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/delay_svc_notification.md b/src/documentation/developer/externalcommands/delay_svc_notification.md index d804fe1..13b0b71 100644 --- a/src/documentation/developer/externalcommands/delay_svc_notification.md +++ b/src/documentation/developer/externalcommands/delay_svc_notification.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"service","type":"service"},{"name":"notificati #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/disable_all_notifications_beyond_host.md b/src/documentation/developer/externalcommands/disable_all_notifications_beyond_host.md index 08bc40b..901e5fb 100644 --- a/src/documentation/developer/externalcommands/disable_all_notifications_beyond_host.md +++ b/src/documentation/developer/externalcommands/disable_all_notifications_beyond_host.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"}],"name":"DISABLE_ALL #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/disable_contact_host_notifications.md b/src/documentation/developer/externalcommands/disable_contact_host_notifications.md index 4a0bb65..415e504 100644 --- a/src/documentation/developer/externalcommands/disable_contact_host_notifications.md +++ b/src/documentation/developer/externalcommands/disable_contact_host_notifications.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"contact_name","type":"contact"}],"name":"DISAB #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/disable_contact_svc_notifications.md b/src/documentation/developer/externalcommands/disable_contact_svc_notifications.md index 061d522..35fffb6 100644 --- a/src/documentation/developer/externalcommands/disable_contact_svc_notifications.md +++ b/src/documentation/developer/externalcommands/disable_contact_svc_notifications.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"contact_name","type":"contact"}],"name":"DISAB #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/disable_contactgroup_host_notifications.md b/src/documentation/developer/externalcommands/disable_contactgroup_host_notifications.md index a933f78..893d2b1 100644 --- a/src/documentation/developer/externalcommands/disable_contactgroup_host_notifications.md +++ b/src/documentation/developer/externalcommands/disable_contactgroup_host_notifications.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"contactgroup_name","type":"contactgroup"}],"na #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/disable_contactgroup_svc_notifications.md b/src/documentation/developer/externalcommands/disable_contactgroup_svc_notifications.md index 64b800e..5ca46e8 100644 --- a/src/documentation/developer/externalcommands/disable_contactgroup_svc_notifications.md +++ b/src/documentation/developer/externalcommands/disable_contactgroup_svc_notifications.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"contactgroup_name","type":"contactgroup"}],"na #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/disable_event_handlers.md b/src/documentation/developer/externalcommands/disable_event_handlers.md index 6ce40cf..a457ab6 100644 --- a/src/documentation/developer/externalcommands/disable_event_handlers.md +++ b/src/documentation/developer/externalcommands/disable_event_handlers.md @@ -28,7 +28,7 @@ const command = {"args":[],"name":"DISABLE_EVENT_HANDLERS","description":"Disabl #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/disable_flap_detection.md b/src/documentation/developer/externalcommands/disable_flap_detection.md index e68bf8c..8517b3a 100644 --- a/src/documentation/developer/externalcommands/disable_flap_detection.md +++ b/src/documentation/developer/externalcommands/disable_flap_detection.md @@ -28,7 +28,7 @@ const command = {"args":[],"name":"DISABLE_FLAP_DETECTION","description":"Disabl #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/disable_host_and_child_notifications.md b/src/documentation/developer/externalcommands/disable_host_and_child_notifications.md index 1c4838e..279724c 100644 --- a/src/documentation/developer/externalcommands/disable_host_and_child_notifications.md +++ b/src/documentation/developer/externalcommands/disable_host_and_child_notifications.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"}],"name":"DISABLE_HOS #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/disable_host_check.md b/src/documentation/developer/externalcommands/disable_host_check.md index 02e5d56..d7a6bb7 100644 --- a/src/documentation/developer/externalcommands/disable_host_check.md +++ b/src/documentation/developer/externalcommands/disable_host_check.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"}],"name":"DISABLE_HOS #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/disable_host_event_handler.md b/src/documentation/developer/externalcommands/disable_host_event_handler.md index b4d472e..bd67a62 100644 --- a/src/documentation/developer/externalcommands/disable_host_event_handler.md +++ b/src/documentation/developer/externalcommands/disable_host_event_handler.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"}],"name":"DISABLE_HOS #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/disable_host_flap_detection.md b/src/documentation/developer/externalcommands/disable_host_flap_detection.md index be1b9ed..2cc343c 100644 --- a/src/documentation/developer/externalcommands/disable_host_flap_detection.md +++ b/src/documentation/developer/externalcommands/disable_host_flap_detection.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"}],"name":"DISABLE_HOS #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/disable_host_freshness_checks.md b/src/documentation/developer/externalcommands/disable_host_freshness_checks.md index fa7a0d7..bce64bc 100644 --- a/src/documentation/developer/externalcommands/disable_host_freshness_checks.md +++ b/src/documentation/developer/externalcommands/disable_host_freshness_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[],"name":"DISABLE_HOST_FRESHNESS_CHECKS","description": #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/disable_host_notifications.md b/src/documentation/developer/externalcommands/disable_host_notifications.md index 7b18e65..de89567 100644 --- a/src/documentation/developer/externalcommands/disable_host_notifications.md +++ b/src/documentation/developer/externalcommands/disable_host_notifications.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"}],"name":"DISABLE_HOS #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/disable_host_svc_checks.md b/src/documentation/developer/externalcommands/disable_host_svc_checks.md index 8b27c32..288214b 100644 --- a/src/documentation/developer/externalcommands/disable_host_svc_checks.md +++ b/src/documentation/developer/externalcommands/disable_host_svc_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"}],"name":"DISABLE_HOS #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/disable_host_svc_notifications.md b/src/documentation/developer/externalcommands/disable_host_svc_notifications.md index 6ded908..8434afb 100644 --- a/src/documentation/developer/externalcommands/disable_host_svc_notifications.md +++ b/src/documentation/developer/externalcommands/disable_host_svc_notifications.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"}],"name":"DISABLE_HOS #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/disable_hostgroup_host_checks.md b/src/documentation/developer/externalcommands/disable_hostgroup_host_checks.md index b5a34c7..d15ce4c 100644 --- a/src/documentation/developer/externalcommands/disable_hostgroup_host_checks.md +++ b/src/documentation/developer/externalcommands/disable_hostgroup_host_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"hostgroup_name","type":"hostgroup"}],"name":"D #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/disable_hostgroup_host_notifications.md b/src/documentation/developer/externalcommands/disable_hostgroup_host_notifications.md index 9990ab8..7180934 100644 --- a/src/documentation/developer/externalcommands/disable_hostgroup_host_notifications.md +++ b/src/documentation/developer/externalcommands/disable_hostgroup_host_notifications.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"hostgroup_name","type":"hostgroup"}],"name":"D #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/disable_hostgroup_passive_host_checks.md b/src/documentation/developer/externalcommands/disable_hostgroup_passive_host_checks.md index 808ccaf..3517cc7 100644 --- a/src/documentation/developer/externalcommands/disable_hostgroup_passive_host_checks.md +++ b/src/documentation/developer/externalcommands/disable_hostgroup_passive_host_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"hostgroup_name","type":"hostgroup"}],"name":"D #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/disable_hostgroup_passive_svc_checks.md b/src/documentation/developer/externalcommands/disable_hostgroup_passive_svc_checks.md index 13d515c..c5f2606 100644 --- a/src/documentation/developer/externalcommands/disable_hostgroup_passive_svc_checks.md +++ b/src/documentation/developer/externalcommands/disable_hostgroup_passive_svc_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"hostgroup_name","type":"hostgroup"}],"name":"D #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/disable_hostgroup_svc_checks.md b/src/documentation/developer/externalcommands/disable_hostgroup_svc_checks.md index ed8fdc6..9a55d4c 100644 --- a/src/documentation/developer/externalcommands/disable_hostgroup_svc_checks.md +++ b/src/documentation/developer/externalcommands/disable_hostgroup_svc_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"hostgroup_name","type":"hostgroup"}],"name":"D #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/disable_hostgroup_svc_notifications.md b/src/documentation/developer/externalcommands/disable_hostgroup_svc_notifications.md index 0ab226e..a6067f3 100644 --- a/src/documentation/developer/externalcommands/disable_hostgroup_svc_notifications.md +++ b/src/documentation/developer/externalcommands/disable_hostgroup_svc_notifications.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"hostgroup_name","type":"hostgroup"}],"name":"D #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/disable_notifications.md b/src/documentation/developer/externalcommands/disable_notifications.md index fbb0290..a4529b7 100644 --- a/src/documentation/developer/externalcommands/disable_notifications.md +++ b/src/documentation/developer/externalcommands/disable_notifications.md @@ -28,7 +28,7 @@ const command = {"args":[],"name":"DISABLE_NOTIFICATIONS","description":"Disable #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/disable_passive_host_checks.md b/src/documentation/developer/externalcommands/disable_passive_host_checks.md index c397c57..4042130 100644 --- a/src/documentation/developer/externalcommands/disable_passive_host_checks.md +++ b/src/documentation/developer/externalcommands/disable_passive_host_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"}],"name":"DISABLE_PAS #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/disable_passive_svc_checks.md b/src/documentation/developer/externalcommands/disable_passive_svc_checks.md index a80003c..0e90885 100644 --- a/src/documentation/developer/externalcommands/disable_passive_svc_checks.md +++ b/src/documentation/developer/externalcommands/disable_passive_svc_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"service","type":"service"}],"name":"DISABLE_PA #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/disable_performance_data.md b/src/documentation/developer/externalcommands/disable_performance_data.md index 7663a08..fef8216 100644 --- a/src/documentation/developer/externalcommands/disable_performance_data.md +++ b/src/documentation/developer/externalcommands/disable_performance_data.md @@ -28,7 +28,7 @@ const command = {"args":[],"name":"DISABLE_PERFORMANCE_DATA","description":"Disa #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/disable_service_freshness_checks.md b/src/documentation/developer/externalcommands/disable_service_freshness_checks.md index 68a760a..c0359d5 100644 --- a/src/documentation/developer/externalcommands/disable_service_freshness_checks.md +++ b/src/documentation/developer/externalcommands/disable_service_freshness_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[],"name":"DISABLE_SERVICE_FRESHNESS_CHECKS","descriptio #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/disable_servicegroup_host_checks.md b/src/documentation/developer/externalcommands/disable_servicegroup_host_checks.md index ac7c48f..a8cbaee 100644 --- a/src/documentation/developer/externalcommands/disable_servicegroup_host_checks.md +++ b/src/documentation/developer/externalcommands/disable_servicegroup_host_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"servicegroup_name","type":"servicegroup"}],"na #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/disable_servicegroup_host_notifications.md b/src/documentation/developer/externalcommands/disable_servicegroup_host_notifications.md index 87045d4..02c70a6 100644 --- a/src/documentation/developer/externalcommands/disable_servicegroup_host_notifications.md +++ b/src/documentation/developer/externalcommands/disable_servicegroup_host_notifications.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"servicegroup_name","type":"servicegroup"}],"na #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/disable_servicegroup_passive_host_checks.md b/src/documentation/developer/externalcommands/disable_servicegroup_passive_host_checks.md index ac920a9..ef659cb 100644 --- a/src/documentation/developer/externalcommands/disable_servicegroup_passive_host_checks.md +++ b/src/documentation/developer/externalcommands/disable_servicegroup_passive_host_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"servicegroup_name","type":"servicegroup"}],"na #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/disable_servicegroup_passive_svc_checks.md b/src/documentation/developer/externalcommands/disable_servicegroup_passive_svc_checks.md index b35f14f..98070b8 100644 --- a/src/documentation/developer/externalcommands/disable_servicegroup_passive_svc_checks.md +++ b/src/documentation/developer/externalcommands/disable_servicegroup_passive_svc_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"servicegroup_name","type":"servicegroup"}],"na #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/disable_servicegroup_svc_checks.md b/src/documentation/developer/externalcommands/disable_servicegroup_svc_checks.md index 06a4a38..33f3f18 100644 --- a/src/documentation/developer/externalcommands/disable_servicegroup_svc_checks.md +++ b/src/documentation/developer/externalcommands/disable_servicegroup_svc_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"servicegroup_name","type":"servicegroup"}],"na #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/disable_servicegroup_svc_notifications.md b/src/documentation/developer/externalcommands/disable_servicegroup_svc_notifications.md index 136a721..695d6d5 100644 --- a/src/documentation/developer/externalcommands/disable_servicegroup_svc_notifications.md +++ b/src/documentation/developer/externalcommands/disable_servicegroup_svc_notifications.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"servicegroup_name","type":"servicegroup"}],"na #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/disable_svc_check.md b/src/documentation/developer/externalcommands/disable_svc_check.md index 0a34da9..788baaf 100644 --- a/src/documentation/developer/externalcommands/disable_svc_check.md +++ b/src/documentation/developer/externalcommands/disable_svc_check.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"service","type":"service"}],"name":"DISABLE_SV #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/disable_svc_event_handler.md b/src/documentation/developer/externalcommands/disable_svc_event_handler.md index 5ec4cd1..6c173cf 100644 --- a/src/documentation/developer/externalcommands/disable_svc_event_handler.md +++ b/src/documentation/developer/externalcommands/disable_svc_event_handler.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"service","type":"service"}],"name":"DISABLE_SV #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/disable_svc_flap_detection.md b/src/documentation/developer/externalcommands/disable_svc_flap_detection.md index 84ec8be..53dec31 100644 --- a/src/documentation/developer/externalcommands/disable_svc_flap_detection.md +++ b/src/documentation/developer/externalcommands/disable_svc_flap_detection.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"service","type":"service"}],"name":"DISABLE_SV #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/disable_svc_notifications.md b/src/documentation/developer/externalcommands/disable_svc_notifications.md index 832fd36..281d9ed 100644 --- a/src/documentation/developer/externalcommands/disable_svc_notifications.md +++ b/src/documentation/developer/externalcommands/disable_svc_notifications.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"service","type":"service"}],"name":"DISABLE_SV #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/enable_all_notifications_beyond_host.md b/src/documentation/developer/externalcommands/enable_all_notifications_beyond_host.md index f084060..640970d 100644 --- a/src/documentation/developer/externalcommands/enable_all_notifications_beyond_host.md +++ b/src/documentation/developer/externalcommands/enable_all_notifications_beyond_host.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"}],"name":"ENABLE_ALL_ #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/enable_contact_host_notifications.md b/src/documentation/developer/externalcommands/enable_contact_host_notifications.md index 57126b3..be85fd5 100644 --- a/src/documentation/developer/externalcommands/enable_contact_host_notifications.md +++ b/src/documentation/developer/externalcommands/enable_contact_host_notifications.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"contact_name","type":"contact"}],"name":"ENABL #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/enable_contact_svc_notifications.md b/src/documentation/developer/externalcommands/enable_contact_svc_notifications.md index bf2cc26..d500135 100644 --- a/src/documentation/developer/externalcommands/enable_contact_svc_notifications.md +++ b/src/documentation/developer/externalcommands/enable_contact_svc_notifications.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"contact_name","type":"contact"}],"name":"ENABL #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/enable_contactgroup_host_notifications.md b/src/documentation/developer/externalcommands/enable_contactgroup_host_notifications.md index f2271ba..0a43875 100644 --- a/src/documentation/developer/externalcommands/enable_contactgroup_host_notifications.md +++ b/src/documentation/developer/externalcommands/enable_contactgroup_host_notifications.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"contactgroup_name","type":"contactgroup"}],"na #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/enable_contactgroup_svc_notifications.md b/src/documentation/developer/externalcommands/enable_contactgroup_svc_notifications.md index 93b7668..2d35b06 100644 --- a/src/documentation/developer/externalcommands/enable_contactgroup_svc_notifications.md +++ b/src/documentation/developer/externalcommands/enable_contactgroup_svc_notifications.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"contactgroup_name","type":"contactgroup"}],"na #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/enable_event_handlers.md b/src/documentation/developer/externalcommands/enable_event_handlers.md index 0cb9f5d..9fff1c6 100644 --- a/src/documentation/developer/externalcommands/enable_event_handlers.md +++ b/src/documentation/developer/externalcommands/enable_event_handlers.md @@ -28,7 +28,7 @@ const command = {"args":[{"name":"downtime_start_time","type":"TIMESTAMP"},{"nam #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/enable_flap_detection.md b/src/documentation/developer/externalcommands/enable_flap_detection.md index ae549a1..c3c6c07 100644 --- a/src/documentation/developer/externalcommands/enable_flap_detection.md +++ b/src/documentation/developer/externalcommands/enable_flap_detection.md @@ -28,7 +28,7 @@ const command = {"args":[],"name":"ENABLE_FLAP_DETECTION","description":"Enables #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/enable_host_and_child_notifications.md b/src/documentation/developer/externalcommands/enable_host_and_child_notifications.md index 13e5696..7116821 100644 --- a/src/documentation/developer/externalcommands/enable_host_and_child_notifications.md +++ b/src/documentation/developer/externalcommands/enable_host_and_child_notifications.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"}],"name":"ENABLE_HOST #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/enable_host_check.md b/src/documentation/developer/externalcommands/enable_host_check.md index 36c1cd4..02bcb6a 100644 --- a/src/documentation/developer/externalcommands/enable_host_check.md +++ b/src/documentation/developer/externalcommands/enable_host_check.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"}],"name":"ENABLE_HOST #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/enable_host_event_handler.md b/src/documentation/developer/externalcommands/enable_host_event_handler.md index 4048305..f2c029a 100644 --- a/src/documentation/developer/externalcommands/enable_host_event_handler.md +++ b/src/documentation/developer/externalcommands/enable_host_event_handler.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"}],"name":"ENABLE_HOST #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/enable_host_flap_detection.md b/src/documentation/developer/externalcommands/enable_host_flap_detection.md index 3ca8e69..7dab799 100644 --- a/src/documentation/developer/externalcommands/enable_host_flap_detection.md +++ b/src/documentation/developer/externalcommands/enable_host_flap_detection.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"}],"name":"ENABLE_HOST #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/enable_host_freshness_checks.md b/src/documentation/developer/externalcommands/enable_host_freshness_checks.md index 9e6f621..7a7662f 100644 --- a/src/documentation/developer/externalcommands/enable_host_freshness_checks.md +++ b/src/documentation/developer/externalcommands/enable_host_freshness_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[],"name":"ENABLE_HOST_FRESHNESS_CHECKS","description":" #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/enable_host_notifications.md b/src/documentation/developer/externalcommands/enable_host_notifications.md index 4a12f77..543b295 100644 --- a/src/documentation/developer/externalcommands/enable_host_notifications.md +++ b/src/documentation/developer/externalcommands/enable_host_notifications.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"}],"name":"ENABLE_HOST #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/enable_host_svc_checks.md b/src/documentation/developer/externalcommands/enable_host_svc_checks.md index f0450dc..5a08871 100644 --- a/src/documentation/developer/externalcommands/enable_host_svc_checks.md +++ b/src/documentation/developer/externalcommands/enable_host_svc_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"}],"name":"ENABLE_HOST #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/enable_host_svc_notifications.md b/src/documentation/developer/externalcommands/enable_host_svc_notifications.md index 170e1db..64a0c80 100644 --- a/src/documentation/developer/externalcommands/enable_host_svc_notifications.md +++ b/src/documentation/developer/externalcommands/enable_host_svc_notifications.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"}],"name":"ENABLE_HOST #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/enable_hostgroup_host_checks.md b/src/documentation/developer/externalcommands/enable_hostgroup_host_checks.md index 7b0be13..dcb24aa 100644 --- a/src/documentation/developer/externalcommands/enable_hostgroup_host_checks.md +++ b/src/documentation/developer/externalcommands/enable_hostgroup_host_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"hostgroup_name","type":"hostgroup"}],"name":"E #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/enable_hostgroup_host_notifications.md b/src/documentation/developer/externalcommands/enable_hostgroup_host_notifications.md index a5fbd98..4d9d26c 100644 --- a/src/documentation/developer/externalcommands/enable_hostgroup_host_notifications.md +++ b/src/documentation/developer/externalcommands/enable_hostgroup_host_notifications.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"hostgroup_name","type":"hostgroup"}],"name":"E #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/enable_hostgroup_passive_host_checks.md b/src/documentation/developer/externalcommands/enable_hostgroup_passive_host_checks.md index 6e070ac..097986a 100644 --- a/src/documentation/developer/externalcommands/enable_hostgroup_passive_host_checks.md +++ b/src/documentation/developer/externalcommands/enable_hostgroup_passive_host_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"hostgroup_name","type":"hostgroup"}],"name":"E #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/enable_hostgroup_passive_svc_checks.md b/src/documentation/developer/externalcommands/enable_hostgroup_passive_svc_checks.md index 9cf3a40..447b661 100644 --- a/src/documentation/developer/externalcommands/enable_hostgroup_passive_svc_checks.md +++ b/src/documentation/developer/externalcommands/enable_hostgroup_passive_svc_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"hostgroup_name","type":"hostgroup"}],"name":"E #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/enable_hostgroup_svc_checks.md b/src/documentation/developer/externalcommands/enable_hostgroup_svc_checks.md index 7c5e0be..6690856 100644 --- a/src/documentation/developer/externalcommands/enable_hostgroup_svc_checks.md +++ b/src/documentation/developer/externalcommands/enable_hostgroup_svc_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"hostgroup_name","type":"hostgroup"}],"name":"E #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/enable_hostgroup_svc_notifications.md b/src/documentation/developer/externalcommands/enable_hostgroup_svc_notifications.md index dd4b502..4306314 100644 --- a/src/documentation/developer/externalcommands/enable_hostgroup_svc_notifications.md +++ b/src/documentation/developer/externalcommands/enable_hostgroup_svc_notifications.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"hostgroup_name","type":"hostgroup"}],"name":"E #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/enable_notifications.md b/src/documentation/developer/externalcommands/enable_notifications.md index befc0a7..a6a852a 100644 --- a/src/documentation/developer/externalcommands/enable_notifications.md +++ b/src/documentation/developer/externalcommands/enable_notifications.md @@ -28,7 +28,7 @@ const command = {"args":[],"name":"ENABLE_NOTIFICATIONS","description":"Enables #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/enable_passive_host_checks.md b/src/documentation/developer/externalcommands/enable_passive_host_checks.md index bfe7c62..eb5cf25 100644 --- a/src/documentation/developer/externalcommands/enable_passive_host_checks.md +++ b/src/documentation/developer/externalcommands/enable_passive_host_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"}],"name":"ENABLE_PASS #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/enable_passive_svc_checks.md b/src/documentation/developer/externalcommands/enable_passive_svc_checks.md index 69550ff..5d8db08 100644 --- a/src/documentation/developer/externalcommands/enable_passive_svc_checks.md +++ b/src/documentation/developer/externalcommands/enable_passive_svc_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"service","type":"service"}],"name":"ENABLE_PAS #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/enable_performance_data.md b/src/documentation/developer/externalcommands/enable_performance_data.md index 12d7f5c..ac2e945 100644 --- a/src/documentation/developer/externalcommands/enable_performance_data.md +++ b/src/documentation/developer/externalcommands/enable_performance_data.md @@ -28,7 +28,7 @@ const command = {"args":[],"name":"ENABLE_PERFORMANCE_DATA","description":"Enabl #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/enable_service_freshness_checks.md b/src/documentation/developer/externalcommands/enable_service_freshness_checks.md index 9b75d41..15ff794 100644 --- a/src/documentation/developer/externalcommands/enable_service_freshness_checks.md +++ b/src/documentation/developer/externalcommands/enable_service_freshness_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[],"name":"ENABLE_SERVICE_FRESHNESS_CHECKS","description #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/enable_servicegroup_host_checks.md b/src/documentation/developer/externalcommands/enable_servicegroup_host_checks.md index efaea2c..264c9da 100644 --- a/src/documentation/developer/externalcommands/enable_servicegroup_host_checks.md +++ b/src/documentation/developer/externalcommands/enable_servicegroup_host_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"servicegroup_name","type":"servicegroup"}],"na #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/enable_servicegroup_host_notifications.md b/src/documentation/developer/externalcommands/enable_servicegroup_host_notifications.md index b084a84..e3a2efd 100644 --- a/src/documentation/developer/externalcommands/enable_servicegroup_host_notifications.md +++ b/src/documentation/developer/externalcommands/enable_servicegroup_host_notifications.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"servicegroup_name","type":"servicegroup"}],"na #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/enable_servicegroup_passive_host_checks.md b/src/documentation/developer/externalcommands/enable_servicegroup_passive_host_checks.md index 2062893..1987931 100644 --- a/src/documentation/developer/externalcommands/enable_servicegroup_passive_host_checks.md +++ b/src/documentation/developer/externalcommands/enable_servicegroup_passive_host_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"servicegroup_name","type":"servicegroup"}],"na #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/enable_servicegroup_passive_svc_checks.md b/src/documentation/developer/externalcommands/enable_servicegroup_passive_svc_checks.md index 0d42378..b8a8fd4 100644 --- a/src/documentation/developer/externalcommands/enable_servicegroup_passive_svc_checks.md +++ b/src/documentation/developer/externalcommands/enable_servicegroup_passive_svc_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"servicegroup_name","type":"servicegroup"}],"na #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/enable_servicegroup_svc_checks.md b/src/documentation/developer/externalcommands/enable_servicegroup_svc_checks.md index ae38505..126c681 100644 --- a/src/documentation/developer/externalcommands/enable_servicegroup_svc_checks.md +++ b/src/documentation/developer/externalcommands/enable_servicegroup_svc_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"servicegroup_name","type":"servicegroup"}],"na #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/enable_servicegroup_svc_notifications.md b/src/documentation/developer/externalcommands/enable_servicegroup_svc_notifications.md index c820eee..fdf5945 100644 --- a/src/documentation/developer/externalcommands/enable_servicegroup_svc_notifications.md +++ b/src/documentation/developer/externalcommands/enable_servicegroup_svc_notifications.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"servicegroup_name","type":"servicegroup"}],"na #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/enable_svc_check.md b/src/documentation/developer/externalcommands/enable_svc_check.md index ddb3af0..27f12c7 100644 --- a/src/documentation/developer/externalcommands/enable_svc_check.md +++ b/src/documentation/developer/externalcommands/enable_svc_check.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"service","type":"service"}],"name":"ENABLE_SVC #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/enable_svc_event_handler.md b/src/documentation/developer/externalcommands/enable_svc_event_handler.md index 1f2f396..36e2886 100644 --- a/src/documentation/developer/externalcommands/enable_svc_event_handler.md +++ b/src/documentation/developer/externalcommands/enable_svc_event_handler.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"service","type":"service"}],"name":"ENABLE_SVC #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/enable_svc_flap_detection.md b/src/documentation/developer/externalcommands/enable_svc_flap_detection.md index fd19a80..27f89e8 100644 --- a/src/documentation/developer/externalcommands/enable_svc_flap_detection.md +++ b/src/documentation/developer/externalcommands/enable_svc_flap_detection.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"service","type":"service"}],"name":"ENABLE_SVC #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/enable_svc_notifications.md b/src/documentation/developer/externalcommands/enable_svc_notifications.md index 5f30a77..b2ec2f3 100644 --- a/src/documentation/developer/externalcommands/enable_svc_notifications.md +++ b/src/documentation/developer/externalcommands/enable_svc_notifications.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"service","type":"service"}],"name":"ENABLE_SVC #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/log.md b/src/documentation/developer/externalcommands/log.md index 25e16a2..6d37e9e 100644 --- a/src/documentation/developer/externalcommands/log.md +++ b/src/documentation/developer/externalcommands/log.md @@ -28,7 +28,7 @@ const command = {"args":[],"name":"LOG","description":"Adds custom entry to the #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/process_file.md b/src/documentation/developer/externalcommands/process_file.md index 502a969..9ba6afe 100644 --- a/src/documentation/developer/externalcommands/process_file.md +++ b/src/documentation/developer/externalcommands/process_file.md @@ -28,7 +28,7 @@ const command = {"args":[{"name":"file_name","type":"str"},{"name":"delete","typ #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/process_host_check_result.md b/src/documentation/developer/externalcommands/process_host_check_result.md index 3c8af3d..1a1d3db 100644 --- a/src/documentation/developer/externalcommands/process_host_check_result.md +++ b/src/documentation/developer/externalcommands/process_host_check_result.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"},{"name":"status_code #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/process_service_check_result.md b/src/documentation/developer/externalcommands/process_service_check_result.md index 66b0e9e..16df002 100644 --- a/src/documentation/developer/externalcommands/process_service_check_result.md +++ b/src/documentation/developer/externalcommands/process_service_check_result.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"service","type":"service"},{"name":"status_cod #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/read_state_information.md b/src/documentation/developer/externalcommands/read_state_information.md index fae1863..3005a50 100644 --- a/src/documentation/developer/externalcommands/read_state_information.md +++ b/src/documentation/developer/externalcommands/read_state_information.md @@ -28,7 +28,7 @@ const command = {"args":[],"name":"READ_STATE_INFORMATION","description":"Causes #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/remove_host_acknowledgement.md b/src/documentation/developer/externalcommands/remove_host_acknowledgement.md index 68dc8aa..5d3371b 100644 --- a/src/documentation/developer/externalcommands/remove_host_acknowledgement.md +++ b/src/documentation/developer/externalcommands/remove_host_acknowledgement.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"}],"name":"REMOVE_HOST #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/remove_svc_acknowledgement.md b/src/documentation/developer/externalcommands/remove_svc_acknowledgement.md index 7448091..44457cb 100644 --- a/src/documentation/developer/externalcommands/remove_svc_acknowledgement.md +++ b/src/documentation/developer/externalcommands/remove_svc_acknowledgement.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"service","type":"service"}],"name":"REMOVE_SVC #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/restart_process.md b/src/documentation/developer/externalcommands/restart_process.md index 68d20f4..71f2bb7 100644 --- a/src/documentation/developer/externalcommands/restart_process.md +++ b/src/documentation/developer/externalcommands/restart_process.md @@ -28,7 +28,7 @@ const command = {"args":[],"name":"RESTART_PROCESS","description":"Restarts the #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/restart_program.md b/src/documentation/developer/externalcommands/restart_program.md index 0d29e20..f17411a 100644 --- a/src/documentation/developer/externalcommands/restart_program.md +++ b/src/documentation/developer/externalcommands/restart_program.md @@ -28,7 +28,7 @@ const command = {"args":[],"name":"RESTART_PROGRAM","description":"Restarts the #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/save_state_information.md b/src/documentation/developer/externalcommands/save_state_information.md index 1c7fd7b..71bd078 100644 --- a/src/documentation/developer/externalcommands/save_state_information.md +++ b/src/documentation/developer/externalcommands/save_state_information.md @@ -28,7 +28,7 @@ const command = {"args":[],"name":"SAVE_STATE_INFORMATION","description":"Causes #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/schedule_and_propagate_host_downtime.md b/src/documentation/developer/externalcommands/schedule_and_propagate_host_downtime.md index 1da2f82..41a9c6d 100644 --- a/src/documentation/developer/externalcommands/schedule_and_propagate_host_downtime.md +++ b/src/documentation/developer/externalcommands/schedule_and_propagate_host_downtime.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"},{"name":"start_time" #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/schedule_and_propagate_triggered_host_downtime.md b/src/documentation/developer/externalcommands/schedule_and_propagate_triggered_host_downtime.md index 6644c7c..79acc54 100644 --- a/src/documentation/developer/externalcommands/schedule_and_propagate_triggered_host_downtime.md +++ b/src/documentation/developer/externalcommands/schedule_and_propagate_triggered_host_downtime.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"},{"name":"start_time" #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/schedule_forced_host_check.md b/src/documentation/developer/externalcommands/schedule_forced_host_check.md index 5867002..0a3f3ab 100644 --- a/src/documentation/developer/externalcommands/schedule_forced_host_check.md +++ b/src/documentation/developer/externalcommands/schedule_forced_host_check.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"},{"name":"check_time" #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/schedule_forced_host_svc_checks.md b/src/documentation/developer/externalcommands/schedule_forced_host_svc_checks.md index 72f0620..a94c011 100644 --- a/src/documentation/developer/externalcommands/schedule_forced_host_svc_checks.md +++ b/src/documentation/developer/externalcommands/schedule_forced_host_svc_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"},{"name":"check_time" #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/schedule_forced_svc_check.md b/src/documentation/developer/externalcommands/schedule_forced_svc_check.md index 133a784..9300f00 100644 --- a/src/documentation/developer/externalcommands/schedule_forced_svc_check.md +++ b/src/documentation/developer/externalcommands/schedule_forced_svc_check.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"service","type":"service"},{"name":"check_time #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/schedule_host_check.md b/src/documentation/developer/externalcommands/schedule_host_check.md index b7ffcff..ca30496 100644 --- a/src/documentation/developer/externalcommands/schedule_host_check.md +++ b/src/documentation/developer/externalcommands/schedule_host_check.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"},{"name":"check_time" #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/schedule_host_downtime.md b/src/documentation/developer/externalcommands/schedule_host_downtime.md index b56ed6a..a65cccc 100644 --- a/src/documentation/developer/externalcommands/schedule_host_downtime.md +++ b/src/documentation/developer/externalcommands/schedule_host_downtime.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"},{"name":"start_time" #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/schedule_host_svc_checks.md b/src/documentation/developer/externalcommands/schedule_host_svc_checks.md index 8655765..cc007a1 100644 --- a/src/documentation/developer/externalcommands/schedule_host_svc_checks.md +++ b/src/documentation/developer/externalcommands/schedule_host_svc_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"},{"name":"check_time" #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/schedule_host_svc_downtime.md b/src/documentation/developer/externalcommands/schedule_host_svc_downtime.md index 01409cd..23a4974 100644 --- a/src/documentation/developer/externalcommands/schedule_host_svc_downtime.md +++ b/src/documentation/developer/externalcommands/schedule_host_svc_downtime.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"},{"name":"start_time" #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/schedule_hostgroup_host_downtime.md b/src/documentation/developer/externalcommands/schedule_hostgroup_host_downtime.md index ceda651..ba357cd 100644 --- a/src/documentation/developer/externalcommands/schedule_hostgroup_host_downtime.md +++ b/src/documentation/developer/externalcommands/schedule_hostgroup_host_downtime.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"hostgroup_name","type":"hostgroup"},{"name":"s #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/schedule_hostgroup_svc_downtime.md b/src/documentation/developer/externalcommands/schedule_hostgroup_svc_downtime.md index c4c7864..f616416 100644 --- a/src/documentation/developer/externalcommands/schedule_hostgroup_svc_downtime.md +++ b/src/documentation/developer/externalcommands/schedule_hostgroup_svc_downtime.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"hostgroup_name","type":"hostgroup"},{"name":"s #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/schedule_servicegroup_host_downtime.md b/src/documentation/developer/externalcommands/schedule_servicegroup_host_downtime.md index c4de3b3..945b863 100644 --- a/src/documentation/developer/externalcommands/schedule_servicegroup_host_downtime.md +++ b/src/documentation/developer/externalcommands/schedule_servicegroup_host_downtime.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"servicegroup_name","type":"servicegroup"},{"na #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/schedule_servicegroup_svc_downtime.md b/src/documentation/developer/externalcommands/schedule_servicegroup_svc_downtime.md index b031a4a..3697ba2 100644 --- a/src/documentation/developer/externalcommands/schedule_servicegroup_svc_downtime.md +++ b/src/documentation/developer/externalcommands/schedule_servicegroup_svc_downtime.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"servicegroup_name","type":"servicegroup"},{"na #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/schedule_svc_check.md b/src/documentation/developer/externalcommands/schedule_svc_check.md index 34c8723..887051e 100644 --- a/src/documentation/developer/externalcommands/schedule_svc_check.md +++ b/src/documentation/developer/externalcommands/schedule_svc_check.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"service","type":"service"},{"name":"check_time #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/schedule_svc_downtime.md b/src/documentation/developer/externalcommands/schedule_svc_downtime.md index 44f9ba1..b8c6b35 100644 --- a/src/documentation/developer/externalcommands/schedule_svc_downtime.md +++ b/src/documentation/developer/externalcommands/schedule_svc_downtime.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"service","type":"service"},{"name":"start_time #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/send_custom_host_notification.md b/src/documentation/developer/externalcommands/send_custom_host_notification.md index 86bc8a3..c89e1a3 100644 --- a/src/documentation/developer/externalcommands/send_custom_host_notification.md +++ b/src/documentation/developer/externalcommands/send_custom_host_notification.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"},{"name":"options","t #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/send_custom_svc_notification.md b/src/documentation/developer/externalcommands/send_custom_svc_notification.md index 8f1684d..77c49e8 100644 --- a/src/documentation/developer/externalcommands/send_custom_svc_notification.md +++ b/src/documentation/developer/externalcommands/send_custom_svc_notification.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"service","type":"service"},{"name":"options"," #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/set_host_notification_number.md b/src/documentation/developer/externalcommands/set_host_notification_number.md index 0f65cac..f104c90 100644 --- a/src/documentation/developer/externalcommands/set_host_notification_number.md +++ b/src/documentation/developer/externalcommands/set_host_notification_number.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"},{"name":"notificatio #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/set_svc_notification_number.md b/src/documentation/developer/externalcommands/set_svc_notification_number.md index 9530998..27d09be 100644 --- a/src/documentation/developer/externalcommands/set_svc_notification_number.md +++ b/src/documentation/developer/externalcommands/set_svc_notification_number.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"service","type":"service"},{"name":"notificati #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/shutdown_process.md b/src/documentation/developer/externalcommands/shutdown_process.md index c3ca1e3..37ce0fe 100644 --- a/src/documentation/developer/externalcommands/shutdown_process.md +++ b/src/documentation/developer/externalcommands/shutdown_process.md @@ -28,7 +28,7 @@ const command = {"args":[],"name":"SHUTDOWN_PROCESS","description":"Shuts down t #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/shutdown_program.md b/src/documentation/developer/externalcommands/shutdown_program.md index 5b886ad..cb36400 100644 --- a/src/documentation/developer/externalcommands/shutdown_program.md +++ b/src/documentation/developer/externalcommands/shutdown_program.md @@ -28,7 +28,7 @@ const command = {"args":[],"name":"SHUTDOWN_PROGRAM","description":"Shuts down t #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/start_accepting_passive_host_checks.md b/src/documentation/developer/externalcommands/start_accepting_passive_host_checks.md index 60dc57e..fb6a750 100644 --- a/src/documentation/developer/externalcommands/start_accepting_passive_host_checks.md +++ b/src/documentation/developer/externalcommands/start_accepting_passive_host_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[],"name":"START_ACCEPTING_PASSIVE_HOST_CHECKS","descrip #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/start_accepting_passive_svc_checks.md b/src/documentation/developer/externalcommands/start_accepting_passive_svc_checks.md index 84fcf98..57cd7fd 100644 --- a/src/documentation/developer/externalcommands/start_accepting_passive_svc_checks.md +++ b/src/documentation/developer/externalcommands/start_accepting_passive_svc_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[],"name":"START_ACCEPTING_PASSIVE_SVC_CHECKS","descript #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/start_executing_host_checks.md b/src/documentation/developer/externalcommands/start_executing_host_checks.md index 78d1ca3..9576dd9 100644 --- a/src/documentation/developer/externalcommands/start_executing_host_checks.md +++ b/src/documentation/developer/externalcommands/start_executing_host_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[],"name":"START_EXECUTING_HOST_CHECKS","description":"E #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/start_executing_svc_checks.md b/src/documentation/developer/externalcommands/start_executing_svc_checks.md index f90d7b4..fd0dc27 100644 --- a/src/documentation/developer/externalcommands/start_executing_svc_checks.md +++ b/src/documentation/developer/externalcommands/start_executing_svc_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[],"name":"START_EXECUTING_SVC_CHECKS","description":"En #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/start_obsessing_over_host.md b/src/documentation/developer/externalcommands/start_obsessing_over_host.md index 6222403..aea792e 100644 --- a/src/documentation/developer/externalcommands/start_obsessing_over_host.md +++ b/src/documentation/developer/externalcommands/start_obsessing_over_host.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"}],"name":"START_OBSES #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/start_obsessing_over_host_checks.md b/src/documentation/developer/externalcommands/start_obsessing_over_host_checks.md index ef4f3ea..594b46c 100644 --- a/src/documentation/developer/externalcommands/start_obsessing_over_host_checks.md +++ b/src/documentation/developer/externalcommands/start_obsessing_over_host_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[],"name":"START_OBSESSING_OVER_HOST_CHECKS","descriptio #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/start_obsessing_over_svc.md b/src/documentation/developer/externalcommands/start_obsessing_over_svc.md index c7ee0d9..c4d04b0 100644 --- a/src/documentation/developer/externalcommands/start_obsessing_over_svc.md +++ b/src/documentation/developer/externalcommands/start_obsessing_over_svc.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"service","type":"service"}],"name":"START_OBSE #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/start_obsessing_over_svc_checks.md b/src/documentation/developer/externalcommands/start_obsessing_over_svc_checks.md index 2bf7bf8..a57cbf1 100644 --- a/src/documentation/developer/externalcommands/start_obsessing_over_svc_checks.md +++ b/src/documentation/developer/externalcommands/start_obsessing_over_svc_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[],"name":"START_OBSESSING_OVER_SVC_CHECKS","description #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/stop_accepting_passive_host_checks.md b/src/documentation/developer/externalcommands/stop_accepting_passive_host_checks.md index c8d1a73..68e6274 100644 --- a/src/documentation/developer/externalcommands/stop_accepting_passive_host_checks.md +++ b/src/documentation/developer/externalcommands/stop_accepting_passive_host_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[],"name":"STOP_ACCEPTING_PASSIVE_HOST_CHECKS","descript #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/stop_accepting_passive_svc_checks.md b/src/documentation/developer/externalcommands/stop_accepting_passive_svc_checks.md index fc85b92..60f8751 100644 --- a/src/documentation/developer/externalcommands/stop_accepting_passive_svc_checks.md +++ b/src/documentation/developer/externalcommands/stop_accepting_passive_svc_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[],"name":"STOP_ACCEPTING_PASSIVE_SVC_CHECKS","descripti #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/stop_executing_host_checks.md b/src/documentation/developer/externalcommands/stop_executing_host_checks.md index 945d74f..6821fc2 100644 --- a/src/documentation/developer/externalcommands/stop_executing_host_checks.md +++ b/src/documentation/developer/externalcommands/stop_executing_host_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[],"name":"STOP_EXECUTING_HOST_CHECKS","description":"Di #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/stop_executing_svc_checks.md b/src/documentation/developer/externalcommands/stop_executing_svc_checks.md index 1d20c9b..0a37435 100644 --- a/src/documentation/developer/externalcommands/stop_executing_svc_checks.md +++ b/src/documentation/developer/externalcommands/stop_executing_svc_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[],"name":"STOP_EXECUTING_SVC_CHECKS","description":"Dis #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/stop_obsessing_over_host.md b/src/documentation/developer/externalcommands/stop_obsessing_over_host.md index aaaf154..30f8da5 100644 --- a/src/documentation/developer/externalcommands/stop_obsessing_over_host.md +++ b/src/documentation/developer/externalcommands/stop_obsessing_over_host.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"host_name","type":"host"}],"name":"STOP_OBSESS #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/stop_obsessing_over_host_checks.md b/src/documentation/developer/externalcommands/stop_obsessing_over_host_checks.md index 175a691..ce0ea46 100644 --- a/src/documentation/developer/externalcommands/stop_obsessing_over_host_checks.md +++ b/src/documentation/developer/externalcommands/stop_obsessing_over_host_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[],"name":"STOP_OBSESSING_OVER_HOST_CHECKS","description #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/stop_obsessing_over_svc.md b/src/documentation/developer/externalcommands/stop_obsessing_over_svc.md index 31c7980..3685338 100644 --- a/src/documentation/developer/externalcommands/stop_obsessing_over_svc.md +++ b/src/documentation/developer/externalcommands/stop_obsessing_over_svc.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[{"name":"service","type":"service"}],"name":"STOP_OBSES #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ``` diff --git a/src/documentation/developer/externalcommands/stop_obsessing_over_svc_checks.md b/src/documentation/developer/externalcommands/stop_obsessing_over_svc_checks.md index d0782ea..bfbe291 100644 --- a/src/documentation/developer/externalcommands/stop_obsessing_over_svc_checks.md +++ b/src/documentation/developer/externalcommands/stop_obsessing_over_svc_checks.md @@ -9,7 +9,7 @@ aside: false ---

{{ command.name.replace(/_/g, " ") }}

@@ -28,7 +28,7 @@ const command = {"args":[],"name":"STOP_OBSESSING_OVER_SVC_CHECKS","description" #!/bin/sh # This is a shell script showing how to submit the {{ command.name }} command # to Naemon. Adjust variables to fit your environment as necessary. - +{{ command?.additionalInformation }} printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \ `date +%s` > /var/lib/naemon/naemon.cmd ```