tnathan
(Tnathan)
November 12, 2020, 3:22pm
1
Is anyone aware of any form of intergration with Zabbix (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
1 Like
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
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/
1 Like
descartes
(Nick McCloud)
November 12, 2020, 4:55pm
3
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.
1 Like
tnathan
(Tnathan)
November 13, 2020, 7:26am
4
So would the MQTT agent be sat on the the Zabbix server listening for push payloads from TTN?
descartes
(Nick McCloud)
November 13, 2020, 2:16pm
5
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.
tnathan
(Tnathan)
November 20, 2020, 9:43am
6
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?
descartes
(Nick McCloud)
November 20, 2020, 9:51am
7
tnathan
(Tnathan)
November 20, 2020, 9:56am
8
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.
descartes
(Nick McCloud)
November 20, 2020, 9:59am
9
Sorry, I don’t understand what this means. It’s an MQTT server which you can subscribe to topics on.
tnathan
(Tnathan)
November 20, 2020, 10:19am
10
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?
descartes
(Nick McCloud)
November 20, 2020, 11:22am
11
There are no setup instructions because MQTT comes built in - nothing to do apart from get an authentication key.
1 Like