summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rwxr-xr-xmisc/snmptrap/snmptrap.sh6
2 files changed, 2 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index c7b7c08b..0673d503 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
Changes for 1.0beta10:
+ - fixed snmptrap.sh (Alexei)
- improved performance of simple graphs (Alexei)
- minor fixes to eliminate compiler's warnings (Alexei)
- fix to show HTML characters of string items in Latest Values and
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"