Hi team,
i am very new to zabbix. i want to configure sms alert using http API. I have tried the below script but i am not getting proper reply. In body i am not getting proper details. Can anybody help on below script.
#!/bin/bash
to=$1
subject=$2
body=`echo "Hostname: {HOST.NAME}, Trigger severity: {TRIGGER.SEFERITY}, {ITEM.NAME}: {ITEM.VALUE}"`
textconvert=$(echo "$2 $body" | tr -s " " "+")
i am very new to zabbix. i want to configure sms alert using http API. I have tried the below script but i am not getting proper reply. In body i am not getting proper details. Can anybody help on below script.
#!/bin/bash
to=$1
subject=$2
body=`echo "Hostname: {HOST.NAME}, Trigger severity: {TRIGGER.SEFERITY}, {ITEM.NAME}: {ITEM.VALUE}"`
textconvert=$(echo "$2 $body" | tr -s " " "+")
Comment