Name and Version
dynaTrace 5.x, 6.x
Jeff Yarbrough - Dynatrace
Bill Gillette - Dynatrace (126.96.36.199)
varnishstat.1.0.7 (Varnish 3.x)
varnishstat.1.0.8 (Varnish 3.x)
VarnishStats.188.8.131.52.jar (Varnish 3.x) - with RSA keyFile option
varnishstat.184.108.40.206 (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
2013-07-25 Initial Release
2016-02-19 version 1.0.9 for use with Varnish 4.x
2016-08-03 added RSA keylogin
You must verify the user has the permissions on the target machine to pull the stats with the varnishstat -j command.
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".
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".
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.
|command||default 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