I've been trying to find an issue that seems like this one: http://www.zabbix.com/forum/showthread.php?t=20840
The issue is not:
- Who is executing the script (I've executed it as zabbix user; su - zabbix)
- The permissions of the script (chmod a+x twitter.pl)
- Whatever