Here are 4 sample templates:
The main idea is to use zabbix_sender to send file content without comments to zabbix trapper:
fullpath=$(echo "{TRIGGER.NAME}" | sed "s/.has.been.changed.*$//") #extract full path and filename from trigger name
filename=$(echo "$fullpath" | sed "s/^.*\///g") #extract only filename
server=$(egrep "^ServerActive=" /usr/local/etc/zabbix_agentd.conf | egrep -o "[0-9.]+") #analyse where to send message
content=$(grep -v "^$\|^#" "$fullpath") #take only the active settings
zabbix_sender -z $server -s "{HOST.NAME}" -k "$filename.storage" -o "$content"