Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Alerts are by default sent in HTML format. With some mail clients, HTML mails are not correctly displayed or even rejected. This option is used to switch between HTML format and pure TEXT format.

Div
classpagebreak

HTML mail example:

Image Removed

TEXT mail example:

Image Removed


Mail recipients list

All alerts coming from monitoring scripts and checks scripts are sent using a common alert script that sends emails (via "sendmail") to the recipients list that can be defined using this option.

...

(warning) Do not add blank lines and set one recipient per line

...

...

classpagebreak

Mail sender

This optional option allows you to define the sender name instead of the default one (root@hostname)

...

(lightbulb) HTML tags like new line, font and bold can be added within the file. In case the format is switched to TEXT, these tags will be automatically removed from the text mail.

Example:

Image Removed

Enable/disable wall alert messages

This option enables or disables (default) the "wall" messages sent via the alert script.

...

...

Update/reinstall common alert script

...

  • Answer "yes" if you did not change the original script file and you have updated the Linux Toolkit (read the corresponding release notes)
  • Do not answer "yes" if you customized your own alert script.
    (lightbulb) In case you've overwritten the existing alert script, the previous version can be restored from the "/charon/archive" folder

Example:

Image Removed

(info) This script can be customized to send alerts the way you want, adding for example commands to link with your monitoring tool. It is based on an alert code passed as parameter 1.

...

(info) This does not affect guest startup alerts. You will receive alerts when a guest starts or stop whatever the level is.

...

View alerts history

This option will allow you is used to view the alerts history sent via the alert script. Alerts can be viewed in a continuous way or using a text editor.

Example - Continuous view:

Image Removed

Image Removed

We can see above:

  1. A message telling the emulator is started
  2. A message telling the license (main one) is found and that also displays its expiration date
  3. The main license dongle has been unplugged and the aksusbd monitor reported the alert (immediate). We can see one license (backup one) is still connected
  4. Warning messages are sent for the hardware requirements
  5. The license dongle was plugged in again.
    (info) We do not see here any dongle removal alert reported by the emulator itself, this is because by default the emulator checks for dongle presence every 1 hour (deferred)

(lightbulb) Press CTRL-C to get back to the previous menu

...

classpagebreak

License expiration alerts from guests

...

(warning) Backup licenses (time limited): please take care of the time remaining that will be reported in the license detection alert, if the number of remaining hours is less than 24, you could not receive any alert from the license expiration check that runs everyday at 09:00 AM by default. It is possible to make it run more than once a day in this case.

Div
classpagebreak


Alerts simulator

This option allows you to send all the available alerts for testing:

...

Enable or disable hardware specifications warning messages to be sent on Charon boot. Depending on Charon version, wrong messages can be sent. This this option prevents from sending warning alerts in case harwdare specifications warning messages are displayed in the log file.

Div
classpagebreak


Immediate alert on dongle removal Enabled

...