not logged in (
login
)
Home
Advanced search
About Vim
Community
News
Sponsoring
Trivia
Documentation
Download
Scripts
Tips
My Account
Site Help
nagios syntax : Nagios template object configuration file
script karma
Rating
10/4
, Downloaded by 472
Comments, bugs, improvements
Vim wiki
created by
Elan Ruusamäe
script type
syntax
description
Nagios <
http://www.nagios.org/>
; template object configuration file.
Initially based on gentoo source
http://dev.gentoo.org/~ramereth/vim/syntax/nagios.vim
http://bugs.gentoo.org/show_bug.cgi?id=76712
which instead based on
http://katanalynx.dyndns.org/~ajar/code
:)
Current URL:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/vim-syntax-nagios/nagios.vim
install details
- for local install
PREFIX=~/.vim
- for global install (requries root privileges)
PREFIX=/usr/share/vim/vimfiles
- and then run:
mkdir -p $PREFIX/{syntax,ftdetect}
cp nagios.vim $PREFIX/syntax/nagios.vim
cat > $PREFIX/ftdetect/nagios.vim <<-EOF
au BufNewFile,BufRead /*etc/nagios/*.cfg,*sample-config/template-object/*.cfg{,.in},/var/lib/nagios/objects.cache set filetype
=nagios
EOF
rate this script
Life Changing
Helpful
Unfulfilling
script versions
(
upload new version
)
Click on the package to download.
package
script version
date
Vim version
user
release notes
nagios.vim
1.8
2008-06-08
6.0
Elan Ruusamäe
Initial upload
If you have questions or remarks about this site, visit the
vimonline development
pages. Please use this site responsibly.
Questions about
Vim
should go to the
maillist
. Help Bram
help Uganda
.