X-Git-Url: http://gitweb.michael.orlitzky.com/?p=nagios-mode.git;a=blobdiff_plain;f=nagios-mode.el;h=097e331e6aef5f628dbb24ddf844c084c3b7dc76;hp=8535db85e66e2386ab18ec4e5428ee1749c6af18;hb=HEAD;hpb=1125baabde77554ce041ca40ac55da38b9741273 diff --git a/nagios-mode.el b/nagios-mode.el index 8535db8..0dd0773 100644 --- a/nagios-mode.el +++ b/nagios-mode.el @@ -1,23 +1,18 @@ -;; -;; nagios-mode, an Emacs mode for Nagios -;; configuration files. -;; -;; Copyright Michael Orlitzky -;; -;; http://michael.orlitzky.com/ +;; nagios-mode: an emacs mode for nagios configuration files +;; Copyright (C) 2024 Michael Orlitzky ;; ;; This program is free software: you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation, either version 3 of the License, or -;; (at your option) any later version. +;; it under the terms of the GNU Affero General Public License as +;; published by the Free Software Foundation, either version 3 of the +;; License, or (at your option) any later version. ;; ;; This program is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of -;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -;; GNU General Public License for more details. -;; -;; http://www.fsf.org/licensing/licenses/gpl.html +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU Affero General Public License for more details. ;; +;; You should have received a copy of the GNU Affero General Public License +;; along with this program. If not, see . (require 'font-lock) (require 'regexp-opt) @@ -242,9 +237,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 +249,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 +338,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]+")