MeetMe/newrelic-plugin-agent — pull request #75 by DMA57361 (2013-07-15 10:16:35+00:00)
Title: Fix for multiple hosts per plugin sharing derived value storage

Have been using the changes from c73f816 (from #63) to allow multiple hosts per plugin, and I've noticed a bug where each of these instances of the plugin uses the same location to store its derived values, causing abnormal values to be reported (one of our memcached instances was apparently doing about -200000 Get requests a minute).

Here's a quick fix I've put in to our code that seems to fix the problem, by just separating multiple instances of the same plugin by extending their key with the name as defined in the config file.