Answer the question
In order to leave comments, you need to log in
How to get data from a website for Zabbix metrics?
There is an arduino with a temperature sensor (I can’t reconfigure it), it is configured so that it displays a http page with data like: "Temperature 18 degrees"
How to set up the collection of this figure for further action with it? That is, I want to receive an alert about a high temperature and track the dynamics in general. In general, somehow you need to set up a data element, and then everything should just be.
I smoked this topic on the Internet, but basically it comes down to monitoring the availability of the site itself. This is not a problem, I can just ping the device.
Answer the question
In order to leave comments, you need to log in
You need to create an item of type "HTTP agent" that receives the desired page, then create a dependent item and extract the desired value in preprocessing with a regular expression like "Temperature ([0-9]+) degrees"
See the last (fifth) example in the documentation
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question