Hi I am trying to push the alerts raised in zabbix
-> Trying to push the alerts through script based using below link but it is not working
#!/bin/bash
cat $1 $2 $3 >> alarmftp_data.txt
->created a mediatype as script (screenshot attached) and added the same in operation as below and made a port down but didn't work and gave me an error as (No media defined for user "Zabbix Administrator (Admin)")
These are the 2 concerns which I am facing . Anyone please help me in fixing this
-> Trying to push the alerts through script based using below link but it is not working
-> Trying to push the alerts through script based(to create a file in zabbix server itself and push the file to a different) but I am unable to do so. Kindly help me in how to achieve this requirement (creating a file in zabbix server whenever a alert raised by zabbix )
What I tried
->created a file as below in
/usr/lib/zabbix/alertscripts as below What I tried
->created a file as below in
#!/bin/bash
cat $1 $2 $3 >> alarmftp_data.txt
->created a mediatype as script (screenshot attached) and added the same in operation as below and made a port down but didn't work and gave me an error as (No media defined for user "Zabbix Administrator (Admin)")
| Send message to users: Admin (Zabbix Administrator) via FTP_Script Send message to user groups: Zabbix administrators via FTP_Script |
Immediately | Default |
|
These are the 2 concerns which I am facing . Anyone please help me in fixing this
Comment