Varnish is a web application accelerator.  You install it in front of your web application and it will speed it up significantly.


The varnishStat Plugin enables monitoring key stats from the varnishstas utility.  The plugin uses ssh to connect to a Linux server and then executes
varnishstats –j to pull back the varnish stats in Json format.  The plugin then creates the varnish stat measures in dynaTrace by parsing the Json inputStream.

Name and Version

VarnishStats Monitoring Plugin

Compatible with

dynaTrace 5.x, 6.x


Jeff Yarbrough - Dynatrace

Bill Gillette - Dynatrace (


dynaTrace BSD


Support Level

Not Supported 
If you have any questions or suggestions for these plugins, please add a comment to this page, use our forum, or drop us an email at!



varnishstat.1.0.7 (Varnish 3.x)

varnishstat.1.0.8 (Varnish 3.x)

VarnishStats. (Varnish 3.x) - with RSA keyFile option

varnishstat. (Varnish 4.x)

VarnishStat.1.1.0 dtp file -(Varnish 4.x) - with RSA keyFile option

varnish_1.1.0.jar (jar file version)


Import the plugin into dynaTrace server

Release History

2013-07-25 Initial Release

2016-02-19 version 1.0.9 for use with Varnish 4.x

2016-08-03 added RSA keylogin

User Verification:

You must verify the user has the permissions on the target machine to pull the stats with the varnishstat -j command.


Import Plugin:

Import the Plugin into the dynaTrace Server. For details how to do this please refer to the dynaTrace documentation.

After you import the plugin you will see the plugin as VarnishStats, type of plugin "Monitor Metric Group, Monitor".

Setup Monitor:

Under your system profile, you will need to create a monitor for the varnish plugin.  Select Monitors under the profile and select "Create".

Select the VarnishStats monitor and click "ok".

Configure Monitor:

You will need to provide the login credentials (username/password) for the Linux host and give the monitor a name.

Make sure to add a host or hosts to the host configuration.

Set the schedule,

(Optionally) You can select which measures you would like to subscribe.


Click "OK", then you should see the Monitor has been created.


You will need select the monitor and click "Run Now", the monitor should display a green indicator to let you know everything worked.


You can now see the measure for VarnishStats under "System Monitoring".

version 1.0.7 and 1.0.8 (Varnish 3.x)

Version 1.0.9 (Varnish 4.x)





The username to use for authentication to the restful interface


The password for the username used to authenticate to the restful interface.

commanddefault is "varnish stat -j" Do Not Change


1) User executing command needs proper permissions.

/var/lib/varnish/<host>/_.vsm and make it read/write (chmod +rw)

2) If you see this error in the log, <DTHOME>/log/collector/<collector target>/com.dynatrace.diagnostics.plugin.Varnish.Monitor.0.0.log

2016-02-24 14:46:12 INFO [VarnishMonitor@7b956074-a4c4-4347-a93e-665dc1312a20] com.jcraft.jsch.JSchException: Algorithm negotiation fail


In my case - OpenSSH_6.7p1 on server - I had to modify KexAlgorithms and MACs (additional hmac-md5,hmac-sha1,hmac-sha1-96,hmac-md5-96 values):



Above should be placed:


And then restart the ssh:

sudo /etc/init.d/ssh restart


Feel free to contribute any changes on Github