Ad Widget

Collapse

PATCH: Fix syntax in snmptrap.sh (1.1 Beta12)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shadowk
    Junior Member
    • Jun 2006
    • 23

    #1

    PATCH: Fix syntax in snmptrap.sh (1.1 Beta12)

    The following corrects a syntax change when using snmptrap.sh to call zabbix_sender. The colon should be replaced with a space.

    Code:
    --- 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"
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Thanks for the patch. Applied.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    Working...