Added zabbix agent config parameter to runtrap (fixed)

This commit is contained in:
Eric Renfro 2013-07-02 10:39:24 -04:00
parent 40e0608af6
commit ec0a62aa18

View file

@ -46,7 +46,7 @@ done
#echo "Errors: $errors"
#exit 0
zsend=$(zabbix_sender -c /etc/zabbix/zabbix_agentd.conf -i ${tempfile})
zsend=$(zabbix_sender -c ${agentconf} -i ${tempfile})
if [ $? -ne 0 ]; then
echo "ERROR"
else