| | 5 | A basic agent are configured by enabling them in the machine-types/base. |
| | 6 | Additional monitoring is added in the specific base-types. |
| | 7 | |
| | 8 | To enable the agents, set |
| | 9 | {{{ |
| | 10 | variable LEMON_CONFIGURE_AGENT = true; |
| | 11 | }}} |
| | 12 | |
| | 13 | There are also a number of site specific variables that need to set: |
| | 14 | {{{ |
| | 15 | ## Name of the lemon server |
| | 16 | variable LEMON_SERVER_HOSTNAME = undef; |
| | 17 | |
| | 18 | ## Set the email address for receiving the exception notifications |
| | 19 | variable LEMON_ALARM_MAIL = undef; |
| | 20 | |
| | 21 | }}} |
| | 22 | |
| | 23 | Additional variables (with the default options) can be |
| | 24 | {{{ |
| | 25 | ## The port to contact the lemon server |
| | 26 | variable LEMON_CLIENT_PORT ?= 12409; |
| | 27 | |
| | 28 | ## The transport protocol used (UDP or TCP) |
| | 29 | variable LEMON_TRANSPORT_PROTOCOL ?= 'UDP'; |
| | 30 | }}} |
| | 31 | |
| | 32 | === Extra === |
| | 33 | ==== More than one lemon server ==== |
| | 34 | The default setup assumes a single lemon server ({{{variable LEMON_SERVER_HOSTNAME}}}). |
| | 35 | In case you want to add multiple servers, you need to add a new one to {{{/system/monitoring/transport}}} |
| | 36 | (see {{{monitoring/lemon/client/base/config}}} for the example). |
| | 37 | |