Hello.
I have this telegram.sh
If i execute this script from console, script successful work, but i add this script to zabbix, and want send messages from zabbix to telegram.
That not work.
I newbie in zabbix, if i can debug it. It must be useful.
Thank you for any help.
I have this telegram.sh
PHP Code:
#!/bin/bash
export to=$1;
export subject=$2;
export body=$3;
bin/telegram-cli -W -U $USER -e "msg $to $subject $body" > /dev/null
exit
That not work.
I newbie in zabbix, if i can debug it. It must be useful.
Thank you for any help.

lolo')"
Comment