Sign inSign up

netuitive/docker-agent

By netuitive

Updated about 6 years ago

Netuitive Agent Docker image

Image
0

50K+

netuitive/docker-agent repository overview

Quick Start

You just need to set your hostname and APIKEY in the environment.

docker run -d -e DOCKER_HOSTNAME="my-docker-host" -e APIKEY="my-api-key" --name netuitive-agent -v /proc:/host_proc:ro -v /var/run/docker.sock:/var/run/docker.sock:ro netuitive/docker-agent
Running the docker-agent with StatsD server

The only necessary configuration is the hostname and your APIKEY. You can run the agent with the following command:

docker run -d -p 8125:8125/udp --name netuitive-agent -e DOCKER_HOSTNAME="my-docker-host" -e APIKEY="my-api-key" -v /proc:/host_proc:ro -v /var/run/docker.sock:/var/run/docker.sock:ro netuitive/docker-agent

Configuration

There are a few parameters that can be changed with environment variables. You can change the settings by adding -e <VARIABLE>=<VALUE> from the table below, to the command line when launching the container

VariableDescription
LOGLEVELchange the log level of the agent. -e LOGLEVEL=DEBUG for example would set the agent to log at DEBUG level.
INTERVALinterval in seconds the agent collectors run. -e INTERVAL=120 for example would set them to 2min intervals.
DOCKER_HOSTNAMEhostname of the docker host. -e DOCKER_HOSTNAME="my-docker-host" would set the hostname to my-docker-host.
APIKEYapi key used to send data to Netuitive. -e APIKEY=myapikey would set the apikey to myapikey.
USE_LOCAL_CONFIGis used to tell the agent to ignore any environment variables set and use a local config file. See "Using Local Config" below. -e USE_LOCAL_CONFIG=true would enable this feature.
LPRTis used to tell the statsd agent what UDP port to listen on. (8125 by default)
FORWARDis used to enabled forwarding from the netuitive-statsd server to another statsd server.
FIPis used to tell the statsd agent what IP to forward to.
FPRTis used to tell the statsd agent what IP to forward to. (8125 by default)

More detail can be found in the Netuitive documentation.

Tag summary

Content type

Image

Digest

Size

213.1 MB

Last updated

about 6 years ago

docker pull netuitive/docker-agent