diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rwxr-xr-x | misc/snmptrap/snmptrap.sh | 6 |
2 files changed, 2 insertions, 5 deletions
@@ -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" |