Skip to content

nopp/vag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

229 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Varnish Administration GUI

(Open source VAC alternative)

  • VCL Editor
  • Purge/Ban
  • Real time cluster info
  • VCL change history

Obs:. I'm not a programmer :), do not expect a good code!

Required

  • Python + Flask
  • Varnish 3.x
  • Varnish-agent 2.2
  • MySQL

How to install

VAGENT2.2

  • yum install libmicrohttpd-devel libcurl-devel varnish-libs-devel
  • wget https://github.com/varnish/vagent2/archive/2.2.0.tar.gz or use locally file
  • tar zxvf 2.2.0.tar.gz
  • cd vagent2-2.2.0/ && ./autoge.sh && ./configure && make && make install
  • echo "varnish:yourPass" > /etc/varnish/agent_secret
  • varnish-agent

VAG

  • yum install python-devel mariadb-devel mysql-devel

  • mkdir /var/log/vag/

  • pip install mysql-python

  • git clone https://github.com/nopp/vag

  • python setup.py install

  • Create database VAG (on MySQL) and import /etc/vag/vag.sql

  • Verify workdir on /etc/init.d/vag, if necessary change to the correct.

  • Start the application: /etc/init.d/vag start

  • Put vcl_updater.sh on cron, on all varnish agents:

  • 10 * * * * vcl_updater.sh

    This little "hammer" will be fixed on the new versions.

How to access

http://ip:5010

  • Admin user: admin/admin
  • View user: view/view

About

Varnish Administration GUI (Open Source VAC Alternative)

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors