#!/bin/sh export [email protected] export zabbixemailto="$1" export zabbixsubject="$2" export zabbixbody="$3" export smtpserver=smtp.manis.lv export [email protected] export smtppass=paroļe /usr/bin/sendEmail -f $smtpemailfrom -t $zabbixemailto -u $zabbixsubject -m $zabbixbody -s $smtpserver:25 -xu $smtplogin -xp $smtppass
skripts jāiemet alertscripts ceļā
Configurations / Actions
Administration / Media types – scripts
Administration / Users / user