###Introduction The Varnish plugin allows you to gather a series of metrics from one instance of Varnish HTTP accelerator, including availability, requests served, bytes served, cache hits a cache misses.
###Howto
##Instalation
- Clone this repo
- Install the Config::INI::Simple Perl Module on the agents
- Stop the HQ Server and Agents
- Copy the plugin to the respective plugin directory
On HQ Server:
cp varnish-plugin.xml <hq installation dir>/hq-plugins/
On HQ Agent:
cp -a scripts/ varnish-plugin.xml <hq installation dir>/hq-plugins/
chmod +x /opt/hyperic/hq-plugins/scripts/varnishstat.pl
- Give write permitions to the scripts directory to the user who runs the HQ Agent process
chmod o+w /opt/hyperic/hq-plugins/scripts/
- Restart the HQ Servers and Agents