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

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Oracle Enterprise Linux 5.1, Dell PE1850, zabbix-1.6.4, php-5.2.9, MySQL Enterprise Edition 5.1.34

      Description

      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"

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: