If you like Zabbix and you're using it, you know that sometimes you need to send a value from the monitored host to the zabbix server/proxy. One of the most common scenario, for me, is the status of a backup job when this is managed by the host: at the end of the job I usually call a script that sends the backup status (OK or KO) through zabbix-sender. Like this:
On the zabbix server side, there's an item of type "trapper" in the corresponding host, which will be updated. And with a couple of triggers ("backup error" and "no good backups in the last 12 hours") we can sleep well.
You don't need the sender
Sadly, sometimes, you can't have the zabbix_sender. Tipically because you're on a strange architechture, or have very limited resources, or running on an AS/400.
Here's a workaround script, in python, that doesn't need to be fed into the zabbix_sender. This is based on this protocol.