Tirex/Nagios

From OpenStreetMap Wiki
Jump to: navigation, search
Available languages — Tirex/Nagios
Afrikaans Alemannisch aragonés asturianu azərbaycanca Bahasa Indonesia Bahasa Melayu Bân-lâm-gú Basa Jawa Baso Minangkabau bosanski brezhoneg català čeština dansk Deutsch eesti English español Esperanto estremeñu euskara français Frysk Gaeilge Gàidhlig galego Hausa hrvatski Igbo interlingua Interlingue isiXhosa isiZulu íslenska italiano Kiswahili Kreyòl ayisyen kréyòl gwadloupéyen kurdî latviešu Lëtzebuergesch lietuvių magyar Malagasy Malti Nederlands Nedersaksies norsk norsk nynorsk occitan Oromoo oʻzbekcha/ўзбекча Plattdüütsch polski português português do Brasil română shqip slovenčina slovenščina Soomaaliga suomi svenska Tiếng Việt Türkçe Vahcuengh vèneto Wolof Yorùbá Zazaki српски / srpski беларуская български қазақша македонски монгол русский тоҷикӣ українська Ελληνικά Հայերեն ქართული नेपाली मराठी हिन्दी অসমীয়া বাংলা ਪੰਜਾਬੀ ગુજરાતી ଓଡ଼ିଆ தமிழ் తెలుగు ಕನ್ನಡ മലയാളം සිංහල ไทย မြန်မာဘာသာ ລາວ ភាសាខ្មែរ ⵜⴰⵎⴰⵣⵉⵖⵜ አማርኛ 한국어 日本語 中文(简体)‎ 吴语 粵語 中文(繁體)‎ ייִדיש עברית اردو العربية پښتو سنڌي فارسی ދިވެހިބަސް

Nagios (www.nagios.org) is a system monitoring tool. It alerts the system administrator when something breaks on his machines. Tirex comes with a set of plugins for Nagios that help you monitor your Tirex system.

Plugins

There are two Nagios plugins for Tirex monitoring:

tirex-health
Script that checks whether the Tirex master has recently updated the status message in shared memory. This is almost like checking whether the master process is running, but in case the master process should lock up, this test would catch that whereas a simple process list test would not. This script has no parameters and will either issue an "OK" or a "CRITICAL" status message.
tirex-queue-size
Script that checks the total Tirex queue size. Parameters are:
-w <n>    issue WARNING if queue larger than <n>
-c <n>    issue CRITICAL if queue is larger than <n>

What to monitor

In addition to running the special Tirex Nagios plugins explained above, you should probably

  • check that tirex-backend-manager is running with the check_procs plugin.
  • check for disk space on the disk where your tiles and database are.

as well as the usual checks for system health.

Installing

If you are using Debian or Ubuntu, install the tirex-nagios-plugin module.

If you are installing from source, run make install-nagios.

The Nagios plugins will be installed into /usr/lib/nagios/plugins/, the configuration files in /etc/nagios/nrpe.d/.

The tirex-health plugins does not need configuration. Change the configuration of the nagios-queue-size plugin in /etc/nagios/nrpe.d/tirex-queue-size.cfg.

(See also under Building and Installing and Configuration.)