@@ -231,6 +231,48 @@ Emails will be sent to administrators under the following circumstances:
231231
232232- The Host cluster runs low on CPU, memory, or storage resources
233233
234+ The following global settings are available to configure Alerts via SMTP.
235+
236+ .. list-table :: Management Alerts Global Settings
237+ :header-rows: 1
238+
239+ * - Global setting
240+ - Default
241+ - Description
242+ * - ``alert.smtp.host ``
243+ - `null `
244+ - SMTP hostname used for sending out email alerts.
245+ * - ``alert.smtp.port ``
246+ - `465 `
247+ - Port the SMTP server is listening on.
248+ * - ``alert.smtp.useAuth ``
249+ - `false `
250+ - If true, use SMTP authentication when sending emails.
251+ * - ``alert.smtp.username ``
252+ - `null `
253+ - Username for SMTP authentication (applies only if alert.smtp.useAuth is true).
254+ * - ``alert.smtp.password ``
255+ - `null `
256+ - Password for SMTP authentication (applies only if alert.smtp.useAuth is true).
257+ * - ``alert.smtp.useStartTLS ``
258+ - `false `
259+ - If set to true and if we enable security via alert.smtp.useAuth, this will enable StartTLS to secure the connection.
260+ * - ``(alert.smtp.enabledSecurityProtocols ``
261+ - `null `
262+ - White-space separated security protocols; ex: "TLSv1 TLSv1.1". Supported protocols: SSLv2Hello, SSLv3, TLSv1, TLSv1.1 and TLSv1.2
263+ * - ``alert.smtp.connectiontimeout ``
264+ - `30000 `
265+ - Socket connection timeout value in milliseconds. -1 for infinite timeout.
266+ * - ``alert.smtp.timeout ``
267+ - `30000 `
268+ - Socket I/O timeout value in milliseconds. -1 for infinite timeout.
269+ * - ``alert.email.addresses ``
270+ - `null `
271+ - Comma separated list of email addresses which are going to receive alert emails.
272+ * - ``alert.email.sender ``
273+ - `null `
274+ - Sender of alert email (will be in the From header of the email).
275+
234276
235277Sending Alerts to External SNMP and Syslog Managers
236278~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -246,116 +288,96 @@ The alerts which can be sent are:
246288The following is the list of alert type numbers. The current alerts can
247289be found by calling listAlerts.
248290
249- ::
250-
251- MEMORY = 0 // Available Memory below configured threshold
252-
253- ::
254-
255- CPU = 1 // Unallocated CPU below configured threshold
256-
257- ::
258-
259- STORAGE =2 // Available Storage below configured threshold
260-
261- ::
262-
263- STORAGE_ALLOCATED = 3 // Remaining unallocated Storage is below configured threshold
264-
265- ::
266-
267- PUBLIC_IP = 4 // Number of unallocated virtual Network public IPs is below configured threshold
268-
269- ::
270-
271- PRIVATE_IP = 5 // Number of unallocated private IPs is below configured threshold
272-
273- ::
274-
275- SECONDARY_STORAGE = 6 // Available Secondary Storage in availability zone is below configured threshold
276-
277- ::
278-
279- HOST = 7 // Host related alerts like host disconnected
280-
281- ::
282-
283- USERVM = 8 // User Instance stopped unexpectedly
284-
285- ::
286-
287- DOMAIN_ROUTER = 9 // Domain Router VM stopped unexpectedly
288-
289- ::
290-
291- CONSOLE_PROXY = 10 // Console Proxy VM stopped unexpectedly
292-
293- ::
294-
295- ROUTING = 11 // Lost connection to default route (to the gateway)
296-
297- ::
298-
299- STORAGE_MISC = 12 // Storage issue in system VMs
300-
301- ::
302-
303- USAGE_SERVER = 13 // No usage server process running
304-
305- ::
306-
307- MANAGMENT_NODE = 14 // Management Network CIDR is not configured originally
308-
309- ::
310-
311- DOMAIN_ROUTER_MIGRATE = 15 // Domain Router VM Migration was unsuccessful
312-
313- ::
314-
315- CONSOLE_PROXY_MIGRATE = 16 // Console Proxy VM Migration was unsuccessful
316-
317- ::
318-
319- USERVM_MIGRATE = 17 // User Instance Migration was unsuccessful
320-
321- ::
322-
323- VLAN = 18 // Number of unallocated VLANs is below configured threshold in availability zone
324-
325- ::
326-
327- SSVM = 19 // SSVM stopped unexpectedly
328-
329- ::
330-
331- USAGE_SERVER_RESULT = 20 // Usage job failed
332-
333- ::
334-
335- STORAGE_DELETE = 21 // Failed to delete storage pool
336-
337- ::
338-
339- UPDATE_RESOURCE_COUNT = 22 // Failed to update the resource count
340-
341- ::
342-
343- USAGE_SANITY_RESULT = 23 // Usage Sanity Check failed
344-
345- ::
346-
347- DIRECT_ATTACHED_PUBLIC_IP = 24 // Number of unallocated shared Network IPs is low in availability zone
348-
349- ::
350-
351- LOCAL_STORAGE = 25 // Remaining unallocated Local Storage is below configured threshold
352-
353- ::
354-
355- RESOURCE_LIMIT_EXCEEDED = 26 //Generated when the resource limit exceeds the limit. Currently used for recurring Snapshots only
356-
357-
358- You can also display the most up to date list by calling the API command ``listAlerts ``.
291+ .. list-table :: List of Alerts
292+ :header-rows: 1
293+
294+ * - Type Number
295+ - Name
296+ - Description
297+ * - `0 `
298+ - ``MEMORY ``
299+ - Available Memory below configured threshold
300+ * - `1 `
301+ - ``CPU ``
302+ - Unallocated CPU below configured threshold
303+ * - `2 `
304+ - ``STORAGE ``
305+ - Available Storage below configured threshold
306+ * - `3 `
307+ - ``STORAGE_ALLOCATED ``
308+ - Remaining unallocated Storage is below configured threshold
309+ * - `4 `
310+ - ``PUBLIC_IP ``
311+ - Number of unallocated virtual Network public IPs is below configured threshold
312+ * - `5 `
313+ - ``PRIVATE_IP ``
314+ - Number of unallocated private IPs is below configured threshold
315+ * - `6 `
316+ - ``SECONDARY_STORAGE ``
317+ - Available Secondary Storage in availability zone is below configured threshold
318+ * - `7 `
319+ - ``HOST ``
320+ - Host related alerts like host disconnected
321+ * - `8 `
322+ - ``USERVM ``
323+ - User Instance stopped unexpectedly
324+ * - `9 `
325+ - ``DOMAIN_ROUTER ``
326+ - Domain Router VM stopped unexpectedly
327+ * - `10 `
328+ - ``CONSOLE_PROXY ``
329+ - Console Proxy VM stopped unexpectedly
330+ * - `11 `
331+ - ``ROUTING ``
332+ - Lost connection to default route (to the gateway)
333+ * - `12 `
334+ - ``STORAGE_MISC ``
335+ - Storage issue in system VMs
336+ * - `13 `
337+ - ``USAGE_SERVER ``
338+ - No usage server process running
339+ * - `14 `
340+ - ``MANAGEMENT_NODE ``
341+ - Management Network CIDR is not configured originally
342+ * - `15 `
343+ - ``DOMAIN_ROUTER_MIGRATE ``
344+ - Domain Router VM Migration was unsuccessful
345+ * - `16 `
346+ - ``CONSOLE_PROXY_MIGRATE ``
347+ - Console Proxy VM Migration was unsuccessful
348+ * - `17 `
349+ - ``USERVM_MIGRATE ``
350+ - User Instance Migration was unsuccessful
351+ * - `18 `
352+ - ``VLAN ``
353+ - Number of unallocated VLANs is below configured threshold in availability zone
354+ * - `19 `
355+ - ``SSVM ``
356+ - SSVM stopped unexpectedly
357+ * - `20 `
358+ - ``USAGE_SERVER_RESULT ``
359+ - Usage job failed
360+ * - `21 `
361+ - ``STORAGE_DELETE ``
362+ - Failed to delete storage pool
363+ * - `22 `
364+ - ``UPDATE_RESOURCE_COUNT ``
365+ - Failed to update the resource count
366+ * - `23 `
367+ - ``USAGE_SANITY_RESULT ``
368+ - Usage Sanity Check failed
369+ * - `24 `
370+ - ``DIRECT_ATTACHED_PUBLIC_IP ``
371+ - Number of unallocated shared Network IPs is low in availability zone
372+ * - `25 `
373+ - ``LOCAL_STORAGE ``
374+ - Remaining unallocated Local Storage is below configured threshold
375+ * - `26 `
376+ - ``RESOURCE_LIMIT_EXCEEDED ``
377+ - Generated when the resource limit exceeds the limit. Currently used for recurring Snapshots only
378+
379+
380+ You can also display the most up to date list by calling the API command ``listAlerts `` or unsing CLoudMonkey ``cmk list alerts ``.
359381
360382
361383SNMP Alert Details
0 commit comments