Ad Widget

Collapse

Notifications from Zabbix through Slack script not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • marafado88
    Junior Member
    • Mar 2018
    • 27

    #1

    Notifications from Zabbix through Slack script not working

    Hello everyone,

    I have tried in last week several ways to send notifications through Media script type, but it simple doesnt send anything.

    This script is working, I have already test it through CLI, and you can see it here:

    https://share.zabbix.com/zabbix-tool...en-in-python-3

    First I have created a new Media Type (check 1.jpeg).

    Then created a new user to attach that media (234.jpeg).

    And after that I have created the Action to receive notification (567.jpeg).

    After made all the configuration, I made some tests with web monitors to force failure triggers to get on, and didnt receive anything, only mail notifications from another notification action that I already had configurared before.

    In Reports >> Action Log, I dont have any attempt of delivery for this action, only for my email notification.

    This script is storage in,

    AlertScriptsPath=/usr/lib/zabbix/alertscripts

    In default config file path for alertscripts, and I even tried to copy that script to externalscripts.

    I have set that script file to be executable for user, group and others.

    I have also reboot this system several times ...

    Anyone knows why this media type is not working?

    Note: I have already tried with other more simple bash scripts and same result.

    Thanks in advance!
    Attached Files
    Last edited by marafado88; 01-10-2018, 13:37.
  • marafado88
    Junior Member
    • Mar 2018
    • 27

    #2
    I have finally be able to use that script, and I thing that was related with the fact that the user didnt had permissions for that, so I give him read only permissions, and now its working fine:

    Attached Files

    Comment

    Working...