Sumologic

Docker

To monitor Docker containers running on your system, specify the following attributes in the data.json file

  1. endpoint - docker endpoint (on which the docker daemon listens at). To use TCP, set "tcp://[ip]:[port]". To use environment variables (ie, docker-machine), set "ENV".
  2. containers_include, containers_exclude - containers to include and exclude. Collect all if empty. Globs accepted.
  3. ssl_cert, ssl_key, ssl_ca - SSL config.
  4. insecure_skip_verify - use SSL but skip chain & host verification.

The following are the default values in data.json.

"docker": {
    "endpoint": "unix:///var/run/docker.sock",
    "containers_include": [],
    "containers_exclude": [],
    "ssl_cert": "",
    "ssl_key": "",
    "ssl_ca": "",
    "insecure_skip_verify": false
},

It is important to ensure that the docker endpoint is readeable by the user archsaber. The installer script has been configured to do that by adding the user archsaber to the docker group. However, in case your docker group has a different name than docker, please add archsaber user to that group manually by running the following command.

sudo usermod -a -G <docker-group>,archsaber archsaber

Having updated data.json on your server (no need to restart archagent), enable this plugin from the server's rule config page. Set thresholds for metrics that you care about and want to be alerted on. Enabling a plugin.

results matching ""

    No results matching ""