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

Macros doesn't work for 'Database monitor' items

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Major Major
    • 2.0.4rc1, 2.1.0
    • 1.8.10, 2.0.2, 2.1.0
    • Proxy (P), Server (S)
    • zabbix-server-1.8.10, unixODBC-2.3.1, mysql-connector-odbc-3.51.30, FreeBSD 9.0 RELEASE amd64

      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.

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

              Created:
              Updated:
              Resolved: