Hello, I'm trying to create a script that receive a phone number as a parameter from zabbix and write this phone number in a text file.
I'm doing this for testing purpose only, because after that, I will create a script that will call using my pbx.



$1 must be my phone number passed as a parameter when the script is executed after an alert.

After an alert other scripts that I downloaded from the Internet are working fine, but my script doesn't work. It have to create a new txt file but it doesn't work.
What am I doing wrong?
Thanks, I'm a newbie with zabbix.
Regards!
I'm doing this for testing purpose only, because after that, I will create a script that will call using my pbx.



$1 must be my phone number passed as a parameter when the script is executed after an alert.

After an alert other scripts that I downloaded from the Internet are working fine, but my script doesn't work. It have to create a new txt file but it doesn't work.
What am I doing wrong?
Thanks, I'm a newbie with zabbix.
Regards!

Comment