Skip to content

Glances Docker Sensors#13026

Merged
fabaff merged 7 commits intohome-assistant:devfrom
timmo001:glances-docker
Mar 10, 2018
Merged

Glances Docker Sensors#13026
fabaff merged 7 commits intohome-assistant:devfrom
timmo001:glances-docker

Conversation

@timmo001
Copy link
Copy Markdown
Member

@timmo001 timmo001 commented Mar 9, 2018

Description:

Added three new sensors from Docker object in API. Shows total active containers, total CPU use and total memory use

Pull request in home-assistant.github.io with documentation (if applicable):
home-assistant/home-assistant.io#4873

Example entry for configuration.yaml (if applicable):

sensor:
  - platform: glances
    host: IP_ADDRESS
    resources:
      - 'disk_use_percent'
      - 'disk_use'
      - 'disk_free'
      - 'memory_use_percent'
      - 'memory_use'
      - 'memory_free'
      - 'swap_use_percent'
      - 'swap_use'
      - 'swap_free'
      - 'processor_load'
      - 'process_running'
      - 'process_total'
      - 'process_thread'
      - 'process_sleeping'
      - 'cpu_temp'
      - 'docker_active'
      - 'docker_cpu_use'
      - 'docker_memory_use'

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass

If user exposed functionality or configuration variables are added/changed:

Copy link
Copy Markdown
Member

@fabaff fabaff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 🐦

@fabaff fabaff merged commit 86baed4 into home-assistant:dev Mar 10, 2018
fabaff pushed a commit to home-assistant/home-assistant.io that referenced this pull request Mar 10, 2018
@balloob balloob mentioned this pull request Mar 30, 2018
@home-assistant home-assistant locked and limited conversation to collaborators Jul 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants