# Zabbix Integration

**URL:** <https://www.thethingsnetwork.org/forum/t/zabbix-integration/41290>\
**Category:** Application Development\
**Created:** [November 12, 2020, 3:22pm UTC](https://www.thethingsnetwork.org/forum/t/zabbix-integration/41290 "2020-11-12T15:22:54Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![tnathan](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/tnathan/32/25844_2.png) [@tnathan](https://www.thethingsnetwork.org/forum/u/tnathan)\
**Post date:** [November 12, 2020, 3:22pm UTC](https://www.thethingsnetwork.org/forum/t/zabbix-integration/41290/1 "2020-11-12T15:22:54Z")

</div>

Is anyone aware of any form of intergration with Zabbix ([zabbix.com](http://zabbix.com)). I would like the payloads to be sent from TTN to Zabbix where i can monitor and trigger alerts based on that data.

Zabbix does have a HTTP agent i could potentially use (i think) but wanted to see what anyones thoughts were on A. if this is possible and B. what those steps might look like.

Link to the HTTP agent in Zabbix. [https://www.zabbix.com/documentation/4.0/manual/config/items/itemtypes/http](https://www.zabbix.com/documentation/4.0/manual/config/items/itemtypes/http)

---

<div class="post-metadata">

**Author:** ![engelking](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/engelking/32/46323_2.png) [@engelking](https://www.thethingsnetwork.org/forum/u/engelking)\
**Post date:** [November 12, 2020, 4:43pm UTC](https://www.thethingsnetwork.org/forum/t/zabbix-integration/41290/2 "2020-11-12T16:43:51Z")

</div>

My personal Zabbix experience is quite old.  
HTTP can be a working option nevertheless i personal would prefer mqtt as monitoring protocol.

[https://www.zabbix.com/integrations/mqtt](https://www.zabbix.com/integrations/mqtt)

> **[kylegordon/mqtt-zabbix](https://github.com/kylegordon/mqtt-zabbix)**
>
> A simple MQTT to Zabbix relay, for monitoring and alerting on MQTT topics and payloads - kylegordon/mqtt-zabbix

An argument for data gathering with http is it will work without a proxy solution.  
All sorts of API documentation is written down here:  
[https://www.thethingsnetwork.org/docs/applications/](https://www.thethingsnetwork.org/docs/applications/)

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [November 12, 2020, 4:55pm UTC](https://www.thethingsnetwork.org/forum/t/zabbix-integration/41290/3 "2020-11-12T16:55:24Z")

</div>

Zabbix HTTP appears to “pull” whereas the TTN is push.

You may be able to pull from the Data Storage integration but MQTT as suggested should be much simpler.

---

<div class="post-metadata">

**Author:** ![tnathan](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/tnathan/32/25844_2.png) [@tnathan](https://www.thethingsnetwork.org/forum/u/tnathan)\
**Post date:** [November 13, 2020, 7:26am UTC](https://www.thethingsnetwork.org/forum/t/zabbix-integration/41290/4 "2020-11-13T07:26:11Z")

</div>

So would the MQTT agent be sat on the the Zabbix server listening for push payloads from TTN?

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [November 13, 2020, 2:16pm UTC](https://www.thethingsnetwork.org/forum/t/zabbix-integration/41290/5 "2020-11-13T14:16:27Z")

</div>

Yes, but MQTT uses the terminology client - server. TTN provides a MQTT server that an MQTT client (on your desktop, in your own custom code or via a facility like on Zabbix) will then connect to - they maintain contact so that the server can send updates as they happen.

---

<div class="post-metadata">

**Author:** ![tnathan](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/tnathan/32/25844_2.png) [@tnathan](https://www.thethingsnetwork.org/forum/u/tnathan)\
**Post date:** [November 20, 2020, 9:43am UTC](https://www.thethingsnetwork.org/forum/t/zabbix-integration/41290/6 "2020-11-20T09:43:56Z")

</div>

Thank you, that helps me to understand.

Just one last question, when you say TTN provide a MQTT server. I can’t see any reference to this, or is this simple the HTTP integration?

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [November 20, 2020, 9:51am UTC](https://www.thethingsnetwork.org/forum/t/zabbix-integration/41290/7 "2020-11-20T09:51:17Z")

</div>

Nope:

[https://www.thethingsnetwork.org/docs/applications/mqtt/](https://www.thethingsnetwork.org/docs/applications/mqtt/)

---

<div class="post-metadata">

**Author:** ![tnathan](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/tnathan/32/25844_2.png) [@tnathan](https://www.thethingsnetwork.org/forum/u/tnathan)\
**Post date:** [November 20, 2020, 9:56am UTC](https://www.thethingsnetwork.org/forum/t/zabbix-integration/41290/8 "2020-11-20T09:56:51Z")

</div>

I had already found that, i’m guessing i don’t have to specifically say that the application is for a MQTT server and that is it by default?

thanks for your help.

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [November 20, 2020, 9:59am UTC](https://www.thethingsnetwork.org/forum/t/zabbix-integration/41290/9 "2020-11-20T09:59:33Z")

</div>

> [@tnathan](#):
>
> i’m guessing i don’t have to specifically say that the application is for a MQTT server and that is it by default?

Sorry, I don’t understand what this means. It’s an MQTT server which you can subscribe to topics on.

---

<div class="post-metadata">

**Author:** ![tnathan](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/tnathan/32/25844_2.png) [@tnathan](https://www.thethingsnetwork.org/forum/u/tnathan)\
**Post date:** [November 20, 2020, 10:19am UTC](https://www.thethingsnetwork.org/forum/t/zabbix-integration/41290/10 "2020-11-20T10:19:32Z")

</div>

When i go to create a new application in the console, i can’t choose a specific type of application such as a MQTT server.

Is that because when you create an application it has the MQTT protocol as standard and you just interface with it that way?

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [November 20, 2020, 11:22am UTC](https://www.thethingsnetwork.org/forum/t/zabbix-integration/41290/11 "2020-11-20T11:22:50Z")

</div>

There are no setup instructions because MQTT comes built in - nothing to do apart from get an authentication key.
