Manage monitored guests logs

Description

A service can be defined in order to monitor the guests log files to look for key removal messages (based on interval defined on the dongle) and/or informational, warning and error messages. It also monitors in parallel dongle removal (immediate mode).

The service works with a list of log files to be monitored. The log files location is forced under the configuration file folder as "logs/" and with the same name as the configuration file and extension ".log".

(info) If the Charon log monitoring (global) option is set to enabled (default) in the preferences, the log monitoring service is created automatically when creating a virtual machine from menu option VM Management (add/remove VM, start, stop, console connection, ...).

Management

This option offers the possibility to edit the log file list, start/stop monitoring for a guest, view the guest log file, view the monitoring log file, manage "systemd" services and to start/restart the aksusbd log monitoring.

Example:


Notes:

  • The list of monitored log files is automatically filled with the log files found in the configuration files for guests defined with the Manage monitored guests logs menu option when selecting the "Update log files list" option 1.
  • The aksusbd log monitoring will check the journalctl and will send an alert on dongle removal and dongle detected quite immediately
  • The guest log monitoring:
    • will send alerts when information, warning and error messages will be detected depending on the alert level defined at Alerts management - Select guests log alert level. Note alerts will be send in a bulk email message by default: one alert every 1 minute based on crontab entry settings for '/opt/charon/utils/charon_logevent' (see Manage recursive jobs: license expiration check, log events (cron))
    • It will also send alerts on guest start and stop
    • Dongle removal and detection alert messages will be sent based on license check interval defined with the license (default is 1 hour).
    • Each time a license is detected in the guest log file, an expiration check will occur and will send alerts if necessary
    • On rare cases, the dongle can be seen as unplugged whereas it is still plugged in leading the virtual machine to stop. The log monitoring feature is then able to detect this case and perform the necessary actions. More information is available in our Knowledge base in this article: CHARON for Linux - Detected removal of the license whereas dongle is connected
  • (info) If you remove a guest from the "Service management - Update guests list" option, the log monitoring service will be removed from the list
  • (lightbulb) If you change the folder of an existing virtual machine, you'll have to update the service manually

Example

Connection lost with the active license:


Alert mail sent (if configured):

Connection restored with the license:



© Stromasys, 1999-2024  - All the information is provided on the best effort basis, and might be changed anytime without notice. Information provided does not mean Stromasys commitment to any features described.