You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](https://github.com/million12/docker-zabbix-agent/issues)
[](https://cloud.docker.com/stack/deploy/?repo=https://github.com/million12/docker-zabbix-agent/tree/master)
4
13
5
14
This is a [million12/zabbix-agent](https://registry.hub.docker.com/u/million12/zabbix-agent/) docker image with Zabbix Agent. It's based on CentOS-7 official image.
6
15
7
-
**Zabbix agent is running in foreground.**
16
+
The Zabbix agent has been patched to read system informations from these directories:
17
+
18
+
`/data/proc` mapped from `/proc` on the real host
19
+
`/data/dev` mapped from `/dev` on the real host
20
+
`/data/sys` mapped from `/sys` on the real host
21
+
22
+
**Zabbix agent is running in foreground.**
23
+
24
+
## Build the image
25
+
26
+
docker build -t million12/zabbix-agent .
8
27
9
28
## ENV variables
10
29
11
-
#### ZABBIX_SERVER
12
-
Default: `ZABBIX_SERVER=127.0.0.1`
13
-
Change it to match your server
30
+
`ZABBIX_SERVER` - Zabbix Server address
31
+
`HOSTNAME` - hostname
32
+
`HOST_METADATA` - the metadata value shared by all servers on the same cluster. This value will match the autoregistration action
33
+
`CONFIG_FILE` - config file path. (Used if custom file and path needed)
14
34
15
35
## Usage
16
-
### Basic
36
+
### Basic
17
37
docker run \
18
38
-d \
19
39
-p 10050:10050 \
@@ -24,25 +44,27 @@ Change it to match your server
This work is also inspired by [bhuisgen's](https://github.com/bhuisgen) work on his [docker images](https://github.com/bhuisgen/docker-zabbix-coreos). Many thanks!
45
67
46
68
---
47
69
48
-
**Sponsored by**[Typostrap.io - the new prototyping tool](http://typostrap.io/) for building highly-interactive prototypes of your website or web app. Built on top of TYPO3 Neos CMS and Zurb Foundation framework.
70
+
**Sponsored by[Prototype Brewery](http://prototypebrewery.io/)** - the new prototyping tool for building highly-interactive prototypes of your website or web app. Built on top of [Neos CMS](https://www.neos.io/) and [Zurb Foundation](http://foundation.zurb.com/) framework.
0 commit comments