Item parameters for MySQL threads:
DSN=
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.