Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 47674 Details for
Bug 76712
nagios vim syntax file
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
nagios.vim
nagios.vim (text/plain), 3.72 KB, created by
Lance Albertson (RETIRED)
on 2005-01-04 18:44:32 UTC
(
hide
)
Description:
nagios.vim
Filename:
MIME Type:
Creator:
Lance Albertson (RETIRED)
Created:
2005-01-04 18:44:32 UTC
Size:
3.72 KB
patch
obsolete
>" Vim syntax file >" Language: Nagios template object configuration file >" Maintainer: Ava Arachne Jarvis <ajar@katanalynx.dyndns.org> >" URL: http://katanalynx.dyndns.org/~ajar/code >" Last Change: 2002 Oct 05 > > >if !exists("main_syntax") > if version < 600 > syntax clear > elseif exists("b:current_syntax") > finish > endif > > let main_syntax = 'nagios' >endif > >if version >= 600 > setlocal iskeyword=_,-,A-Z,a-z,48-57 >else >endif > >syn match nagiosComment '#.*' > >syn match nagiosConstant '\<[0-9]\+%\?\>' >syn match nagiosConstant '\<[a-z]\>' > >syn region nagiosString start=+"+ end=+"+ contains=nagiosMacro >syn region nagiosString start=+'+ end=+'+ contains=nagiosMacro > >syn keyword nagiosSpecial name register use > >syn match nagiosDef 'define[ \t]\+\(host\|service\|timeperiod\|contact\|command\)' >syn match nagiosDef 'define[ \t]\+\(host\|contact\)group' >syn match nagiosDef 'define[ \t]\+\(service\|host\)dependency' >syn match nagiosDef 'define[ \t]\+\(service\|host\|hostgroup\)escalation' > >syn match nagiosMacro '\$CONTACT\(NAME\|ALIAS\|EMAIL\|PAGER\)\$' >syn match nagiosMacro '\$HOST\(NAME\|ALIAS\|ADDRESS\|STATE\)\$' >syn match nagiosMacro '\$\(ARG\|USER\)\([1-9]\|[1-2][0-9]\|3[0-2]\)\$' >syn match nagiosMacro '\$SERVICE\(DESC\|STATE\)\$' >syn match nagiosMacro '\$\(OUTPUT\|PERFDATA\|EXECUTIONTIME\|LATENCY\)\$' >syn match nagiosMacro '\$NOTIFICATION\(TYPE\|NUMBER\)\$' >syn match nagiosMacro '\$\(\(SHORT\)\?DATETIME\|DATE\|TIME\|TIMET\)\$' >syn match nagiosMacro '\$\(LASTSTATECHANGE\|STATETYPE\)\$' >syn match nagiosMacro '\$ADMIN\(EMAIL\|PAGER\)\$' >syn match nagiosMacro '\$\(SERVICE\|HOST\)ATTEMPT\$' > >syn region nagiosDefBody start='{' end='}' contains=nagiosDirective,nagiosMacro,nagiosConstant,nagiosString,nagiosSpecial transparent > >syn keyword nagiosDirective active_checks_enabled address alias check_command >syn keyword nagiosDirective check_freshness check_period checks_enabled >syn keyword nagiosDirective command_line command_name >syn keyword nagiosDirective contact_groups contact_name contactgroup_name >syn keyword nagiosDirective dependent_host_name dependent_service_description >syn keyword nagiosDirective email event_handler event_handler_enabled >syn keyword nagiosDirective execution_failure_criteria first_notification >syn keyword nagiosDirective flap_detection_enabled freshness_threshold >syn keyword nagiosDirective friday high_flap_threshold host_name >syn keyword nagiosDirective host_notification_commands >syn keyword nagiosDirective host_notification_options >syn keyword nagiosDirective host_notification_period hostgroup_name >syn keyword nagiosDirective is_volatile last_notification >syn keyword nagiosDirective low_flap_threshold max_check_attempts >syn keyword nagiosDirective members monday normal_check_interval >syn keyword nagiosDirective notification_failure_criteria >syn keyword nagiosDirective notification_interval notification_options >syn keyword nagiosDirective notification_period notifications_enabled >syn keyword nagiosDirective obsess_over_service pager parallelize_check >syn keyword nagiosDirective parents passive_checks_enabled >syn keyword nagiosDirective process_perf_data retain_nonstatus_information >syn keyword nagiosDirective retain_status_information retry_check_interval >syn keyword nagiosDirective saturday service_description >syn keyword nagiosDirective service_notification_commands >syn keyword nagiosDirective service_notification_options >syn keyword nagiosDirective service_notification_period stalking_options >syn keyword nagiosDirective sunday thursday timeperiod_name tuesday wednesday > >hi link nagiosComment Comment >hi link nagiosConstant Number >hi link nagiosDef Statement >hi link nagiosDirective Define >hi link nagiosMacro Macro >hi link nagiosString String >hi link nagiosSpecial Special
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 76712
: 47674