{"id":13464919,"url":"https://github.com/bhuisgen/docker-zabbix-coreos","last_synced_at":"2026-03-17T14:15:49.668Z","repository":{"id":21840838,"uuid":"25163952","full_name":"bhuisgen/docker-zabbix-coreos","owner":"bhuisgen","description":"Docker container with patched Zabbix agent for CoreOS server monitoring","archived":false,"fork":false,"pushed_at":"2016-03-10T19:41:30.000Z","size":682,"stargazers_count":37,"open_issues_count":0,"forks_count":17,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-12-21T18:53:26.770Z","etag":null,"topics":["coreos","docker","monitoring","zabbix"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bhuisgen.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}},"created_at":"2014-10-13T15:14:54.000Z","updated_at":"2022-04-27T09:30:43.000Z","dependencies_parsed_at":"2022-08-19T23:01:26.584Z","dependency_job_id":null,"html_url":"https://github.com/bhuisgen/docker-zabbix-coreos","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bhuisgen/docker-zabbix-coreos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhuisgen%2Fdocker-zabbix-coreos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhuisgen%2Fdocker-zabbix-coreos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhuisgen%2Fdocker-zabbix-coreos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhuisgen%2Fdocker-zabbix-coreos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bhuisgen","download_url":"https://codeload.github.com/bhuisgen/docker-zabbix-coreos/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bhuisgen%2Fdocker-zabbix-coreos/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30625828,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-17T11:26:08.186Z","status":"ssl_error","status_checked_at":"2026-03-17T11:24:37.311Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["coreos","docker","monitoring","zabbix"],"created_at":"2024-07-31T14:00:52.780Z","updated_at":"2026-03-17T14:15:49.632Z","avatar_url":"https://github.com/bhuisgen.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# Docker Zabbix for CoreOS server\n\nThis Docker container provides a patched Zabbix agent to monitor a real CoreOS server and all his containers.\n\nThe Zabbix agent has been patched to read system informations from these directories:\n\n* */coreos/proc* mapped from */proc* on the real host\n* */coreos/dev* mapped from */dev* on the real host\n* */coreos/sys* mapped from */sys* on the real host\n\nYou can access the Docker REST API through the socket file */coreos/var/run/docker.sock*\n\n## Usage\n\n### Build the image\n\n    # docker build -t bhuisgen/docker-zabbix-coreos .\n\n### Configure your Zabbix server\n\n#### Import templates\n\nImport the needed templates in *etc/zabbix/templates*\n\n#### Create auto-registration action (optional)\n\nTo automatically create new host on the zabbix server, create a auto-registration action (Configuration/Actions/Auto-registration):\n\n* conditions: Host metadata like 'coreos'\n* actions: Add Host, Add host to groups, Link to templates (Custom Template CoreOS, Custom Template Docker, Template App SSH Service, Template ICMP Ping, Template OS Linux)\n\nThe host metadata value is the value shared by all your cluster nodes. Each node must shared the same value.\n\nIf you don't want to use the auto-registration, you must add each node in the frontend.\n\n### Run the container\n\n#### Docker\n\nTo create the container:\n\n    # docker run -d -p 10050:10050 -u 0 -c 1024 -m 64M --memory-swap=-1 \\\n        -v /proc:/coreos/proc:ro -v /sys:/coreos/sys:ro -v /dev:/coreos/dev:ro \\\n        -v /var/run/docker.sock:/coreos/var/run/docker.sock \\\n        --name zabbix-coreos bhuisgen/docker-zabbix-coreos \u003cSERVER\u003e \u003cHOSTMETADATA\u003e [\u003cHOSTNAME\u003e]\n\nIf you want to access directly to the network stack of the node, you can use the *host* network mode but it is less secure:\n\n    # docker run -d -p 10050:10050 -u 0 -c 1024 -m 64M --memory-swap=-1 --net=\"host\" \\\n        -v /proc:/coreos/proc:ro -v /sys:/coreos/sys:ro -v /dev:/coreos/dev:ro \\\n        -v /var/run/docker.sock:/coreos/var/run/docker.sock \\\n        --name zabbix-coreos bhuisgen/docker-zabbix-coreos \u003cSERVER\u003e \u003cHOSTMETADATA\u003e [\u003cHOSTNAME\u003e]\n\nThe needed options are:\n\n* *SERVER* (required): the IP address of the Zabbix server\n* *HOSTMETADATA* (required): the metadata value shared by all servers on the same cluster. This value will match the autoregistration action\n* *HOSTNAME* (optional): the hostname used by this agent in the zabbix frontend. If no value is given, the machine id of the host will be used\n\nThe agent will start and the auto-registration will add your agent if a auto-registration action is matched for your host metadata. If you don't want to auto-register your nodes, you need to specify the hostname value to use.\n\n#### Fleet\n\nCopy this file:\n\n    # cp files/fleet/zabbix-agent /etc/default/zabbix-agent\n\nEach node will be created with the machine id into the Zabbix frontend.\n\nEdit the environment file to set the configuration settings:\n\n    # vim /etc/default/zabbix-agent\n\nThe configuration settings are:\n\n* *SERVER*: the IP address of the Zabbix server\n* *HOSTMETADATA* (required): the metadata value shared by all servers on the same cluster. This value will match the autoregistration action\n\nYou can start the agent on all your cluster nodes with fleet:\n\n    # fleetctl submit zabbix-agent\n    # fleetctl start zabbix-agent\n\nIf you don't want to use auto-registration, create your service unit file. You can use the template in *files/systemd*.\n\n### FAQ\n\n#### What is the machine id of my host ?\n\n    # cat /etc/machine-id\n\n#### How to modify the agent configuration files ?\n\n    # docker exec -ti zabbix-coreos /bin/bash\n\nInside the container:\n\n    # cd /etc/zabbix/\n\n#### How to restart the agent ?\n\n    # docker exec -ti zabbix-coreos /bin/bash\n\nInside the container:\n\n    # supervisorctl restart zabbix-agent\n\n#### How to add custom user parameters for a host ?\n\nCreate a custom configuration file *HOSTNAME.conf* in *etc/zabbix/* where HOSTNAME matches the value used for your host agent. Docker will concatenate this file into the main configuration file before running the container.\n\nExemple 1: with manual registration, if your zabbix host is *myhost*:\n\n    # vim etc/zabbix/5bcc6a59c4234d1eac3d6c57e3e58eff.conf\n\nExemple 2: with auto-registration, if you use *cluster* as host metadata and *5bcc6a59c4234d1eac3d6c57e3e58eff* is the machine id of your real host:\n\n    # vim etc/zabbix/cluster-5bcc6a59c4234d1eac3d6c57e3e58eff.conf\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhuisgen%2Fdocker-zabbix-coreos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbhuisgen%2Fdocker-zabbix-coreos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhuisgen%2Fdocker-zabbix-coreos/lists"}