When I started to write some scripts using zabbix_sender I spent a lot of time debugging to find out why my data wasn't accepted by the server.
The logging of zabbix_server was completely useless even after I changed the loglevel.
One can have a complete different hostname on the client than the one configured in the server. The agent will work fine and nothing is in any log.
When zabbix_sender starts using that same config the server is suddenly picky and zabbix_sender even wants to have 'Hostname=' with a capital H
Please take a look at this thread to see the confusion it causes:
The logging of zabbix_server was completely useless even after I changed the loglevel.
One can have a complete different hostname on the client than the one configured in the server. The agent will work fine and nothing is in any log.
When zabbix_sender starts using that same config the server is suddenly picky and zabbix_sender even wants to have 'Hostname=' with a capital H
Please take a look at this thread to see the confusion it causes: