Is there a way to monitor RancherOS host using newrelic? I saw some talks about it, and newrelic actually posted about CoreOS monitoring from a docker container (https://discuss.newrelic.com/t/using-server-monitoring-on-coreos/24852). Well… it doesn’t work very well. It only monitors the given resources and utilization of the container, and not from the host server, so I believe the same could happen with RancherOS if I use this ‘newrelic’ container.
Did you guys have any monitoring solution to the host server? Or, Is there a way to use newrelic directly from the top of the server? I really appreciate if it could be possible.
@fwynyk We have been doing some work for our new infrastructure with this since we use New Relic for our application currently.
The APM/Servers portion of New Relic integrates with Docker quite well. You need the New Relic Agent to be installed, configured, and running on the Docker Host (in this case, the RancherOS host). The details I’ve received when talking with New Relic is that they need the Agent to be installed on a supported Linux OS which does not include RancherOS at this time.
Sysdig appears to possibly get this done for you as this runs a container just for the sysdig agent and that monitors container and host. The application profiling doesn’t appear to be there right now though.
All the redacted/aws-cli-docker:helper container / tag does is run aws commands. I previously uploaded a custom-configured nrsysmond.cfg file and the dockerbeta nrsysmond binary to an s3 bucket as seen.
The nrsysmond.cfg also contains our new relic key.
You can setup APM monitoring through New Relic Docker, and at the same
time you can get exceptions by installing the application specific gems,
modules, etc, as you would before. Then you get a container view from the
hosts perspective as well as individual application perspective which shows
you any exceptions being thrown…
I was looking for a solution to get newrelic server monitoring running inside RancherOS.
I managed to get this done by adding https://github.com/uzyexe/dockerfile-newrelic as custom system service.
Works well, but the docker integration of newrelic is not working.
I am getting errors like this the following, but cgroups seem to be mounted correctly.