An open API service indexing awesome lists of open source software.

https://github.com/typhoonzero/nginx-collector

nginx collecor in docker
https://github.com/typhoonzero/nginx-collector

Last synced: 4 months ago
JSON representation

nginx collecor in docker

Awesome Lists containing this project

README

          

docker-collectd
===============
use docker to run collectd to get nginx monitor info into influxdb

# Run
```
docker run -e HOSTNAME=aaa ... [your image]
```

# Build
```
docker build -t [yourimage]:[yourtag]
```

# Configuration
config the below environment virables to
* HOSTNAME: hostname for local machine
* INFLUX_HOST: influxdb machine host or IP
* INFLUX_PORT: influxdb port
* INFLUX_USER: you know this
* INFLUX_PASSWD: you know this too
* NGINX_HOST: nginx to monitor
* NGINX_PORT: where nginx serves "nginx_status"