Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-935

snmptrap.sh / zabbix_sender needs command line options

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • 1.6
    • None
    • None
    • Oracle Enterprise Linux 5.1, Dell PE1850, zabbix-1.6.4, php-5.2.9, MySQL Enterprise Edition 5.1.34

      The zabbix_sender program needs command line options for this script to work.
      I would also update the ZABBIX_SERVER and ZABBIX_PORT to be more sane.

      The original script:
      ZABBIX_SERVER="zabbix";
      ZABBIX_PORT="10001";
      $ZABBIX_SENDER $ZABBIX_SERVER $ZABBIX_PORT $HOST $KEY "$str"

      The modified script:
      ZABBIX_SERVER="localhost";
      ZABBIX_PORT="10051";
      $ZABBIX_SENDER -z $ZABBIX_SERVER -p $ZABBIX_PORT -s $HOST -k $KEY -o "$str"

            alexei Alexei Vladishev
            jwomack@real.com Joseph Womack
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: