From 84c4a5d24cbef536b8248a3d8ff72bb2b4248c29 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Sat, 5 Oct 2013 00:56:26 +0200 Subject: Add test instance of the web site Serve https://www.nagios-plugins.org:444/ from the "test" branch of this repository. diff --git a/bin/build-web-site b/bin/build-web-site index 95ac355..9886b7a 100755 --- a/bin/build-web-site +++ b/bin/build-web-site @@ -16,31 +16,42 @@ set -e set -u prefix='/home/plugins' -poole_dir="$prefix/web/generator" -site_source_dir="$prefix/exported/site/web/content" -site_target_dir="$poole_dir/input" + +export PATH="$prefix/src/poole:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin" + +myself=${0##*/} man_source_dir="$prefix/web/work/man" -man_target_dir="$site_target_dir/doc/man" guidelines_source="$prefix/web/work/guidelines.html" -guidelines_target="$site_target_dir/doc/guidelines.html" +site_target_dir=$(mktemp -d "/tmp/$myself.XXXXXX") +man_target_dir="$site_target_dir/input/doc/man" +guidelines_target="$site_target_dir/input/doc/guidelines.html" -export PATH="$prefix/src/poole:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin" +trap 'rm -rf "$site_target_dir"' EXIT + +if [ $# -gt 0 ] && [ "$1" = '-t' ] +then # Build test instance. + site_source_dir="$prefix/exported/site-test/web" + output_dir="$prefix/web/test" +else + site_source_dir="$prefix/exported/site/web" + output_dir="$prefix/web/site" +fi # -# Collect the pieces of the site. +# Collect the pieces of the site, and create a link to the output directory. # -rsync -aH --delete "$site_source_dir/" "$site_target_dir" +rsync -aH "$site_source_dir/" "$site_target_dir" rsync -aH "$man_source_dir/" "$man_target_dir" cp -p "$guidelines_source" "$guidelines_target" - -cd "$poole_dir" +ln -s "$output_dir" "$site_target_dir/output" # # See http://pythonhosted.org/Markdown/extensions/ for documentation on the # extensions. # -exec poole.py --build \ - --md-ext='extra' \ - --md-ext='headerid' \ - --md-ext='toc' \ - --md-ext='wikilinks' +poole.py --build \ + --md-ext='extra' \ + --md-ext='headerid' \ + --md-ext='toc' \ + --md-ext='wikilinks' \ + "$site_target_dir" diff --git a/bin/git-export b/bin/git-export index fc76081..06d832a 100755 --- a/bin/git-export +++ b/bin/git-export @@ -18,23 +18,38 @@ set -u export PATH='/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' export_prefix='/home/plugins/exported' -export_branch='master' myself=${0##*/} -if [ $# -lt 1 ] -then - echo >&2 "Usage: $myself ..." +usage() +{ + echo >&2 "Usage: $myself [-b ] ..." exit 2 -fi +} + +while getopts b: option +do + case $option in + b) + branch=$OPTARG + ;; + *) + usage + ;; + esac +done + +shift $((OPTIND - 1)) +test $# -ge 1 || usage for repository in "$@" do export_dir="$export_prefix/${repository##*/}" export_dir=${export_dir%.git} + export_dir="$export_dir${branch:+-$branch}" cd "$repository" rm -r -f "$export_dir" mkdir -p "$export_dir" - git archive "$export_branch" | tar -x -C "$export_dir" -f - + git archive "${branch:-master}" | tar -x -C "$export_dir" -f - cd "$OLDPWD" done diff --git a/etc/nginx/site.conf b/etc/nginx/site.conf index 432c051..9105591 100644 --- a/etc/nginx/site.conf +++ b/etc/nginx/site.conf @@ -14,8 +14,9 @@ # server { listen 443 ssl; + listen 444 ssl; server_name www.nagios-plugins.org; - root /home/plugins/web/site; + root /home/plugins/web/port-$server_port; # # Downloads and attachments. @@ -71,9 +72,15 @@ server { # # Redirect HTTP and all other domains to . +# Ditto for the test instance. # server { listen 80 default_server; listen 443 default_server ssl; return 301 https://www.nagios-plugins.org$request_uri; } +server { + listen 81 default_server; + listen 444 default_server ssl; + return 301 https://www.nagios-plugins.org:444$request_uri; +} diff --git a/libexec/post-receive.d/01-git-export b/libexec/post-receive.d/01-git-export index 37994e2..171f05f 100755 --- a/libexec/post-receive.d/01-git-export +++ b/libexec/post-receive.d/01-git-export @@ -19,4 +19,26 @@ export PATH='/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' prefix='/home/plugins' +# +# Check whether the "test" branch of the "site.git" repository has been updated. +# +if [ "${PWD##*/}" = 'site.git' ] +then + forty_zeros=$(printf '%.40d' '0') + + while read old new ref + do + if [ "$ref" = 'refs/heads/test' ] + then + if [ "$new" != "$forty_zeros" ] + then + "$prefix/bin/git-export" -b 'test' "$PWD" + else + rm -rf "$prefix/exported/site-test" + fi + break + fi + done +fi + exec "$prefix/bin/git-export" "$PWD" diff --git a/libexec/post-receive.d/04-build-web-site b/libexec/post-receive.d/04-build-web-site index 7c178cf..6338968 100755 --- a/libexec/post-receive.d/04-build-web-site +++ b/libexec/post-receive.d/04-build-web-site @@ -19,17 +19,37 @@ export PATH='/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' prefix='/home/plugins' repository=${PWD##*/} -web_repositories='nagios-plugins.git site.git' -web_branch='master' +plugins_repository='nagios-plugins.git' +web_repository='site.git' +prod_branch='master' +test_branch='test' +test_directory="$prefix/web/test" -for web_repository in $web_repositories -do - if [ "$repository" = "$web_repository" ] - then - while read old new ref - do - test "${ref#refs/heads/}" = "$web_branch" \ - && exec "$prefix/bin/build-web-site" >'/dev/null' - done - fi -done +if [ "$repository" = "$plugins_repository" ] \ + || [ "$repository" = "$web_repository" ] +then + forty_zeros=$(printf '%.40d' '0') + + while read old new ref + do + branch=${ref#refs/heads/} + + if [ "$branch" = "$prod_branch" ] + then + "$prefix/bin/build-web-site" >'/dev/null' + elif [ "$repository" = "$web_repository" ] \ + && [ "$branch" = "$test_branch" ] + then + if [ "$new" != "$forty_zeros" ] + then + "$prefix/bin/build-web-site" -t >'/dev/null' + else + rm -rf "$test_directory"/* + fi + cat >>"$test_directory/robots.txt" <<-'EOF' + User-agent: * + Disallow: / + EOF + fi + done +fi diff --git a/web/content/development.md b/web/content/development.md deleted file mode 100644 index ddff634..0000000 --- a/web/content/development.md +++ /dev/null @@ -1,60 +0,0 @@ -title: Development -parent: Home -menu-position: 5 ---- - -# Development - -## Software Repositories - -The [Nagios Plugins Development Team][team] takes care of three projects: - -* Nagios Plugins — the core bundle of standard plugins. -* Nagios::Plugin — a module used by plugins written in Perl. -* NagiosMIB — SNMP MIB files for traps sent from [Nagios][nagios]. - -These projects are maintained in separate repositories on [GitHub][github]: - -* - -Contributions are always welcome! If you'd like to provide patches, please -[fork][fork] the desired repository and submit a [pull request][pull]. In -case you're not familiar with Git, you might want to look into [Scott -Chacon][scott]'s [Pro Git][book] book available on the [Git web site][git] -first. - -## Development Guidelines - -Apart from the actual code, the [team][team] also maintains the official -[Nagios Plugin Development Guidelines][guidelines]. If you plan on -contributing to the standard plugins package, or writing your own checks, you -should read them! - -## Test Suite - -The Nagios Plugins bundle comes with an extensive test suite. Some of the -tests require [libtap][libtap], a copy of which is shipped with the Nagios -Plugins source tarball. In order to execute all tests, issue the following -commands: - - $ ./tools/setup # When building from Git. - $ ./configure --enable-libtap - $ make - $ make test - -Regular tests of the latest code are scheduled automatically on various -platforms, the results can be [viewed online][tests]. - -[team]: team.html "Nagios Plugins Development Team" -[nagios]: http://www.nagios.org/ "Nagios" -[github]: https://github.com/ "GitHub" -[fork]: https://help.github.com/articles/fork-a-repo "Fork Documentation" -[pull]: https://help.github.com/articles/using-pull-requests "Pull Request Documentation" -[scott]: http://scottchacon.com/ "Scott Chacon" -[book]: http://git-scm.com/book "Pro Git" -[git]: http://git-scm.com/ "Git" -[guidelines]: doc/guidelines.html "Nagios Plugin Development Guidelines" -[libtap]: http://jc.ngo.org.uk/trac-bin/trac.cgi/wiki/LibTap "LibTap Homepage" -[tests]: tests.html "Test Results" - - diff --git a/web/content/doc/extra-opts.md b/web/content/doc/extra-opts.md deleted file mode 100644 index 542c199..0000000 --- a/web/content/doc/extra-opts.md +++ /dev/null @@ -1,72 +0,0 @@ -title: Extra-Opts -parent: Documentation ---- - -# Extra-Opts - -Starting with the 1.4.12 release, Nagios C plugins support reading -configuration options from a configuration file. This needs to be enabled at -compile-time for now (`--enable-extra-opts`) and will be enabled by default in -the future. Perl plugins using the Nagios::Plugin module have this support -since version 0.16. - -You can easily know if a plugin supports *extra-opts* by checking the `--help` -output for the `--extra-opts` option. Once compiled in, the `--extra-opts` -plugin option allows reading extra options from a config file. The syntax for -the command is: - - --extra-opts=[section][@file] - -Some examples: - -* Read `special_opts` section of default config file: - - ./check_stuff --extra-opts=special_opts - -* Read `special_opts` section of `/etc/myconfig.ini`: - - ./check_stuff --extra-opts=special_opts@/etc/myconfig.ini - -* Read `check_stuff` section of `/etc/myconfig.ini`: - - ./check_stuff --extra-opts=@/etc/myconfig.ini - -* Read `check_stuff` section of default config file and use additional - arguments along with the other specified arguments (*extra-opts* arguments - are always processed first no matter where `--extra-opts` appears on the - command line): - - ./check_stuff --extra-opts -jk --some-other-opt - -The default nagios plugins file is used if no explicit filename is given. The -current standard locations checked are: - -* `/etc/nagios/plugins.ini` -* `/usr/local/nagios/etc/plugins.ini` -* `/usr/local/etc/nagios/plugins.ini` -* `/etc/opt/nagios/plugins.ini` -* `/etc/nagios-plugins.ini` -* `/usr/local/etc/nagios-plugins.ini` -* `/etc/opt/nagios-plugins.ini` - -To use a custom location, set a `NAGIOS_CONFIG_PATH` environment variable to -the set of directories that should be checked (this is a colon-separated list -just like `PATH`). The first `plugins.ini` or `nagios-plugins.ini` file found -in these directories will be used. - -To specify an option without parameter, you can use a key without value, but -the equal sign must remain, for example: - - allow-regex= - -Also note that repeated keys are allowed within sections just like you can -repeat arguments on the command line. - -The basic theory is that options specified in the configuration files are -substituted at the beginning of the command line. - -The initial use case for this functionality is for hiding passwords, so you do -not have to define sensitive credentials in the Nagios configuration and these -options won't appear in the command line. - - diff --git a/web/content/doc/faq/index.md b/web/content/doc/faq/index.md deleted file mode 100644 index 18584f2..0000000 --- a/web/content/doc/faq/index.md +++ /dev/null @@ -1,9 +0,0 @@ -title: FAQ -parent: Documentation ---- - -# FAQ - -The list of Frequently Asked Questions (FAQ) will come back soon. - - diff --git a/web/content/doc/index.md b/web/content/doc/index.md deleted file mode 100644 index 7b2d098..0000000 --- a/web/content/doc/index.md +++ /dev/null @@ -1,26 +0,0 @@ -title: Documentation -parent: Home -menu-position: 3 ---- - -# Documentation - -The Nagios Plugins documentation is split up into three parts: - -1. **[Manual Pages][man]** - This part provides documentation for each individual plugin. - -2. **[FAQ][faq]** - The FAQ section offers additional information on the Nagios Plugins - package as a whole. - -3. **[Presentation][video]** - A video that shows how to write your own check using the - [Nagios::Plugin][module] Perl module. - -[man]: doc/man/index.html "Manual Pages" -[faq]: doc/faq/index.html "Frequently Asked Questions" -[video]: doc/presentation.html "Nagios::Plugin Presentation" -[module]: http://search.cpan.org/dist/Nagios-Plugin/ "Nagios::Plugin" - - diff --git a/web/content/doc/man/index.md b/web/content/doc/man/index.md deleted file mode 100644 index d3c60c8..0000000 --- a/web/content/doc/man/index.md +++ /dev/null @@ -1,20 +0,0 @@ -title: Manpages -parent: Documentation ---- - -# Manual Pages - -There are two levels of documentation for each plugin: - -1. **`check_dummy --usage`** - Basic usage, with the most common command line options. - -2. **`check_dummy --help`** - More text, listing all the options available for a plugin. This text is - usually translated. - -You can also access the most recent `--help` output for each plugin online: - - - - diff --git a/web/content/doc/news.txt b/web/content/doc/news.txt deleted file mode 120000 index f5208d5..0000000 --- a/web/content/doc/news.txt +++ /dev/null @@ -1 +0,0 @@ -/home/plugins/exported/nagios-plugins/NEWS \ No newline at end of file diff --git a/web/content/doc/presentation.md b/web/content/doc/presentation.md deleted file mode 100644 index 458b101..0000000 --- a/web/content/doc/presentation.md +++ /dev/null @@ -1,26 +0,0 @@ -title: Presentation -parent: Documentation ---- - -# Presentation - -Former Nagios Plugins team lead Ton Voon gave a 15-minutes lightning talk -about the Nagios Plugins at [FOSDEM][fosdem]. He made a screencast of [the -presentation][talk] in Quicktime format (35 MB): - -* [fosdem.mov][screencast] - -The `check_weather` script demonstrated in the screencast is also available -for download, with additional comments: - -* [check_weather.pl][script] - -Both files are also [available via FTP][mirror]. - -[fosdem]: https://fosdem.org/ "FOSDEM" -[talk]: https://archive.fosdem.org/2007/schedule/events/lt_nagios_plugins.html "Ton's Talk" -[screencast]: https://www.nagios-plugins.org/download/presentation/fosdem.mov "Screencast" -[script]: https://www.nagios-plugins.org/download/presentation/check_weather.pl "check_weather" -[mirror]: ftp://ftp.fu-berlin.de/unix/network/nagios-plugins/presentation/ "FTP Mirror" - - diff --git a/web/content/doc/release-notes/1-5.md b/web/content/doc/release-notes/1-5.md deleted file mode 100644 index b8f3457..0000000 --- a/web/content/doc/release-notes/1-5.md +++ /dev/null @@ -1,95 +0,0 @@ -title: Version 1.5 -parent: Download ---- - -# Version 1.5 Released - -*Wednesday, October 2, 2013* - -The Nagios Plugins Development Team is proud to announce version 1.5 of the -Nagios Plugins! This release comes with the new `check_dbi` plugin written by -Sebastian Harl, and includes lots of enhancements and fixes provided by more -than forty contributors. Many thanks to all of you! - -Special kudos go to Sven Nierlein for fixing numerous bugs, reviewing many -pull requests, bringing our test suite back into shape, and setting up -automated tests on a variety of platforms. This helped us spotting lots of -bugs *before* the release. Let me also thank Ton Voon for doing the -unenviable work of updating the bundled Perl modules; and our newest team -member Jan Wagner for all his help with patch review. - -See below for a list of major changes. Note that the new `check_http` version -introduces two minor backwards incompatibilities mentioned at the end of that -list, so please be sure to check whether they might affect you. - -You can get the tarball from our [download page][download]. - -## Enhancements - -* New `check_dbi` plugin for checking an (SQL) database using DBI -* Let OpenSSL load its configuration file (see the `OPENSSL_config(3)` man - page) -* Add performance data to `check_apt` -* Add performance data to `check_procs` -* Added `-4`/`-6` options to `check_dig` -* New `check_oracle` `--connect` option to perform real login -* New `check_nagios` `-t` option to override the default timeout -* New `check_disk` `-f`/`--freespace-ignore-reserved` option to ignore space - reserved for root -* New `check_disk` `-N`/`--include-type` option to limit the filesystem types - to check -* Allow for building the plugins in parallel -* Add `--without-{dbi,ldap,radius}` options to `./configure` -* Made Verbose output of `check_sensors` compliant -* New switch `-E`/`--extended-perfdata` for `check_http` to print additional - performance data -* New `check_http` `-d` option to specify a string to expect within the - response headers -* New `check_http` `-J`/`-K` options for client certificate authentication - support -* Add support for executing queries to `check_pgsql` -* Let `check_pgsql` accept a UNIX socket directory as hostname -* New `check_pgsql` `-o` option to specify additional connection parameters -* New `check_fping` `-S` option to specify the source IP address -* New `check_fping` `-I` option to specify the interface to bind to -* Let `check_fping` support IPv6 -* New `check_procs` `-k` option to ignore kernel threads (on Linux) -* Let `check_procs` use `/proc//exe` (if available) instead of - `getpid(2)`, unless `-T` is specified -* Let `check_mysql` support SSL -* Let `check_mysql` add perfromance metrics for all checks -* New `check_mysql` `-f` option to specify a client options file -* New `check_mysql` `-g` option to specify a client options group -* New `check_snmp` `--offset` option to allow for adding/substracting an - offset value to sensor data -* Let `check_snmp` support an arbitrary number of OIDs -* Let `check_ide_smart` support NetBSD - -## Fixes - -* Change the MAIL FROM command generated by `check_smtp` to be RFC compliant -* Fix compilation of `check_http` without SSL support -* Fix `check_snmp` reversed threshold ranges (backward-compatibility) -* Fix `check_snmp` memory violation when using more than 8 OIDs -* Fix `check_apt` security regular expression -* Fix `check_http` handling extra header (`-k`) containing semicolons -* Fix `check_apt` handling unknown exit codes from apt-get -* Fix deprecated imports of `check_nmap.py` - -## Warnings - -* `check_http` behaviour of `-k`/`--header` changed since it does not seperate - multiple headers by semicolons anymore. Use multiple `-k` switches instead. -* `check_http`'s `--proxy_authorization` option is now called - `--proxy-authorization` (it was always documented this way) -* The [contrib directory][contrib] has been removed. These days, sites such - as [Nagios Exchange][nag-exchange] and [Monitoring Exchange][mon-exchange] - serve as much better places for publishing plugins not maintained by the - Nagios Plugins Development Team. - -[download]: /download.html -[contrib]: https://github.com/nagios-plugins/nagios-plugins/tree/7a80e27fb38b26713ac5a1f6810b99519a31dbf3/contrib -[nag-exchange]: http://exchange.nagios.org/ -[mon-exchange]: https://www.monitoringexchange.org/ - - diff --git a/web/content/download.md b/web/content/download.md deleted file mode 100644 index 4d46cf5..0000000 --- a/web/content/download.md +++ /dev/null @@ -1,61 +0,0 @@ -title: Download -parent: Home -menu-position: 2 ---- - -# Download - -## Nagios Plugins - -### Stable Release - -The current stable Nagios Plugins release is , see the -[release announcement][announcement]. You can grab the source tarball from -here: - -* [nagios-plugins-.tar.gz][tar1] ([sum][sum1]) - -See the [release history][news] for an overview of changes between earlier -versions. Old releases can be found in the [download area][download]. -There's also an [FTP mirror][mirror] available. - -### Development Snapshot - -The current development shapshot is available here: - -* [nagios-plugins-master.tar.gz][tar2] ([sum][sum2]) - -It is rebuilt from the `master` branch of the [Nagios Plugins -repository][repository] whenever that branch changes. Snapshots built from -other development branches are also available in the [snapshot -directory][snapshot] of the [download area][download]. - -## Nagios::Plugin - -The Nagios::Plugin module is available from [CPAN][cpan]: - -* - -## NagiosMIB - -The current NagiosMIB tarball is available from here: - -* [nagiosmib-.tar.gz][tar3] ([sum][sum3]) - -Old versions can be found in the [download area][download]. - -[announcement]: {{release_notes}} "Release Announcement" -[mirror]: ftp://ftp.fu-berlin.de/unix/network/nagios-plugins/ "FTP Mirror" -[repository]: https://github.com/nagios-plugins/nagios-plugins "Nagios Plugins Git Repository" -[news]: doc/news.txt "NEWS" -[download]: download/ "Download Area" -[snapshot]: download/snapshot/ "Snapshot Directory" -[cpan]: http://www.cpan.org/ "CPAN" -[tar1]: download/nagios-plugins-{{plugins_release}}.tar.gz "Current Release Tarball" -[sum1]: download/nagios-plugins-{{plugins_release}}.tar.gz.sha1 "SHA-1 Sum" -[tar2]: download/snapshot/nagios-plugins-master.tar.gz "Current Snapshot Tarball" -[sum2]: download/snapshot/nagios-plugins-master.tar.gz.sha1 "SHA-1 Sum" -[tar3]: download/nagiosmib-{{mib_release}}.tar.gz "Current NagiosMIB Tarball" -[sum3]: download/nagiosmib-{{mib_release}}.tar.gz.sha1 "SHA-1 Sum" - - diff --git a/web/content/impressum.md b/web/content/impressum.md deleted file mode 100644 index 1fba23b..0000000 --- a/web/content/impressum.md +++ /dev/null @@ -1,27 +0,0 @@ -title: Impressum -parent: Home ---- - -# Impressum - -*The following information (“Impressum”) is [required][law] under German law.* - -Responsible for the content of this site: - -Holger Weiß -Gutsmuthsstr. 19 -12163 Berlin -Germany - -**Phone:** -  +49 30 61286685 - -**Email:** -  holger@zedat.fu-berlin.de - -**Jabber:** -  holger@jabber.fu-berlin.de - -[law]: http://www.gesetze-im-internet.de/tmg/__5.html - - diff --git a/web/content/index.md b/web/content/index.md deleted file mode 100644 index 8ab186c..0000000 --- a/web/content/index.md +++ /dev/null @@ -1,49 +0,0 @@ -title: Home -menu-position: 1 ---- - -# The Nagios Plugins Project - -We, the [Nagios Plugins Development Team][team], maintain a bundle of more -than fifty standard plugins for [Nagios][nagios], [Icinga][icinga], -[Shinken][shinken], and other monitoring applications that use the -straightforward plugin interface [originally invented][history] by the [Nagios -folks][folks]. Each plugin is a stand-alone command line tool that provides a -specific type of check. Typically, your monitoring software runs these -plugins to determine the current status of hosts and services on your network. - -Some of the provided plugins let you check local system metrics (such as [load -averages][load], [processes][procs], or [disk space usage][disk]), others use -various network protocols (such as [ICMP][icmp], [SNMP][snmp], or -[HTTP][http]) to perform remote checks. This allows for checking a large -number of common host and service types. For more specific needs, thousands -of community-contributed plugins can be found on sites such as [Nagios -Exchange][nagex] or [Monitoring Exchange][monex]. - -In addition to the core plugins bundle, we maintain a [Perl module][module] -that makes it [easy][presentation] to write your own plugin. We also take -care of an SNMP MIB used for traps sent from Nagios, and of the [Nagios Plugin -Development Guidelines][guidelines]. - -You can get the latest releases from the [download page][download]. - -[team]: team.html "Nagios Plugins Development Team" -[nagios]: http://www.nagios.org/ "Nagios" -[icinga]: https://www.icinga.org/ "Icinga" -[shinken]: http://www.shinken-monitoring.org/ "Shinken" -[history]: http://www.nagios.org/about/history "Nagios (Plugins) History" -[folks]: http://www.nagios.org/about/team "Nagios Team" -[load]: doc/man/check_load.html "check_load" -[procs]: doc/man/check_procs.html "check_procs" -[disk]: doc/man/check_disk.html "check_disk" -[icmp]: doc/man/check_icmp.html "check_icmp" -[snmp]: doc/man/check_snmp.html "check_snmp" -[http]: doc/man/check_http.html "check_http" -[nagex]: http://exchange.nagios.org/directory/Plugins "Plugins on Nagios Exchange" -[monex]: https://www.monitoringexchange.org/inventory/Check-Plugins "Plugins on Monitoring Exchange" -[module]: http://search.cpan.org/dist/Nagios-Plugin/ "Nagios::Plugin Module" -[guidelines]: doc/guidelines.html "Nagios Plugin Development Guidelines" -[presentation]: doc/presentation.html "Nagios::Plugin Presentation" -[download]: download.html "Download" - - diff --git a/web/content/media/favicon.ico b/web/content/media/favicon.ico deleted file mode 100644 index 76ae569..0000000 Binary files a/web/content/media/favicon.ico and /dev/null differ diff --git a/web/content/media/github.png b/web/content/media/github.png deleted file mode 100644 index 1e19c21..0000000 Binary files a/web/content/media/github.png and /dev/null differ diff --git a/web/content/media/plugins.css b/web/content/media/plugins.css deleted file mode 100644 index 552284f..0000000 --- a/web/content/media/plugins.css +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Nagios Plugins style sheet. - * - * Color scheme: - * - * - See . - * - Additionally, we use the CSS color "dimgray" (#696969) for stuff like the - * breadcrumb navigation and the footer. - */ - -@import url("https://fonts.googleapis.com/css?family=Bitter"); -@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro"); -@import url("https://fonts.googleapis.com/css?family=Source+Code+Pro"); - -body { - max-width: 45em; - margin: 1em auto; - font-family: "Source Sans Pro", sans-serif; - color: #000; - text-rendering: optimizeLegibility; - -webkit-hyphens: auto; - -moz-hyphens: auto; - -ms-hyphens: auto; - -o-hyphens: auto; - hyphens: auto; -} - -h1, h2, h3, h4, h5, h6 { - font-family: "Bitter", serif; - color: #004e8f; -} - -code, kbd { - font-family: "Source Code Pro", monospace; - white-space: pre; -} - -pre { - font-family: "Source Code Pro", monospace; - font-size: small; -} - -div#breadcrumb { - padding: 1em 1em 0.2em; -} - -div#content { - padding: 0.2em 1em 1em; -} - -div#footer { - padding: 1em; -} - -div#menu { - padding: 0.6em 0 0.6em 0; - background-color: #1b476b; - font-weight: bold; -} - -div#menu span { - padding: 0.6em; -} - -div#menu span#current { - color: #fff; - background-color: #5a95c7; -} - -div#menu a { - color: #fff; - text-decoration: none; - -webkit-transition-property: color; - -moz-transition-property: color; - -ms-transition-property: color; - -o-transition-property: color; - transition-property: color; - -webkit-transition-duration: 0.3s; - -moz-transition-duration: 0.3s; - -ms-transition-duration: 0.3s; - -o-transition-duration: 0.3s; - transition-duration: 0.3s; -} - -div#menu a:hover { - color: #eeb76b; -} - -table /* Nginx Fancy Index. */ { - font-family: "Source Code Pro", monospace; - font-size: small; -} - -div#content a, -table a { - color: #3283c7; - text-decoration: none; - border-bottom: 1px dotted #3283c7; -} - -div#content a:hover, -table a:hover { - color: #3283c7; /* Overwrite Fancy Index CSS. */ - border-bottom: 1px solid #3283c7; -} - -div#breadcrumb { - color: #696969; - font-size: small; -} - -div#breadcrumb span#release { - float: right; - font-weight: bold; -} - -div#footer { - color: #696969; - text-align: center; - font-size: small; - line-height: 150%; -} - -div#breadcrumb a, -div#footer a { - color: #696969; - text-decoration: none; - border-bottom: 1px dotted #696969; -} - -div#breadcrumb a:hover, -div#footer a:hover { - border-bottom: 1px solid #696969; -} diff --git a/web/content/support.md b/web/content/support.md deleted file mode 100644 index c6d8b3d..0000000 --- a/web/content/support.md +++ /dev/null @@ -1,82 +0,0 @@ -title: Support -parent: Home -menu-position: 4 ---- - -# Support - -## Bug Tracker - -If you believe you found a bug, you might want to [check][search] whether it -has been reported to our [issue tracker][tracker] already. Please also try -the [current snapshot][snapshot], as the bug may be fixed in the latest code. -Otherwise, please submit a [new issue][new] and include all information that -might be relevant! - -## Mailing Lists - - - - -There are three mailing lists for the Nagios Plugins: - -* General discussion and support: **** - [Subscribe][help-sub] | [Archive][help-arch] | [Gmane][help-gmane] - -* Development-related issues: **** - [Subscribe][devel-sub] | [Archive][devel-arch] | [Gmane][devel-gmane] - -* Git commits (read-only): **** - [Subscribe][commits-sub] | [Archive][commits-arch] | [Gmane][commits-gmane] - - -Be aware that these mailing lists are read by volunteers, so responses may -take time, if at all. - -## IRC - -Plugin issues are usually discussed in the [#Nagios][nagios-irc] or -[#Icinga][icinga-irc] channels on [freenode][freenode]. Some of the -developers also hang around in [#Nagios-Devel][nagios-devel-irc]. - -[snapshot]: download/snapshot/nagios-plugins-master.tar.gz "Current Snapshot Tarball" -[search]: https://github.com/nagios-plugins/nagios-plugins/search?type=Issues "Issue Tracker Search" -[tracker]: https://github.com/nagios-plugins/nagios-plugins/issues "Issue Tracker" -[new]: https://github.com/nagios-plugins/nagios-plugins/issues/new "New Issue" -[freenode]: http://freenode.net/ "Freenode Network" -[icinga-irc]: http://webchat.freenode.net/?channels=icinga -[nagios-irc]: http://webchat.freenode.net/?channels=nagios -[nagios-devel-irc]: http://webchat.freenode.net/?channels=nagios-devel -[help-sub]: https://lists.sourceforge.net/lists/listinfo/nagiosplug-help -[help-arch]: https://sourceforge.net/p/nagiosplug/mailman/nagiosplug-help -[help-gmane]: http://dir.gmane.org/gmane.network.nagios.plugins -[devel-sub]: https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel -[devel-arch]: https://sourceforge.net/p/nagiosplug/mailman/nagiosplug-devel -[devel-gmane]: http://dir.gmane.org/gmane.network.nagios.plugins.devel -[commits-sub]: https://lists.sourceforge.net/lists/listinfo/nagiosplug-checkins -[commits-arch]: https://sourceforge.net/p/nagiosplug/mailman/nagiosplug-checkins -[commits-gmane]: http://dir.gmane.org/gmane.network.nagios.plugins.cvs -[announce-sub]: /fixme -[announce-arch]: /fixme -[announce-gmane]: /fixme - - diff --git a/web/content/team.md b/web/content/team.md deleted file mode 100644 index f9b0a5d..0000000 --- a/web/content/team.md +++ /dev/null @@ -1,33 +0,0 @@ -title: Team -parent: Home ---- - -# Nagios Plugins Development Team - -The Nagios Plugins are maintained by the following group of developers: - -* Holger Weiß *(Patch Review, Development, Team Lead)* -* Jan Wagner *(Patch Review, Development)* -* Matthias Eble *(Patch Review, Development)* -* Sven Nierlein *(Patch Review, Development)* -* Thomas Guyot-Sionnest *(Patch Review, Development)* -* Ton Voon *(Patch Review, Development)* - -Previous team members: - -* Benoit Mortier -* Eric Stanley -* Ethan Galstad -* Gavin Carr -* Harper Mann -* Jeremy T. Bouse -* Karl DeBisschop -* Matthew Kent -* Michael Wirtgen -* Nathan Vonnahme -* Peter Bray -* Sean Finney -* Stanley Hopcroft -* Subhendu Ghosh - - diff --git a/web/content/tests.md b/web/content/tests.md deleted file mode 100644 index bad78a9..0000000 --- a/web/content/tests.md +++ /dev/null @@ -1,21 +0,0 @@ -title: Test Results -parent: Development ---- - -# Test Results - -The following table lists the latest automated test results for various -platforms. The build and test logs can be viewed by following the -corresponding links. - - -* [Test results][results] - - -Thanks go to Sven Nierlein for setting up the tests and to [his -employer][consol] for providing the resources. - -[results]: http://labs.consol.de/nagios-plugins/logs/HEADER.html "Test Results" -[consol]: http://www.consol.com/ "ConSol Software GmbH" - - diff --git a/web/input/development.md b/web/input/development.md new file mode 100644 index 0000000..ddff634 --- /dev/null +++ b/web/input/development.md @@ -0,0 +1,60 @@ +title: Development +parent: Home +menu-position: 5 +--- + +# Development + +## Software Repositories + +The [Nagios Plugins Development Team][team] takes care of three projects: + +* Nagios Plugins — the core bundle of standard plugins. +* Nagios::Plugin — a module used by plugins written in Perl. +* NagiosMIB — SNMP MIB files for traps sent from [Nagios][nagios]. + +These projects are maintained in separate repositories on [GitHub][github]: + +* + +Contributions are always welcome! If you'd like to provide patches, please +[fork][fork] the desired repository and submit a [pull request][pull]. In +case you're not familiar with Git, you might want to look into [Scott +Chacon][scott]'s [Pro Git][book] book available on the [Git web site][git] +first. + +## Development Guidelines + +Apart from the actual code, the [team][team] also maintains the official +[Nagios Plugin Development Guidelines][guidelines]. If you plan on +contributing to the standard plugins package, or writing your own checks, you +should read them! + +## Test Suite + +The Nagios Plugins bundle comes with an extensive test suite. Some of the +tests require [libtap][libtap], a copy of which is shipped with the Nagios +Plugins source tarball. In order to execute all tests, issue the following +commands: + + $ ./tools/setup # When building from Git. + $ ./configure --enable-libtap + $ make + $ make test + +Regular tests of the latest code are scheduled automatically on various +platforms, the results can be [viewed online][tests]. + +[team]: team.html "Nagios Plugins Development Team" +[nagios]: http://www.nagios.org/ "Nagios" +[github]: https://github.com/ "GitHub" +[fork]: https://help.github.com/articles/fork-a-repo "Fork Documentation" +[pull]: https://help.github.com/articles/using-pull-requests "Pull Request Documentation" +[scott]: http://scottchacon.com/ "Scott Chacon" +[book]: http://git-scm.com/book "Pro Git" +[git]: http://git-scm.com/ "Git" +[guidelines]: doc/guidelines.html "Nagios Plugin Development Guidelines" +[libtap]: http://jc.ngo.org.uk/trac-bin/trac.cgi/wiki/LibTap "LibTap Homepage" +[tests]: tests.html "Test Results" + + diff --git a/web/input/doc/extra-opts.md b/web/input/doc/extra-opts.md new file mode 100644 index 0000000..542c199 --- /dev/null +++ b/web/input/doc/extra-opts.md @@ -0,0 +1,72 @@ +title: Extra-Opts +parent: Documentation +--- + +# Extra-Opts + +Starting with the 1.4.12 release, Nagios C plugins support reading +configuration options from a configuration file. This needs to be enabled at +compile-time for now (`--enable-extra-opts`) and will be enabled by default in +the future. Perl plugins using the Nagios::Plugin module have this support +since version 0.16. + +You can easily know if a plugin supports *extra-opts* by checking the `--help` +output for the `--extra-opts` option. Once compiled in, the `--extra-opts` +plugin option allows reading extra options from a config file. The syntax for +the command is: + + --extra-opts=[section][@file] + +Some examples: + +* Read `special_opts` section of default config file: + + ./check_stuff --extra-opts=special_opts + +* Read `special_opts` section of `/etc/myconfig.ini`: + + ./check_stuff --extra-opts=special_opts@/etc/myconfig.ini + +* Read `check_stuff` section of `/etc/myconfig.ini`: + + ./check_stuff --extra-opts=@/etc/myconfig.ini + +* Read `check_stuff` section of default config file and use additional + arguments along with the other specified arguments (*extra-opts* arguments + are always processed first no matter where `--extra-opts` appears on the + command line): + + ./check_stuff --extra-opts -jk --some-other-opt + +The default nagios plugins file is used if no explicit filename is given. The +current standard locations checked are: + +* `/etc/nagios/plugins.ini` +* `/usr/local/nagios/etc/plugins.ini` +* `/usr/local/etc/nagios/plugins.ini` +* `/etc/opt/nagios/plugins.ini` +* `/etc/nagios-plugins.ini` +* `/usr/local/etc/nagios-plugins.ini` +* `/etc/opt/nagios-plugins.ini` + +To use a custom location, set a `NAGIOS_CONFIG_PATH` environment variable to +the set of directories that should be checked (this is a colon-separated list +just like `PATH`). The first `plugins.ini` or `nagios-plugins.ini` file found +in these directories will be used. + +To specify an option without parameter, you can use a key without value, but +the equal sign must remain, for example: + + allow-regex= + +Also note that repeated keys are allowed within sections just like you can +repeat arguments on the command line. + +The basic theory is that options specified in the configuration files are +substituted at the beginning of the command line. + +The initial use case for this functionality is for hiding passwords, so you do +not have to define sensitive credentials in the Nagios configuration and these +options won't appear in the command line. + + diff --git a/web/input/doc/faq/index.md b/web/input/doc/faq/index.md new file mode 100644 index 0000000..18584f2 --- /dev/null +++ b/web/input/doc/faq/index.md @@ -0,0 +1,9 @@ +title: FAQ +parent: Documentation +--- + +# FAQ + +The list of Frequently Asked Questions (FAQ) will come back soon. + + diff --git a/web/input/doc/index.md b/web/input/doc/index.md new file mode 100644 index 0000000..7b2d098 --- /dev/null +++ b/web/input/doc/index.md @@ -0,0 +1,26 @@ +title: Documentation +parent: Home +menu-position: 3 +--- + +# Documentation + +The Nagios Plugins documentation is split up into three parts: + +1. **[Manual Pages][man]** + This part provides documentation for each individual plugin. + +2. **[FAQ][faq]** + The FAQ section offers additional information on the Nagios Plugins + package as a whole. + +3. **[Presentation][video]** + A video that shows how to write your own check using the + [Nagios::Plugin][module] Perl module. + +[man]: doc/man/index.html "Manual Pages" +[faq]: doc/faq/index.html "Frequently Asked Questions" +[video]: doc/presentation.html "Nagios::Plugin Presentation" +[module]: http://search.cpan.org/dist/Nagios-Plugin/ "Nagios::Plugin" + + diff --git a/web/input/doc/man/index.md b/web/input/doc/man/index.md new file mode 100644 index 0000000..d3c60c8 --- /dev/null +++ b/web/input/doc/man/index.md @@ -0,0 +1,20 @@ +title: Manpages +parent: Documentation +--- + +# Manual Pages + +There are two levels of documentation for each plugin: + +1. **`check_dummy --usage`** + Basic usage, with the most common command line options. + +2. **`check_dummy --help`** + More text, listing all the options available for a plugin. This text is + usually translated. + +You can also access the most recent `--help` output for each plugin online: + + + + diff --git a/web/input/doc/news.txt b/web/input/doc/news.txt new file mode 120000 index 0000000..f5208d5 --- /dev/null +++ b/web/input/doc/news.txt @@ -0,0 +1 @@ +/home/plugins/exported/nagios-plugins/NEWS \ No newline at end of file diff --git a/web/input/doc/presentation.md b/web/input/doc/presentation.md new file mode 100644 index 0000000..458b101 --- /dev/null +++ b/web/input/doc/presentation.md @@ -0,0 +1,26 @@ +title: Presentation +parent: Documentation +--- + +# Presentation + +Former Nagios Plugins team lead Ton Voon gave a 15-minutes lightning talk +about the Nagios Plugins at [FOSDEM][fosdem]. He made a screencast of [the +presentation][talk] in Quicktime format (35 MB): + +* [fosdem.mov][screencast] + +The `check_weather` script demonstrated in the screencast is also available +for download, with additional comments: + +* [check_weather.pl][script] + +Both files are also [available via FTP][mirror]. + +[fosdem]: https://fosdem.org/ "FOSDEM" +[talk]: https://archive.fosdem.org/2007/schedule/events/lt_nagios_plugins.html "Ton's Talk" +[screencast]: https://www.nagios-plugins.org/download/presentation/fosdem.mov "Screencast" +[script]: https://www.nagios-plugins.org/download/presentation/check_weather.pl "check_weather" +[mirror]: ftp://ftp.fu-berlin.de/unix/network/nagios-plugins/presentation/ "FTP Mirror" + + diff --git a/web/input/doc/release-notes/1-5.md b/web/input/doc/release-notes/1-5.md new file mode 100644 index 0000000..b8f3457 --- /dev/null +++ b/web/input/doc/release-notes/1-5.md @@ -0,0 +1,95 @@ +title: Version 1.5 +parent: Download +--- + +# Version 1.5 Released + +*Wednesday, October 2, 2013* + +The Nagios Plugins Development Team is proud to announce version 1.5 of the +Nagios Plugins! This release comes with the new `check_dbi` plugin written by +Sebastian Harl, and includes lots of enhancements and fixes provided by more +than forty contributors. Many thanks to all of you! + +Special kudos go to Sven Nierlein for fixing numerous bugs, reviewing many +pull requests, bringing our test suite back into shape, and setting up +automated tests on a variety of platforms. This helped us spotting lots of +bugs *before* the release. Let me also thank Ton Voon for doing the +unenviable work of updating the bundled Perl modules; and our newest team +member Jan Wagner for all his help with patch review. + +See below for a list of major changes. Note that the new `check_http` version +introduces two minor backwards incompatibilities mentioned at the end of that +list, so please be sure to check whether they might affect you. + +You can get the tarball from our [download page][download]. + +## Enhancements + +* New `check_dbi` plugin for checking an (SQL) database using DBI +* Let OpenSSL load its configuration file (see the `OPENSSL_config(3)` man + page) +* Add performance data to `check_apt` +* Add performance data to `check_procs` +* Added `-4`/`-6` options to `check_dig` +* New `check_oracle` `--connect` option to perform real login +* New `check_nagios` `-t` option to override the default timeout +* New `check_disk` `-f`/`--freespace-ignore-reserved` option to ignore space + reserved for root +* New `check_disk` `-N`/`--include-type` option to limit the filesystem types + to check +* Allow for building the plugins in parallel +* Add `--without-{dbi,ldap,radius}` options to `./configure` +* Made Verbose output of `check_sensors` compliant +* New switch `-E`/`--extended-perfdata` for `check_http` to print additional + performance data +* New `check_http` `-d` option to specify a string to expect within the + response headers +* New `check_http` `-J`/`-K` options for client certificate authentication + support +* Add support for executing queries to `check_pgsql` +* Let `check_pgsql` accept a UNIX socket directory as hostname +* New `check_pgsql` `-o` option to specify additional connection parameters +* New `check_fping` `-S` option to specify the source IP address +* New `check_fping` `-I` option to specify the interface to bind to +* Let `check_fping` support IPv6 +* New `check_procs` `-k` option to ignore kernel threads (on Linux) +* Let `check_procs` use `/proc//exe` (if available) instead of + `getpid(2)`, unless `-T` is specified +* Let `check_mysql` support SSL +* Let `check_mysql` add perfromance metrics for all checks +* New `check_mysql` `-f` option to specify a client options file +* New `check_mysql` `-g` option to specify a client options group +* New `check_snmp` `--offset` option to allow for adding/substracting an + offset value to sensor data +* Let `check_snmp` support an arbitrary number of OIDs +* Let `check_ide_smart` support NetBSD + +## Fixes + +* Change the MAIL FROM command generated by `check_smtp` to be RFC compliant +* Fix compilation of `check_http` without SSL support +* Fix `check_snmp` reversed threshold ranges (backward-compatibility) +* Fix `check_snmp` memory violation when using more than 8 OIDs +* Fix `check_apt` security regular expression +* Fix `check_http` handling extra header (`-k`) containing semicolons +* Fix `check_apt` handling unknown exit codes from apt-get +* Fix deprecated imports of `check_nmap.py` + +## Warnings + +* `check_http` behaviour of `-k`/`--header` changed since it does not seperate + multiple headers by semicolons anymore. Use multiple `-k` switches instead. +* `check_http`'s `--proxy_authorization` option is now called + `--proxy-authorization` (it was always documented this way) +* The [contrib directory][contrib] has been removed. These days, sites such + as [Nagios Exchange][nag-exchange] and [Monitoring Exchange][mon-exchange] + serve as much better places for publishing plugins not maintained by the + Nagios Plugins Development Team. + +[download]: /download.html +[contrib]: https://github.com/nagios-plugins/nagios-plugins/tree/7a80e27fb38b26713ac5a1f6810b99519a31dbf3/contrib +[nag-exchange]: http://exchange.nagios.org/ +[mon-exchange]: https://www.monitoringexchange.org/ + + diff --git a/web/input/download.md b/web/input/download.md new file mode 100644 index 0000000..4d46cf5 --- /dev/null +++ b/web/input/download.md @@ -0,0 +1,61 @@ +title: Download +parent: Home +menu-position: 2 +--- + +# Download + +## Nagios Plugins + +### Stable Release + +The current stable Nagios Plugins release is , see the +[release announcement][announcement]. You can grab the source tarball from +here: + +* [nagios-plugins-.tar.gz][tar1] ([sum][sum1]) + +See the [release history][news] for an overview of changes between earlier +versions. Old releases can be found in the [download area][download]. +There's also an [FTP mirror][mirror] available. + +### Development Snapshot + +The current development shapshot is available here: + +* [nagios-plugins-master.tar.gz][tar2] ([sum][sum2]) + +It is rebuilt from the `master` branch of the [Nagios Plugins +repository][repository] whenever that branch changes. Snapshots built from +other development branches are also available in the [snapshot +directory][snapshot] of the [download area][download]. + +## Nagios::Plugin + +The Nagios::Plugin module is available from [CPAN][cpan]: + +* + +## NagiosMIB + +The current NagiosMIB tarball is available from here: + +* [nagiosmib-.tar.gz][tar3] ([sum][sum3]) + +Old versions can be found in the [download area][download]. + +[announcement]: {{release_notes}} "Release Announcement" +[mirror]: ftp://ftp.fu-berlin.de/unix/network/nagios-plugins/ "FTP Mirror" +[repository]: https://github.com/nagios-plugins/nagios-plugins "Nagios Plugins Git Repository" +[news]: doc/news.txt "NEWS" +[download]: download/ "Download Area" +[snapshot]: download/snapshot/ "Snapshot Directory" +[cpan]: http://www.cpan.org/ "CPAN" +[tar1]: download/nagios-plugins-{{plugins_release}}.tar.gz "Current Release Tarball" +[sum1]: download/nagios-plugins-{{plugins_release}}.tar.gz.sha1 "SHA-1 Sum" +[tar2]: download/snapshot/nagios-plugins-master.tar.gz "Current Snapshot Tarball" +[sum2]: download/snapshot/nagios-plugins-master.tar.gz.sha1 "SHA-1 Sum" +[tar3]: download/nagiosmib-{{mib_release}}.tar.gz "Current NagiosMIB Tarball" +[sum3]: download/nagiosmib-{{mib_release}}.tar.gz.sha1 "SHA-1 Sum" + + diff --git a/web/input/impressum.md b/web/input/impressum.md new file mode 100644 index 0000000..1fba23b --- /dev/null +++ b/web/input/impressum.md @@ -0,0 +1,27 @@ +title: Impressum +parent: Home +--- + +# Impressum + +*The following information (“Impressum”) is [required][law] under German law.* + +Responsible for the content of this site: + +Holger Weiß +Gutsmuthsstr. 19 +12163 Berlin +Germany + +**Phone:** +  +49 30 61286685 + +**Email:** +  holger@zedat.fu-berlin.de + +**Jabber:** +  holger@jabber.fu-berlin.de + +[law]: http://www.gesetze-im-internet.de/tmg/__5.html + + diff --git a/web/input/index.md b/web/input/index.md new file mode 100644 index 0000000..8ab186c --- /dev/null +++ b/web/input/index.md @@ -0,0 +1,49 @@ +title: Home +menu-position: 1 +--- + +# The Nagios Plugins Project + +We, the [Nagios Plugins Development Team][team], maintain a bundle of more +than fifty standard plugins for [Nagios][nagios], [Icinga][icinga], +[Shinken][shinken], and other monitoring applications that use the +straightforward plugin interface [originally invented][history] by the [Nagios +folks][folks]. Each plugin is a stand-alone command line tool that provides a +specific type of check. Typically, your monitoring software runs these +plugins to determine the current status of hosts and services on your network. + +Some of the provided plugins let you check local system metrics (such as [load +averages][load], [processes][procs], or [disk space usage][disk]), others use +various network protocols (such as [ICMP][icmp], [SNMP][snmp], or +[HTTP][http]) to perform remote checks. This allows for checking a large +number of common host and service types. For more specific needs, thousands +of community-contributed plugins can be found on sites such as [Nagios +Exchange][nagex] or [Monitoring Exchange][monex]. + +In addition to the core plugins bundle, we maintain a [Perl module][module] +that makes it [easy][presentation] to write your own plugin. We also take +care of an SNMP MIB used for traps sent from Nagios, and of the [Nagios Plugin +Development Guidelines][guidelines]. + +You can get the latest releases from the [download page][download]. + +[team]: team.html "Nagios Plugins Development Team" +[nagios]: http://www.nagios.org/ "Nagios" +[icinga]: https://www.icinga.org/ "Icinga" +[shinken]: http://www.shinken-monitoring.org/ "Shinken" +[history]: http://www.nagios.org/about/history "Nagios (Plugins) History" +[folks]: http://www.nagios.org/about/team "Nagios Team" +[load]: doc/man/check_load.html "check_load" +[procs]: doc/man/check_procs.html "check_procs" +[disk]: doc/man/check_disk.html "check_disk" +[icmp]: doc/man/check_icmp.html "check_icmp" +[snmp]: doc/man/check_snmp.html "check_snmp" +[http]: doc/man/check_http.html "check_http" +[nagex]: http://exchange.nagios.org/directory/Plugins "Plugins on Nagios Exchange" +[monex]: https://www.monitoringexchange.org/inventory/Check-Plugins "Plugins on Monitoring Exchange" +[module]: http://search.cpan.org/dist/Nagios-Plugin/ "Nagios::Plugin Module" +[guidelines]: doc/guidelines.html "Nagios Plugin Development Guidelines" +[presentation]: doc/presentation.html "Nagios::Plugin Presentation" +[download]: download.html "Download" + + diff --git a/web/input/media/favicon.ico b/web/input/media/favicon.ico new file mode 100644 index 0000000..76ae569 Binary files /dev/null and b/web/input/media/favicon.ico differ diff --git a/web/input/media/github.png b/web/input/media/github.png new file mode 100644 index 0000000..1e19c21 Binary files /dev/null and b/web/input/media/github.png differ diff --git a/web/input/media/plugins.css b/web/input/media/plugins.css new file mode 100644 index 0000000..552284f --- /dev/null +++ b/web/input/media/plugins.css @@ -0,0 +1,134 @@ +/* + * Nagios Plugins style sheet. + * + * Color scheme: + * + * - See . + * - Additionally, we use the CSS color "dimgray" (#696969) for stuff like the + * breadcrumb navigation and the footer. + */ + +@import url("https://fonts.googleapis.com/css?family=Bitter"); +@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro"); +@import url("https://fonts.googleapis.com/css?family=Source+Code+Pro"); + +body { + max-width: 45em; + margin: 1em auto; + font-family: "Source Sans Pro", sans-serif; + color: #000; + text-rendering: optimizeLegibility; + -webkit-hyphens: auto; + -moz-hyphens: auto; + -ms-hyphens: auto; + -o-hyphens: auto; + hyphens: auto; +} + +h1, h2, h3, h4, h5, h6 { + font-family: "Bitter", serif; + color: #004e8f; +} + +code, kbd { + font-family: "Source Code Pro", monospace; + white-space: pre; +} + +pre { + font-family: "Source Code Pro", monospace; + font-size: small; +} + +div#breadcrumb { + padding: 1em 1em 0.2em; +} + +div#content { + padding: 0.2em 1em 1em; +} + +div#footer { + padding: 1em; +} + +div#menu { + padding: 0.6em 0 0.6em 0; + background-color: #1b476b; + font-weight: bold; +} + +div#menu span { + padding: 0.6em; +} + +div#menu span#current { + color: #fff; + background-color: #5a95c7; +} + +div#menu a { + color: #fff; + text-decoration: none; + -webkit-transition-property: color; + -moz-transition-property: color; + -ms-transition-property: color; + -o-transition-property: color; + transition-property: color; + -webkit-transition-duration: 0.3s; + -moz-transition-duration: 0.3s; + -ms-transition-duration: 0.3s; + -o-transition-duration: 0.3s; + transition-duration: 0.3s; +} + +div#menu a:hover { + color: #eeb76b; +} + +table /* Nginx Fancy Index. */ { + font-family: "Source Code Pro", monospace; + font-size: small; +} + +div#content a, +table a { + color: #3283c7; + text-decoration: none; + border-bottom: 1px dotted #3283c7; +} + +div#content a:hover, +table a:hover { + color: #3283c7; /* Overwrite Fancy Index CSS. */ + border-bottom: 1px solid #3283c7; +} + +div#breadcrumb { + color: #696969; + font-size: small; +} + +div#breadcrumb span#release { + float: right; + font-weight: bold; +} + +div#footer { + color: #696969; + text-align: center; + font-size: small; + line-height: 150%; +} + +div#breadcrumb a, +div#footer a { + color: #696969; + text-decoration: none; + border-bottom: 1px dotted #696969; +} + +div#breadcrumb a:hover, +div#footer a:hover { + border-bottom: 1px solid #696969; +} diff --git a/web/input/support.md b/web/input/support.md new file mode 100644 index 0000000..c6d8b3d --- /dev/null +++ b/web/input/support.md @@ -0,0 +1,82 @@ +title: Support +parent: Home +menu-position: 4 +--- + +# Support + +## Bug Tracker + +If you believe you found a bug, you might want to [check][search] whether it +has been reported to our [issue tracker][tracker] already. Please also try +the [current snapshot][snapshot], as the bug may be fixed in the latest code. +Otherwise, please submit a [new issue][new] and include all information that +might be relevant! + +## Mailing Lists + + + + +There are three mailing lists for the Nagios Plugins: + +* General discussion and support: **** + [Subscribe][help-sub] | [Archive][help-arch] | [Gmane][help-gmane] + +* Development-related issues: **** + [Subscribe][devel-sub] | [Archive][devel-arch] | [Gmane][devel-gmane] + +* Git commits (read-only): **** + [Subscribe][commits-sub] | [Archive][commits-arch] | [Gmane][commits-gmane] + + +Be aware that these mailing lists are read by volunteers, so responses may +take time, if at all. + +## IRC + +Plugin issues are usually discussed in the [#Nagios][nagios-irc] or +[#Icinga][icinga-irc] channels on [freenode][freenode]. Some of the +developers also hang around in [#Nagios-Devel][nagios-devel-irc]. + +[snapshot]: download/snapshot/nagios-plugins-master.tar.gz "Current Snapshot Tarball" +[search]: https://github.com/nagios-plugins/nagios-plugins/search?type=Issues "Issue Tracker Search" +[tracker]: https://github.com/nagios-plugins/nagios-plugins/issues "Issue Tracker" +[new]: https://github.com/nagios-plugins/nagios-plugins/issues/new "New Issue" +[freenode]: http://freenode.net/ "Freenode Network" +[icinga-irc]: http://webchat.freenode.net/?channels=icinga +[nagios-irc]: http://webchat.freenode.net/?channels=nagios +[nagios-devel-irc]: http://webchat.freenode.net/?channels=nagios-devel +[help-sub]: https://lists.sourceforge.net/lists/listinfo/nagiosplug-help +[help-arch]: https://sourceforge.net/p/nagiosplug/mailman/nagiosplug-help +[help-gmane]: http://dir.gmane.org/gmane.network.nagios.plugins +[devel-sub]: https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel +[devel-arch]: https://sourceforge.net/p/nagiosplug/mailman/nagiosplug-devel +[devel-gmane]: http://dir.gmane.org/gmane.network.nagios.plugins.devel +[commits-sub]: https://lists.sourceforge.net/lists/listinfo/nagiosplug-checkins +[commits-arch]: https://sourceforge.net/p/nagiosplug/mailman/nagiosplug-checkins +[commits-gmane]: http://dir.gmane.org/gmane.network.nagios.plugins.cvs +[announce-sub]: /fixme +[announce-arch]: /fixme +[announce-gmane]: /fixme + + diff --git a/web/input/team.md b/web/input/team.md new file mode 100644 index 0000000..f9b0a5d --- /dev/null +++ b/web/input/team.md @@ -0,0 +1,33 @@ +title: Team +parent: Home +--- + +# Nagios Plugins Development Team + +The Nagios Plugins are maintained by the following group of developers: + +* Holger Weiß *(Patch Review, Development, Team Lead)* +* Jan Wagner *(Patch Review, Development)* +* Matthias Eble *(Patch Review, Development)* +* Sven Nierlein *(Patch Review, Development)* +* Thomas Guyot-Sionnest *(Patch Review, Development)* +* Ton Voon *(Patch Review, Development)* + +Previous team members: + +* Benoit Mortier +* Eric Stanley +* Ethan Galstad +* Gavin Carr +* Harper Mann +* Jeremy T. Bouse +* Karl DeBisschop +* Matthew Kent +* Michael Wirtgen +* Nathan Vonnahme +* Peter Bray +* Sean Finney +* Stanley Hopcroft +* Subhendu Ghosh + + diff --git a/web/input/tests.md b/web/input/tests.md new file mode 100644 index 0000000..bad78a9 --- /dev/null +++ b/web/input/tests.md @@ -0,0 +1,21 @@ +title: Test Results +parent: Development +--- + +# Test Results + +The following table lists the latest automated test results for various +platforms. The build and test logs can be viewed by following the +corresponding links. + + +* [Test results][results] + + +Thanks go to Sven Nierlein for setting up the tests and to [his +employer][consol] for providing the resources. + +[results]: http://labs.consol.de/nagios-plugins/logs/HEADER.html "Test Results" +[consol]: http://www.consol.com/ "ConSol Software GmbH" + + -- cgit v0.10-9-g596f