Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-17942

Media script does not work

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Won't fix
    • Icon: Trivial 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
      

       

      1. Media created (pic.1).  If I press button Test - media work and write to own log file.
      2. Admin has this media connected in the same way as media email (pic.2).
      3. 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.
      4. Log search gives nothing

      cat /var/log/zabbix/zabbix_server.log | grep ZabbixEventsToISArchive

      How can I diagnose why the script does not run?

        1. 1.jpg
          66 kB
          Дмитрий Бобровский
        2. 3.jpg
          94 kB
          Дмитрий Бобровский
        3. 2.jpg
          54 kB
          Дмитрий Бобровский

            zabbix.support Zabbix Support Team
            MinistrBob Дмитрий Бобровский
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: