summaryrefslogtreecommitdiffstats
path: root/misc/snmptrap
diff options
context:
space:
mode:
Diffstat (limited to 'misc/snmptrap')
-rwxr-xr-xmisc/snmptrap/snmptrap.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/misc/snmptrap/snmptrap.sh b/misc/snmptrap/snmptrap.sh
index 444b5e76..596f1db1 100755
--- a/misc/snmptrap/snmptrap.sh
+++ b/misc/snmptrap/snmptrap.sh
@@ -49,8 +49,4 @@ community=`echo $community|cut -f2 -d'"'`
str="$hostname $address $community $enterprise $oid"
-echo $str >>/tmp/log
-
-cmd="$ZABBIX_SERVER $ZABBIX_PORT $HOST:$KEY \"$str\""
-
-echo $cmd
+$ZABBIX_SERVER $ZABBIX_PORT $HOST:$KEY "$str"