Changes between Version 16 and Version 17 of Obsolete/Doc/Monitoring/Lemon
- Timestamp:
- Jun 16, 2008, 1:36:05 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Obsolete/Doc/Monitoring/Lemon
v16 v17 1 [[TOC(inline)] 1 [[TOC(inline)]] 2 2 3 = Lemon description = 3 [http://lemon.web.cern.ch Lemon] is a monitoring system developed at CERN. 4 [http://lemon.web.cern.ch Lemon] is a monitoring system developed at CERN. On monitored machines, agents execute sensors to measure the state of different services according to metrics. Exceptions can also be defined which are raised when the set of conditions they define are met. Metrics and exceptions are fed back to a central Lemon server, and stored, either in flat-files or an Oracle database. A web interface allows users to browse the status of machines, and to perform simple analysis tasks such as correlating different metrics or viewing the distribution of values across a set of machines. 4 5 5 6 == Agent configuration == 6 A basic agent are configured by enabling them in the machine-types/base. 7 Additional monitoring is added in the specific base-types. 8 9 To enable the agents, set 7 The {{{machine-types/base}}} includes some basic Lemon sensors. Additional sensors and exceptions are added in the various machine types. 8 9 To enable Lemon monitoring on a node, set 10 10 {{{ 11 11 variable LEMON_CONFIGURE_AGENT = true; 12 12 }}} 13 13 14 There are also a number of site specific variables that need toset:14 There are also a number of site-specific variables that need to be set: 15 15 {{{ 16 16 ## Name of the lemon server … … 22 22 }}} 23 23 24 Additional variables (w ith the default options) can be24 Additional variables (which have defaults) can be customised if necessary: 25 25 {{{ 26 26 ## The port to contact the lemon server … … 31 31 }}} 32 32 33 === Extra===33 === Advanced configuration === 34 34 ==== More than one lemon server ==== 35 35 The default setup assumes a single lemon server ({{{variable LEMON_SERVER_HOSTNAME}}}). 36 I n caseyou want to add multiple servers, you need to add a new one to {{{/system/monitoring/transport}}}37 (see {{{monitoring/lemon/client/base/config}}} for theexample).36 If you want to add multiple servers, you need to add a new one to {{{/system/monitoring/transport}}} 37 (see {{{monitoring/lemon/client/base/config}}} for an example). 38 38 39 39 == Server configuration == 40 The lemon server consi ts of an information collector and the webinterface (called LRF).41 Lemon supports 2 main types of information stor ing (using flatfiles or using Oracle).42 Currently only Oracle s upport is provided (but for the people with no access to an Oracle installation, the setup using OracleXE is provided).43 44 Setupthe lemon server config:40 The lemon server consists of an information collector and the web interface (called LRF). 41 Lemon supports 2 main types of information storage: flat files or an Oracle database. 42 Currently only Oracle storage is supported in QWG. However, for those without access to an Oracle installation, we provide instructions for setting up the free Oracle XE database. 43 44 First add the lemon server config: 45 45 {{{ 46 46 include monitoring/lemon/server/service; … … 48 48 49 49 === Backend configuration === 50 The backend is set using50 Then set the storage backend: 51 51 {{{ 52 52 ## use OraMon or flatfile … … 55 55 56 56 ==== Oracle / OraMon ==== 57 When using orcale as a backend, some oracle specific parameters need to be set:57 When using Oracle as a backend, some Oracle-specific parameters need to be set (these have default values as shown): 58 58 {{{ 59 59 ## name of database to use … … 73 73 74 74 }}} 75 If you don't use/want a local XE installation, set ORACLE_XE_LOCAL_INSTALL to false and configure the oracle TNS (example for GRIF): 75 76 If you are accessing an existing Oracle server, set ORACLE_XE_LOCAL_INSTALL to false and configure the Oracle TNS (example for GRIF): 76 77 {{{ 77 78 variable CONTENTS_ORACLE_TNS ?= <<EOF; … … 93 94 94 95 ==== flatfile ==== 95 Nothing yet 96 Nothing yet. 96 97 97 98 == LRF ==