Ad Widget

Collapse

Telegraf Plugin for Zabbix Connector

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shrank
    Junior Member
    • May 2023
    • 4

    #1

    Telegraf Plugin for Zabbix Connector

    Hi all

    I wrote a telegraf plugin that receives Zabbix Item values over the Zabbix Connector interface. That enables you to forward te data to a backend like influxdb, victoria metrics etc.

    Let me know what you think about that. I plan to open a pull request in a few weeks.

    Docker Image: https://hub.docker.com/r/shrank3000/telegraf-zabbix
    Source Code: https://github.com/shrank/telegraf

    the data is transformed as follows to match the telegraf schema:

    **Metric Name**
    The metric name is composed from a specific tag value, default is "component"

    Zabbix Tags:
    `"component" = "health"`
    `"component" = "network"`

    Metric Name: zabbix_component_health_network

    **Tags:**

    * 'item' = `item.name` string
    * 'host_raw' = `item.host.host` string
    * 'hostname' = `item.host.name` string
    * 'houstgroups = `item.groups` string
    * 'itemid' = `item.itemid` int

    Zabbix Tags are trasformed as follow:

    Zabbix Tags:
    `"component" = "health"`
    `"component" = "network"`

    Telegraf Tags:
    'tag_component' = `health,network`
  • shrank
    Junior Member
    • May 2023
    • 4

    #2
    The docker repo has changed: https://hub.docker.com/r/clairdatase...elegraf-zabbix

    Comment

    Working...