Problem description: in the current audit log implementation there are some script execution errors that are logged into audit log and some that are not. From the end user point of view it doesn't matter what type of error was obtained from the server, it should be written to audit log.
Steps to reproduce:
- Create a webhook script using the following API:
- Start zabbix server
- Navigate to Monitoring => Hosts
- Attempt to execute the created script for Zabbix server - the following error is returned:
- Check zabbix server log and acknowledge that the same error is observed there
- Check audit log
The is no script execution record in audit log.
1 - Failed script execution attempt should be recorded.
2 - The error message shouldn't have 2 dots in the end