From: Elan Ruusamäe Date: Sat, 14 May 2005 13:25:27 +0000 (+0000) Subject: - add Id tags and vim modeline syntax X-Git-Tag: 20071217~8 X-Git-Url: https://git.pld-linux.org/?p=projects%2Fnagios-config.git;a=commitdiff_plain;h=cff08d9ae5535777c2d9be4d4fa734b3c9b20408 - add Id tags and vim modeline syntax svn-id: @5968 --- diff --git a/cgi.cfg b/cgi.cfg index 225a9b4..99cea71 100644 --- a/cgi.cfg +++ b/cgi.cfg @@ -1,8 +1,7 @@ ################################################################# # -# CGI.CFG - Sample CGI Configuration File for Nagios -# -# Last Modified: 10-08-2003 +# CGI.CFG - CGI Configuration File for Nagios +# $Id: $ # ################################################################# @@ -272,4 +271,3 @@ refresh_rate=90 #service_warning_sound=warning.wav #service_unknown_sound=warning.wav #normal_sound=noproblem.wav - diff --git a/checkcommands.cfg b/checkcommands.cfg index a4ef7ce..0369218 100644 --- a/checkcommands.cfg +++ b/checkcommands.cfg @@ -1,5 +1,6 @@ ################################################################################ -# object config file for Nagios +# Object config file for Nagios +# $Id: $ # ################################################################################ @@ -254,4 +255,4 @@ define command { command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 100,99% -c 5000,100% -p 1 } -# vim:ts=8:sw=8 +# vim:ts=8:sw=8:syn=nagios diff --git a/contactgroups.cfg b/contactgroups.cfg index 1d7da2b..97e80c3 100644 --- a/contactgroups.cfg +++ b/contactgroups.cfg @@ -1,5 +1,6 @@ ################################################################################ -# object config file for Nagios +# Object config file for Nagios +# $Id: $ # ################################################################################ @@ -16,4 +17,4 @@ define contactgroup { members nagios-admin } -# vim:ts=8:sw=8 +# vim:ts=8:sw=8:syn=nagios diff --git a/contacts.cfg b/contacts.cfg index 7f469b8..195f53c 100644 --- a/contacts.cfg +++ b/contacts.cfg @@ -1,5 +1,6 @@ ################################################################################ -# object config file for Nagios +# Object config file for Nagios +# $Id: $ # ################################################################################ @@ -26,4 +27,4 @@ define contact { pager root@localhost } -# vim:ts=8:sw=8 +# vim:ts=8:sw=8:syn=nagios diff --git a/dependencies.cfg b/dependencies.cfg index 921ffd8..d17161b 100644 --- a/dependencies.cfg +++ b/dependencies.cfg @@ -1,5 +1,6 @@ ################################################################################ -# object config file for Nagios +# Object config file for Nagios +# $Id: $ # ################################################################################ @@ -13,4 +14,4 @@ # ################################################################################ -# vim:ts=8:sw=8 +# vim:ts=8:sw=8:syn=nagios diff --git a/escalations.cfg b/escalations.cfg index e3e07e7..7ed38f9 100644 --- a/escalations.cfg +++ b/escalations.cfg @@ -1,5 +1,6 @@ ################################################################################ -# object config file for Nagios +# Object config file for Nagios +# $Id: $ # ################################################################################ @@ -17,3 +18,4 @@ # HOST ESCALATION DEFINITIONS # ################################################################################ +# vim:ts=8:sw=8:syn=nagios diff --git a/hostextinfo.cfg b/hostextinfo.cfg index 7c9efcc..0def4b7 100644 --- a/hostextinfo.cfg +++ b/hostextinfo.cfg @@ -1,5 +1,6 @@ ################################################################################ -# object config file for Nagios +# Object config file for Nagios +# $Id: $ # ################################################################################ @@ -38,4 +39,4 @@ define hostextinfo { 3d_coords 100.0,50.0,75.0 } -# vim:ts=8:sw=8 +# vim:ts=8:sw=8:syn=nagios diff --git a/hostgroups.cfg b/hostgroups.cfg index cd215ba..b757d23 100644 --- a/hostgroups.cfg +++ b/hostgroups.cfg @@ -1,5 +1,6 @@ ################################################################################ -# object config file for Nagios +# Object config file for Nagios +# $Id: $ # ################################################################################ @@ -16,4 +17,4 @@ define hostgroup { members localhost } -# vim:ts=8:sw=8 +# vim:ts=8:sw=8:syn=nagios diff --git a/hosts.cfg b/hosts.cfg index 7438aaf..1992c72 100644 --- a/hosts.cfg +++ b/hosts.cfg @@ -1,5 +1,6 @@ ################################################################################ -# object config file for Nagios +# Object config file for Nagios +# $Id: $ # ################################################################################ @@ -44,4 +45,4 @@ define host { contact_groups admins } -# vim:ts=8:sw=8 +# vim:ts=8:sw=8:syn=nagios diff --git a/misccommands.cfg b/misccommands.cfg index 755eb97..21bafda 100644 --- a/misccommands.cfg +++ b/misccommands.cfg @@ -1,5 +1,6 @@ ################################################################################ # Object config file for Nagios +# $Id: $ # ################################################################################ @@ -89,3 +90,5 @@ define command { command_name process-service-perfdata command_line /bin/printf "%b" "$LASTSERVICECHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERVICEATTEMPT$\t$SERVICESTATETYPE$\t$SERVICEEXECUTIONTIME$\t$SERVICELATENCY$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$" >> /var/lib/nagios/service-perfdata.out } + +# vim:ts=8:sw=8:syn=nagios diff --git a/nagios.cfg b/nagios.cfg index 673fb10..fc061d8 100644 --- a/nagios.cfg +++ b/nagios.cfg @@ -6,7 +6,7 @@ # file. I've provided some comments here, but things may not be so # clear without further explanation. # -# Last Modified: 03-08-2005 +# $Id: $ # ############################################################################## @@ -949,7 +949,4 @@ admin_pager=pagenagios daemon_dumps_core=0 - - # EOF (End of file) - diff --git a/resource.cfg b/resource.cfg index 1739470..13ce00f 100644 --- a/resource.cfg +++ b/resource.cfg @@ -2,7 +2,7 @@ # # RESOURCE.CFG - Sample Resource File for Nagios # -# Last Modified: 09-10-2003 +# $Id: $ # # You can define $USERx$ macros in this file, which can in turn be used # in command definitions in your host config file(s). $USERx$ macros are diff --git a/serviceextinfo.cfg b/serviceextinfo.cfg index 635c7f3..2933139 100644 --- a/serviceextinfo.cfg +++ b/serviceextinfo.cfg @@ -1,5 +1,6 @@ ################################################################################ -# object config file for Nagios +# Object config file for Nagios +# $Id: $ # ################################################################################ @@ -32,4 +33,4 @@ # icon_image_alt Security-Related Alerts #} -# vim:ts=8:sw=8 +# vim:ts=8:sw=8:syn=nagios diff --git a/services.cfg b/services.cfg index a7c1cb0..65bef89 100644 --- a/services.cfg +++ b/services.cfg @@ -1,5 +1,6 @@ ################################################################################ -# object config file for Nagios +# Object config file for Nagios +# $Id: $ # ################################################################################ @@ -118,4 +119,4 @@ define service { check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 } -# vim:ts=8:sw=8 +# vim:ts=8:sw=8:syn=nagios diff --git a/timeperiods.cfg b/timeperiods.cfg index db0c8ae..7527597 100644 --- a/timeperiods.cfg +++ b/timeperiods.cfg @@ -1,5 +1,6 @@ ################################################################################ -# object config file for Nagios +# Object config file for Nagios +# $Id: $ # ################################################################################ @@ -70,4 +71,4 @@ define timeperiod { alias No Time Is A Good Time } -# vim:ts=8:sw=8 +# vim:ts=8:sw=8:syn=nagios