{"id":16307148,"url":"https://github.com/fujiwara/fluent-plugin-zabbix","last_synced_at":"2025-04-30T21:34:05.995Z","repository":{"id":3004704,"uuid":"4023445","full_name":"fujiwara/fluent-plugin-zabbix","owner":"fujiwara","description":"fluentd out plugin to zabbix","archived":false,"fork":false,"pushed_at":"2023-12-21T01:11:22.000Z","size":62,"stargazers_count":50,"open_issues_count":1,"forks_count":10,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-05-01T23:57:18.204Z","etag":null,"topics":["fluent-plugin","fluent-plugin-zabbix","fluentd","ruby","zabbix"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fujiwara.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-04-14T08:00:05.000Z","updated_at":"2024-06-21T15:40:34.797Z","dependencies_parsed_at":"2024-06-21T15:40:29.905Z","dependency_job_id":null,"html_url":"https://github.com/fujiwara/fluent-plugin-zabbix","commit_stats":{"total_commits":67,"total_committers":7,"mean_commits":9.571428571428571,"dds":"0.28358208955223885","last_synced_commit":"fb6b31950fad2317b16ddc71b59e58a637368241"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fujiwara%2Ffluent-plugin-zabbix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fujiwara%2Ffluent-plugin-zabbix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fujiwara%2Ffluent-plugin-zabbix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fujiwara%2Ffluent-plugin-zabbix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fujiwara","download_url":"https://codeload.github.com/fujiwara/fluent-plugin-zabbix/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251785379,"owners_count":21643467,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fluent-plugin","fluent-plugin-zabbix","fluentd","ruby","zabbix"],"created_at":"2024-10-10T21:12:41.251Z","updated_at":"2025-04-30T21:34:05.974Z","avatar_url":"https://github.com/fujiwara.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fluent-plugin-zabbix\n\n## Component\n\n### ZabbixOutput\n\nPlugin to output values to Zabbix server.\n\n## Configuration\n\n### ZabbixOutput\n\nZabbix configuration of Item:\n\n    Key: metrics.field1\n    Type: Zabbix trapper\n\n    Key: metrics.field2\n    Type: Zabbix trapper\n\nFor messages such as:\n    tag:metrics {\"metrics.field1\":300, \"metrics.field2\":20}\n\n    \u003cmatch metrics\u003e\n      @type zabbix\n      zabbix_server 192.168.0.1\n      port          10051\n      host          client-hostname\n      name_keys     metrics.field1,metrics.field2\n    \u003c/match\u003e\n\nor, use `add_key_prefix`\n    tag:metrics {\"field1\":300, \"field2\":20}\n\n    \u003cmatch metrics\u003e\n      @type zabbix\n      zabbix_server     192.168.0.1\n      port              10051\n      host              client-hostname\n      add_key_prefix    metrics\n      name_key_pattern  ^field\n    \u003c/match\u003e\n\nIf `prefix_key` is specified, a value of record[prefix_key] will be used as key prefix.\n\n\nIf you want to specify the host(on zabbix) from record's value, use \"host_key\" directive.\n\n    tag:metrics {\"zabbix_host\":\"myhostname\", \"metrics.field1\":300, \"metrics.field2\":20}\n\n    \u003cmatch metrics\u003e\n      @type zabbix\n      zabbix_server 192.168.0.1\n      host_key      zabbix_host\n      name_keys     metrics.field1,metrics.field2\n    \u003c/match\u003e\n\nv0.0.7~ includes [Fluent::Mixin::ConfigPlaceholders](https://github.com/tagomoris/fluent-mixin-config-placeholders). Placeholders will be expanded in a configuration.\n\n```\n\u003cmatch matrics.**\u003e\n  @type            zabbix\n  zabbix_server    192.168.0.1\n  host             ${hostname}\n  add_key_prefix   ${tag}\n  name_key_pattern .\n\u003c/match\u003e\n```\n\n`host` parameter is set by default to Ruby's `Socket.gethostname` if not specified.\n\n# TODO\n\n- patches welcome!\n\n## Copyright\n\n- Copyright: Copyright (c) 2012- FUJIWARA Shunichiro\n- License:   Apache License, Version 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffujiwara%2Ffluent-plugin-zabbix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffujiwara%2Ffluent-plugin-zabbix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffujiwara%2Ffluent-plugin-zabbix/lists"}