Ad Widget

Collapse

Discovery Modbus hosts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • milanraf
    Junior Member
    • May 2023
    • 2

    #1

    Discovery Modbus hosts

    Hello to the Forum

    I'm trying to figure out whether it is possible to run a discovery only on local hosts supporting Modbus.
    In order to do this, I'm looking for a way to configure a parameterized discover agent key like this::

    Ip Range: 192.168.2.0-254
    Check type: Agent
    Key: modbus.get[tcp://{IP}:502,1,3,23298,1,int32,be,0]

    where {IP} is a (hopefully feasible) parameter that holds the current IP of the discovery sweep and 23298 a Modbus register address known to exist in the devices to be discovered.

    Does a parameter like "{IP}" exist in this context?

    If this is not the case, where should I look into the Zabbix source code for adding a custom discovery method?

    Thanks for reading

    Raf
Working...