2
votes

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.

2

2 Answers

1
votes

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.