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!
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!
Comment