GithubHelp home page GithubHelp logo

infrasonar / docker-agent Goto Github PK

View Code? Open in Web Editor NEW
0.0 4.0 0.0 35 KB

InfraSonar Docker Agent

Home Page: https://docs.infrasonar.com/collectors/agents/docker/

Dockerfile 0.85% Python 99.15%
docker infrasonar monitoring cesbit

docker-agent's Introduction

CI Release Version

InfraSonar Docker agent

Documentation: https://docs.infrasonar.com/collectors/agents/docker/

Environment variables

Environment Default Description
TOKEN required Token to connect to.
ASSET_ID /data/.asset.json Asset Id or file where the Agent asset Id is stored (must be a volume mount).
API_URI https://api.infrasonar.com InfraSonar API.
CHECK_CONTAINERS_INTERVAL 300 Interval for the docker containers check in seconds.
CHECK_IMAGES_INTERVAL 300 Interval for the docker images check in seconds.
CHECK_SYSTEM_INTERVAL 300 Interval for the docker system check in seconds.
VERIFY_SSL 1 Verify SSL certificate, 0 (=disabled) or 1 (=enabled).
LOG_LEVEL warning Log level (error, warning, info, debug).
LOG_COLORIZED 0 Log colorized, 0 (=disabled) or 1 (=enabled).
LOG_FMT %y%m... Default format is %y%m%d %H:%M:%S.

docker-agent's People

Watchers

 avatar  avatar  avatar  avatar

docker-agent's Issues

CheckContainers fails on a Raspbian Bullseye 64 bit

CheckContainers fails while running the Docker agent on Raspbian version Bullseye 64 bit.

The following error is logged:

[E 230521 06:48:36 base:43] 
Traceback (most recent call last):
  File "/code/lib/check/base.py", line 33, in run
    data = await asyncio.wait_for(
  File "/usr/local/lib/python3.9/asyncio/tasks.py", line 479, in wait_for
    return fut.result()
  File "/code/lib/check/checkContainers.py", line 116, in get_data
    cls.apply_stats(state_data['containers'], stats)
  File "/code/lib/check/checkContainers.py", line 181, in apply_stats
    memory = cls.calculate_memory_percentage(istats)
  File "/code/lib/check/checkContainers.py", line 40, in calculate_memory_percentage
    used_memory = memory_stats['usage'] - stats.get(
KeyError: 'usage'
[E 230521 06:48:36 agent:228] check error (containers): 'usage'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.