]> gitweb.michael.orlitzky.com - nagios-mode.git/blobdiff - nagios-mode.el
nagios-mode.el: GPL -> AGPL in the header
[nagios-mode.git] / nagios-mode.el
index 8535db85e66e2386ab18ec4e5428ee1749c6af18..0dd077386c2ce6f86b3c6e6cbd26e024ab3b6aba 100644 (file)
@@ -1,23 +1,18 @@
-;;
-;; nagios-mode, an Emacs mode for Nagios <http://www.nagios.org/>
-;; 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
 ;;
 ;; 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
 ;;
 ;; 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 <https://www.gnu.org/licenses/>.
 
 (require 'font-lock)
 (require 'regexp-opt)
 
 (require 'font-lock)
 (require 'regexp-opt)
     (concat "^[ \t\r\n]*"
 
     (regexp-opt
     (concat "^[ \t\r\n]*"
 
     (regexp-opt
-     '("active_checks_enabled"
+     '("action_url"
+       "active_checks_enabled"
        "address"
        "alias"
        "address"
        "alias"
+       "can_submit_commands"
        "check_command"
        "check_freshness"
        "check_interval"
        "check_command"
        "check_freshness"
        "check_interval"
        "checks_enabled"
        "command_line"
        "command_name"
        "checks_enabled"
        "command_line"
        "command_name"
-       "contactgroups"
        "contact_groups"
        "contact_groups"
-       "contactgroup_members"
        "contact_name"
        "contact_name"
+       "contactgroup_members"
        "contactgroup_name"
        "contactgroup_name"
+       "contactgroups"
        "contacts"
        "contacts"
+       "dependency_period"
+       "dependent_description"
+       "dependent_host"
        "dependent_host_name"
        "dependent_host_name"
+       "dependent_hostgroup"
+       "dependent_hostgroup_name"
+       "dependent_hostgroups"
        "dependent_service_description"
        "dependent_service_description"
+       "dependent_servicegroup"
+       "dependent_servicegroup_name"
+       "dependent_servicegroups"
+       "description"
+       "display_name"
        "email"
        "email"
+       "escalation_options"
+       "escalation_period"
        "event_handler"
        "event_handler_enabled"
        "event_handler"
        "event_handler_enabled"
+       "exclude"
        "execution_failure_criteria"
        "execution_failure_criteria"
+       "execution_failure_options"
        "failure_prediction_enabled"
        "failure_prediction_enabled"
+       "failure_prediction_options"
        "first_notification"
        "first_notification_delay"
        "flap_detection_enabled"
        "first_notification"
        "first_notification_delay"
        "flap_detection_enabled"
+       "flap_detection_options"
        "freshness_threshold"
        "friday"
        "high_flap_threshold"
        "freshness_threshold"
        "friday"
        "high_flap_threshold"
+       "host"
+       "host_groups"
        "host_name"
        "host_notification_commands"
        "host_notification_options"
        "host_notification_period"
        "host_notifications_enabled"
        "host_name"
        "host_notification_commands"
        "host_notification_options"
        "host_notification_period"
        "host_notifications_enabled"
+       "hostgroup"
+       "hostgroup_members"
        "hostgroup_name"
        "hostgroups"
        "hostgroup_name"
        "hostgroups"
+       "hosts"
+       "hourly_value"
+       "icon_image"
+       "icon_image_alt"
+       "importance"
+       "inherits_parent"
+       "initial_state"
        "is_volatile"
        "last_notification"
        "low_flap_threshold"
        "is_volatile"
        "last_notification"
        "low_flap_threshold"
+       "master_description"
+       "master_host"
+       "master_host_name"
+       "master_service_description"
        "max_check_attempts"
        "members"
        "max_check_attempts"
        "members"
+       "minimum_importance"
+       "minimum_value"
        "monday"
        "normal_check_interval"
        "notes"
        "monday"
        "normal_check_interval"
        "notes"
+       "notes_url"
        "notification_failure_criteria"
        "notification_failure_criteria"
+       "notification_failure_options"
        "notification_interval"
        "notification_options"
        "notification_period"
        "notifications_enabled"
        "notification_interval"
        "notification_options"
        "notification_period"
        "notifications_enabled"
+       "obsess"
+       "obsess_over_host"
        "obsess_over_service"
        "pager"
        "parallelize_check"
        "obsess_over_service"
        "pager"
        "parallelize_check"
        "retry_interval"
        "saturday"
        "service_description"
        "retry_interval"
        "saturday"
        "service_description"
+       "service_groups"
        "service_notification_commands"
        "service_notification_options"
        "service_notification_period"
        "service_notifications_enabled"
        "service_notification_commands"
        "service_notification_options"
        "service_notification_period"
        "service_notifications_enabled"
+       "servicegroup"
+       "servicegroup_members"
        "servicegroup_name"
        "servicegroup_name"
+       "servicegroups"
        "stalking_options"
        "stalking_options"
+       "statusmap_image"
        "sunday"
        "thursday"
        "timeperiod_name"
        "tuesday"
        "sunday"
        "thursday"
        "timeperiod_name"
        "tuesday"
+       "vrml_image"
        "wednesday") t)
 
     "[ \r\n\t]+")
        "wednesday") t)
 
     "[ \r\n\t]+")