From a3715d56b51592cfcfaeb005abfce56177bc24f7 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Mon, 14 Nov 2022 08:19:09 -0500 Subject: [PATCH] nagios-mode.el: add some missing directives. --- nagios-mode.el | 52 +++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 49 insertions(+), 3 deletions(-) diff --git a/nagios-mode.el b/nagios-mode.el index 8535db8..79dfb50 100644 --- a/nagios-mode.el +++ b/nagios-mode.el @@ -242,9 +242,11 @@ (concat "^[ \t\r\n]*" (regexp-opt - '("active_checks_enabled" + '("action_url" + "active_checks_enabled" "address" "alias" + "can_submit_commands" "check_command" "check_freshness" "check_interval" @@ -252,45 +254,83 @@ "checks_enabled" "command_line" "command_name" - "contactgroups" "contact_groups" - "contactgroup_members" "contact_name" + "contactgroup_members" "contactgroup_name" + "contactgroups" "contacts" + "dependency_period" + "dependent_description" + "dependent_host" "dependent_host_name" + "dependent_hostgroup" + "dependent_hostgroup_name" + "dependent_hostgroups" "dependent_service_description" + "dependent_servicegroup" + "dependent_servicegroup_name" + "dependent_servicegroups" + "description" + "display_name" "email" + "escalation_options" + "escalation_period" "event_handler" "event_handler_enabled" + "exclude" "execution_failure_criteria" + "execution_failure_options" "failure_prediction_enabled" + "failure_prediction_options" "first_notification" "first_notification_delay" "flap_detection_enabled" + "flap_detection_options" "freshness_threshold" "friday" "high_flap_threshold" + "host" + "host_groups" "host_name" "host_notification_commands" "host_notification_options" "host_notification_period" "host_notifications_enabled" + "hostgroup" + "hostgroup_members" "hostgroup_name" "hostgroups" + "hosts" + "hourly_value" + "icon_image" + "icon_image_alt" + "importance" + "inherits_parent" + "initial_state" "is_volatile" "last_notification" "low_flap_threshold" + "master_description" + "master_host" + "master_host_name" + "master_service_description" "max_check_attempts" "members" + "minimum_importance" + "minimum_value" "monday" "normal_check_interval" "notes" + "notes_url" "notification_failure_criteria" + "notification_failure_options" "notification_interval" "notification_options" "notification_period" "notifications_enabled" + "obsess" + "obsess_over_host" "obsess_over_service" "pager" "parallelize_check" @@ -303,16 +343,22 @@ "retry_interval" "saturday" "service_description" + "service_groups" "service_notification_commands" "service_notification_options" "service_notification_period" "service_notifications_enabled" + "servicegroup" + "servicegroup_members" "servicegroup_name" + "servicegroups" "stalking_options" + "statusmap_image" "sunday" "thursday" "timeperiod_name" "tuesday" + "vrml_image" "wednesday") t) "[ \r\n\t]+") -- 2.43.2