From ec0a62aa18e90370fa277009186d8c654f6958af Mon Sep 17 00:00:00 2001 From: Eric Renfro Date: Tue, 2 Jul 2013 10:39:24 -0400 Subject: [PATCH] Added zabbix agent config parameter to runtrap (fixed) --- runtrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtrap b/runtrap index 68167b7..be93012 100755 --- a/runtrap +++ b/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