...
The service works with a list of log files to be monitored. The log files location is forced under the configuration file name must be defined with full path within folder as "logs/" and with the same name as the configuration file and extension ". Rotating log files are supported only with Charon-AXP and Charon-VAX V4.7 minimum and Linux Toolkit 42 minimumlog".
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, install or update log monitoring service for Linux servers without "systemd
" feature (Red Hat 6) or to manage "systemd
" services for Linux servers with "systemd
" (Red Hat 7 and CentOS) and to start/restart the aksusb aksusbd log monitoring.
Example1 - Red Hat Enterprise Linux 6Example:
Div | ||
---|---|---|
|
Example2 - Red Hat Enterprise Linux 7:
...
Notes:
- The list of monitorted monitored log files is automatically filled with the log files found in the configuration files for guests defined with the Servicemanagement(Start,Stop,Manageautomaticboot&shutdown) 20423737468 menu option when selecting the "Update log files list" option 1.
- The install/update service option will just restart the log monitoring service and not the guest.The aksusbd log monitoring will look into the "
/var/log/messages
" log file (Red Hat 6) or will check thejournalctl
(Red Hat 7 and CentOS) 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
- 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 '
- If you remove a guest from the "Service management - Update guests list" option, the log monitoring service will be removed from the listIn case you're using regular (main) and backup license dongles, you will receive a "License dongle found" alert on dongle switch. If the alert tells you the license detected is a "Runtime limited license", you'll have to replace your regular dongle as soon as possible.
- If you have more than one virtual machine running on the same server, do not use the same log file name more than once even if the log folders are different
- If you change the folder of an existing virtual machine, you'll have to update the service manually (Red Hat Enterprise Linux 7+ and CentOS)
Example
Connection lost with the active license:
The license status is monitored if:
...
Div | ||
---|---|---|
| ||
Alert mail sent (if configured):
Connection restored with the license:
Include Page | ||||
---|---|---|---|---|
|