summaryrefslogtreecommitdiffstats
path: root/misc/snmptrap
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2003-07-30 17:35:02 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2003-07-30 17:35:02 +0000
commitd3e2cd1b12ff78683f988d3ec2785be54bf83ca8 (patch)
tree23a417bec508969b4ffc61b2ab1b96d37ff941b9 /misc/snmptrap
parent26f69f77dcc683259bdea5f674f1b7bcdf62fc0a (diff)
downloadzabbix-d3e2cd1b12ff78683f988d3ec2785be54bf83ca8.tar.gz
zabbix-d3e2cd1b12ff78683f988d3ec2785be54bf83ca8.tar.xz
zabbix-d3e2cd1b12ff78683f988d3ec2785be54bf83ca8.zip
- fixed snmptrap.sh (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@874 97f52cf1-0a1b-0410-bd0e-c28be96e8082
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"