Hi All,
At first a real world scenario: we have temperature and humidity loggers. I want those values in Zabbix. I can get those values when i connect from my pc to the devices with telnet.
I open a telnet session in Putty. connect to the IP of the logger on port 2101 and send this command:
{ 99RDDG\r
The device replies with following string:
{F00rdd 001; 52.75;%rh;000;=; 22.16;▒C;000;=;nc;---.- ;▒C;000; ;001;V2.0-2;0061358018;Accelero ;000;M
The loggers need no authentication. It's actually just a UART to TCP bridge inside the logger, so it's quite raw.
In this reply you can clearly see that relative humidity currently is 52.75% and temperature is 22.16 degrees Celcius. The other information in the response is obsolete.
From what i have understood in the zabbix manual it should be possible to let zabbix connect and derive these values, and with RegEx it should be possible to get them in the right place.
Running Zabbix 6.0
I need a kick in the butt to point me to the right direction on how to achieve this, is there a wizard out there that somehow used this mechanism before and is willing to share his/her experience with me?
Thank you!
At first a real world scenario: we have temperature and humidity loggers. I want those values in Zabbix. I can get those values when i connect from my pc to the devices with telnet.
I open a telnet session in Putty. connect to the IP of the logger on port 2101 and send this command:
{ 99RDDG\r
The device replies with following string:
{F00rdd 001; 52.75;%rh;000;=; 22.16;▒C;000;=;nc;---.- ;▒C;000; ;001;V2.0-2;0061358018;Accelero ;000;M
The loggers need no authentication. It's actually just a UART to TCP bridge inside the logger, so it's quite raw.
In this reply you can clearly see that relative humidity currently is 52.75% and temperature is 22.16 degrees Celcius. The other information in the response is obsolete.
From what i have understood in the zabbix manual it should be possible to let zabbix connect and derive these values, and with RegEx it should be possible to get them in the right place.
Running Zabbix 6.0
I need a kick in the butt to point me to the right direction on how to achieve this, is there a wizard out there that somehow used this mechanism before and is willing to share his/her experience with me?
Thank you!
Comment