Debian Prerequisites
(lenny: libssh2-1-dev needs to be pinned to squeeze repo)
aptitude install g++ make mysql-server libmysqlclient-dev libcurl3-dev \ libsnmp-dev libldap-dev libiksemel-dev libopenipmi-dev libssh2-1-dev
Compile Zabbix
useradd -d /dev/null -s /bin/false zabbix ./configure --enable-server --enable-proxy --enable-agent --enable-ipv6 --with-mysql \ --with-net-snmp --with-libcurl --with-ldap --with-openipmi --with-jabber --with-ssh2 make install
Perform a Manual Check
On the zabbix client, run the following to verify whether the test is working or not. This is especially useful when developing custom tests
zabbix_agent -c /etc/zabbix/zabbix_agentd.conf -t system.cpu.switches
Substitute any key for "system.cpu.switches" above.