Varnish
Varnish high-performance HTTP accelerator
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.
Download
- From IT Linux website: http://www.it-linux.cl/download/varnish-hyperic.tbz
Documentation
1. Instalation
Step1: Download and untar the file.
Step2: Install the Config::INI::Simple Perl Module on the agents
Step3: Stop the HQ Server and Agents
Step4: Copy the plugin to the respective plugin directory
HQ Server:
cp varnish-plugin.xml <hq installation dir>/hq-plugins/
HQ Agent:
cp -a scripts/ varnish-plugin.xml <hq installation dir>/hq-plugins/
chmod +x /opt/hyperic/hq-plugins/scripts/varnishstat.pl
Step5: Give write permitions to the scripts directory to the user who runs the HQ Agent process.
(you may be running the Agent as root, if not![]()
chmod o+w /opt/hyperic/hq-plugins/scripts/
Step6: Restart the HQ Servers and Agents.
2. Configuration
Just add a new service and look for Varnish Stats.