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 the /var/log/messages file to detect dongle removal (immediate mode).
The service works with a list of log files to be monitored.
The log file name must be defined with full path within the configuration file. Rotating log files are not supported.
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 service for guests log monitoring and to start/restart the aksusb log monitoring (/var/log/messages)
Example:
Notes:
- The list is automatically filled with the log files found in the configuration files for guests defined with the Service management (Start, Stop, Manage automatic boot & shutdown) menu option when selecting the "Update log files list" option.
- 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 and will send an alert on dongle removal and dongle detected quite immediately
- The guests 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.
- It will also send alerts on guest start and clean stop (unrequested stop alerts are managed by the crontab job defined here: Manage recursive jobs: license expiration check, log events (cron)).
- Dongle removal and detection alert messages will be sent based on license check interval defined with the license (default is 1 hour).
- If you remove a guest from the "Service management - Update guests list" option, you will have to stop the log monitoring service for the corresponding log file and remove it from the list