Giter VIP home page Giter VIP logo

dynatrace-appmon-docker-monitor-plugin's Introduction

Dynatrace-Docker-Monitor-Plugin

Retrieves CPU, memory and network stats from Docker containers via the Docker Remote API.

Find further information in the dynaTrace community

dynatrace-appmon-docker-monitor-plugin's People

Contributors

dynatrace-asad-ali avatar ingohackl avatar metmajer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dynatrace-appmon-docker-monitor-plugin's Issues

Exception "Recevied null value from the docker query for container and image count in UnixSocketDataCollector"

When I try to run the plugin on a machine where a Dynatrace Collector is running with configuration SSH-Local, I get the following error, although the socket is available.

~$ ls -al /var/run/docker.sock
srw-rw---- 1 root docker 0 Jul  7 21:50 /var/run/docker.sock

Making the socket-file read/writeable for all did not make it work. When I try to connect via ssh I get "2015-07-22 06:39:34 SEVERE [DockerMonitor@Docker Monitor_0] There was a problem while connecting to localhost:22"

Error details are:

2015-07-22 06:30:14 SEVERE [DockerMonitor@Docker Monitor_0] getDataLocally.connect-NoCause:org.newsclub.net.unix.AFUNIXSocketException: No such file or directory (socket: /run/docker.sock)
    at org.newsclub.net.unix.NativeUnixSocket.connect(Native Method)
    at org.newsclub.net.unix.AFUNIXSocketImpl.connect(AFUNIXSocketImpl.java:125)
    at org.newsclub.net.unix.AFUNIXSocket.connect(AFUNIXSocket.java:97)
    at org.newsclub.net.unix.AFUNIXSocket.connect(AFUNIXSocket.java:87)
    at com.dynatrace.docker.collector.UnixSocketDataCollector.getDataLocally(UnixSocketDataCollector.java:330)
    at com.dynatrace.docker.collector.UnixSocketDataCollector.collectContainerAndImageCount(UnixSocketDataCollector.java:76)
    at com.dynatrace.docker.DockerMonitor.execute(DockerMonitor.java:157)
    at com.dynatrace.diagnostics.sdk.UserPluginManager.executePlugin(SourceFile:565)
    at com.dynatrace.diagnostics.sdk.MonitorPluginExecutor.execute(SourceFile:51)
    at com.dynatrace.diagnostics.sdk.MonitorPluginExecutor.execute(SourceFile:26)
    at com.dynatrace.diagnostics.scheduling.impl.ServerJobCenterRegistry.a(SourceFile:189)
    at com.dynatrace.diagnostics.scheduling.impl.ServerJobCenterRegistry.a(SourceFile:412)
    at com.dynatrace.diagnostics.scheduling.impl.ServerJobCenterRegistry.execute(SourceFile:336)
    at com.dynatrace.diagnostics.scheduling.impl.SchedulerJob.a(SourceFile:101)
    at com.dynatrace.diagnostics.scheduling.impl.SchedulerJob.work(SourceFile:92)
    at com.dynatrace.diagnostics.scheduling.impl.SchedulerJob.executeJobInfo(SourceFile:241)
    at com.dynatrace.diagnostics.scheduling.impl.QuartzJob.execute(SourceFile:45)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
    at com.dynatrace.diagnostics.scheduling.impl.QuartzThreadPool$WorkerThread.run(SourceFile:788)
2015-07-22 06:30:14 SEVERE [DockerMonitor@Docker Monitor_0] Recevied null value from the docker query for container and image count in UnixSocketDataCollector. Please check log files to find the reason.

Wrong OSGI dependency

in the Manifest you are depending on the dynatrace sdk bundle but you need to require the pdk bundle... since it is Plugin Development!

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.