Added zabbix agent config parameter to runtrap (fixed)
This commit is contained in:
parent
40e0608af6
commit
ec0a62aa18
1 changed files with 1 additions and 1 deletions
2
runtrap
2
runtrap
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue