-
Problem report
-
Resolution: Won't fix
-
Trivial
-
None
-
5.0.1
-
None
-
None
-
CentOS8
This is script for python.
[root@ca-isarch-502 ~]# ls -al /usr/lib/zabbix/alertscripts/ total 12 drwxr-xr-x 2 root root 72 июн 16 16:16 . drwxr-xr-x 4 root root 49 мая 22 13:43 .. -rw-r--r-- 1 zabbix zabbix 480 июн 16 16:19 config.py -rw-r--r-- 1 zabbix zabbix 281 июн 16 16:16 test.py -rwxr-xr-x 1 zabbix zabbix 2688 июн 16 16:16 ZabbixEventsToISArchive.py
- Media created (pic.1). If I press button Test - media work and write to own log file.
- Admin has this media connected in the same way as media email (pic.2).
- If a problem occurs, admin receives an email, but the script does not work out and Failed is written on the Problems screen (pic. 3). What is the cause of the error is not clear.
- Log search gives nothing
cat /var/log/zabbix/zabbix_server.log | grep ZabbixEventsToISArchive
How can I diagnose why the script does not run?