Question

I have succesfully install the plugins to show Varnish statuses on New Relic, following this guide here:

https://github.com/varnish/newrelic_varnish_plugin

The problem is, when I install it to my second web server (using the same API key), nothing new show up in New Relic but the varnish[default] instance.

Does anyone know how to setup a second instance in this case?

Thanks alot.

Hiep.

Was it helpful?

Solution

This is solved according to this comment: https://github.com/varnish/newrelic_varnish_plugin/issues/13#issuecomment-26779670.

Basically we need to change the "default" string in following line to something unique:

agent_human_labels("Varnish") { "#{@name||"varnish"}[#{@vname||"default"}]"}

Hope it will be patched soon to allow using other variable than vname.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top