Hi!
I am collecting some metrics over Modbus and configured agent2 like this
However, when I refer to Safianovo in my request, it does not extract its parameters:
Why is this happening? It seems the config is read into agent2...
I am collecting some metrics over Modbus and configured agent2 like this
Code:
[root@veles zabbix_agent2.conf.d]# cat modbus_safianovo.conf Plugins.Modbus.Sessions.Safianovo.Endpoint=tcp://10.161.0.25:502 Plugins.Modbus.Sessions.Safianovo.SlaveID=10 Plugins.Modbus.Sessions.Safianovo.Timeout=10
Code:
[serge@veles ~]$ /usr/sbin/zabbix_agent2 --test modbus.get[tcp://10.161.0.25:502,10,3,122,1,int16,be,0] modbus.get[tcp://10.161.0.25:502,10,3,122,1,int16,be,0][s|1034] [serge@veles ~]$ /usr/sbin/zabbix_agent2 --test modbus.get[Safianovo,10,3,122,1,int16,be,0] modbus.get[Safianovo,10,3,122,1,int16,be,0] [m|ZBX_NOTSUPPORTED] [Unsupported endpoint format]