title: Using zabbix_sender for host discovery
body: <p>I'm writing an application which delivers data from remote devices over an HTTP API. These devices are on a mobile data connection and have limited resources.</p>
  
  <p>I wish to receive custom monitoring data over the HTTP API, relying on the security model designed in the application, and push that data to Zabbix directly (or indirectly) from node.js. I do not wish to use Zabbix Agent on the remote devices.</p>
  
  <p>I see that I can use zabbix_sender to send data to a Zabbix server containing a pre-configured host. This works great. I intend to deliver monitoring data over my custom API, and when received give this data to zabbix_sender inside the server network.</p>
  
  <p>The problem is there are many devices in the field and more are being added all the time. </p>
  
  <h1>TL;DR:</h1>
  
  <p>When zabbix_sender provides a custom hostname which doesn't exist in Zabbix already, it fails. </p>
  
  <p>I would like to auto-add discovered hosts, based upon new hostnames from zabbix_sender. How would I do this?</p>
  
  <p>Also, extra respect if anyone can give examples of how to avoid zabbix_sender and send data directly from node.js to the Zabbix server. I mean: suggest an NPM package that you have experience using. (Update: Found working node.js package here: <a href="https://www.npmjs.com/package/node-zabbix-sender" rel="nofollow">https://www.npmjs.com/package/node-zabbix-sender</a>)</p>
  
  <p>Zabbix configuration: I'm learning from Zabbix 2.4 installed in Docker, no custom configuration from this Dockerhub: <a href="https://hub.docker.com/r/zabbix/zabbix-2.4/" rel="nofollow">https://hub.docker.com/r/zabbix/zabbix-2.4/</a> </p>