sensu-plugins / sensu-plugins-docker

This plugin provides native Docker instrumentation for monitoring and metrics collection, including: container status, container number, and container metrics via `docker ps`.
http://sensu-plugins.io
MIT License
35 stars 57 forks source link

Wrong values plugin metrics-docker-stats.rb #39

Open stefanocog opened 8 years ago

stefanocog commented 8 years ago

Hi, i have absurd values into output of metrics-docker-stats.rb, my command is metrics-docker-stats.rb -s prod -c apache_1 -H ip_docker_socket:2375

output: prod.apache_1.cpu_stats.system_cpu_usage 7964339440000000 1470318274

what does it mean 7964339440000000 ??

majormoses commented 7 years ago

@stefanocog sorry there have been a few releases I believe since this was opened, can you validate the same behavior using latest before investigating? I don't personally use docker in my org outside of CI so it might be a while before I can get around to taking a deep dive here.