shadowk
01-06-2006, 15:46
The following corrects a syntax change when using snmptrap.sh to call zabbix_sender. The colon should be replaced with a space.
--- snmptrap.sh Sat Nov 1 03:36:30 2003
+++ snmptrap.sh.patch Thu Jun 1 08:41:39 2006
@@ -49,4 +49,4 @@
str="$hostname $address $community $enterprise $oid"
-$ZABBIX_SENDER $ZABBIX_SERVER $ZABBIX_PORT $HOST:$KEY "$str"
+$ZABBIX_SENDER $ZABBIX_SERVER $ZABBIX_PORT $HOST $KEY "$str"
--- snmptrap.sh Sat Nov 1 03:36:30 2003
+++ snmptrap.sh.patch Thu Jun 1 08:41:39 2006
@@ -49,4 +49,4 @@
str="$hostname $address $community $enterprise $oid"
-$ZABBIX_SENDER $ZABBIX_SERVER $ZABBIX_PORT $HOST:$KEY "$str"
+$ZABBIX_SENDER $ZABBIX_SERVER $ZABBIX_PORT $HOST $KEY "$str"