Hallo Forum,
I am running a Ubuntu 14.04.2 lts with zabbix 2.2.9 install from packages and am attempting to get a custom media type script to work. In the zabbix logs I have not found anything as well as the system logs. But I am also not the linux guru.
This script (lcsmssend.sh) should call a internal url with wget in the zabbix web under monitoring events in the alerting and in the events it shows the status as sent however it is not. I can run the script from the terminal and it works running as a normal user no sudo. Have not figured out how to run it as the user zabbix, however the permissions group and owner are set to zabbix.
#!/bin/bash
#SMS with Lancom 1781
to=$1
subject=$2
body=$3
wget "http://username:[email protected]/sms/?<Param1>=<Value1>&.&oldauth&DestinationAddress=$1 &Content=$1%$2%$3%20Nachricht%2E"
#
Thanks in advance
Chris
I am running a Ubuntu 14.04.2 lts with zabbix 2.2.9 install from packages and am attempting to get a custom media type script to work. In the zabbix logs I have not found anything as well as the system logs. But I am also not the linux guru.
This script (lcsmssend.sh) should call a internal url with wget in the zabbix web under monitoring events in the alerting and in the events it shows the status as sent however it is not. I can run the script from the terminal and it works running as a normal user no sudo. Have not figured out how to run it as the user zabbix, however the permissions group and owner are set to zabbix.
#!/bin/bash
#SMS with Lancom 1781
to=$1
subject=$2
body=$3
wget "http://username:[email protected]/sms/?<Param1>=<Value1>&.&oldauth&DestinationAddress=$1 &Content=$1%$2%$3%20Nachricht%2E"
#
Thanks in advance
Chris
Comment