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

Macros doesn't work for 'Database monitor' items

    Details

    • Type: Problem report
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.10, 2.0.2, 2.1.0
    • Fix Version/s: 2.0.4rc1, 2.1.0
    • Component/s: Proxy (P), Server (S)
    • Environment:
      zabbix-server-1.8.10, unixODBC-2.3.1, mysql-connector-odbc-3.51.30, FreeBSD 9.0 RELEASE amd64

      Description

      Item parameters for MySQL threads:
      DSN=

      {HOSTNAME}
      user=monitoring
      password=mypasss
      sql=select count from PROCESSLIST;

      Zabbix log:
      43244:20120210:132155.197 Failed to connect to DSN '{HOSTNAME}

      ' : Error: failed connection [[unixODBC][Driver Manager]Data source name not found, and no default driver specified] (0)

      However, Zabbix documentation (http://www.zabbix.com/documentation/1.8/manual/config/macros) says about support macro for Items.
      P.S. Zabbix documentation doen't contain any info about 'database monitor' item type. So bad.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mox1987 Pavel Timofeev
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: