I try to install New Relic Servers for Linux in my local vagrant machine running CentOS 7.2.1 with Docker 1.11.0 installed. I have follow the step to enable Servers for Linux for Docker, all running containers are shown in New Relic Server page but CPU & memory usage are empty. I also follow the guide to enable memory usage metrics but still no luck (https://docs.newrelic.com/docs/servers/new-relic-servers-linux/installation-configuration/enabling-new-relic-servers-docker#enable-memory-usage).
Am I missing something? Any clue on why it's not working?
I have manage to get the help from New Relic Support Engineer. They found that Docker 1.10+ is not compatible with LSM.
Temparory workaround:
/etc/newrelic/nrsysmond.cfg
cgroup_style=0
Save the file, and then restart LSM:
sudo /etc/init.d/newrelic-sysmond restart
Wait a few minutes, you will see Docker metrics are being reported.
But bear in mind that it's an undocumented and untested workaround.
Discussion link: https://discuss.newrelic.com/t/wrong-path-to-cpu-and-memoy-data/36177
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With