Add zabbix output for error/slow logs for HTTP/SQL.
Factor out common parts relating to slow/error logs of EJB, HTTP, SQL.