Replace pgq with trivial local queue implementation
authorMagnus Hagander <magnus@hagander.net>
Wed, 27 Apr 2016 11:17:32 +0000 (13:17 +0200)
committerMagnus Hagander <magnus@hagander.net>
Sat, 14 May 2016 17:49:12 +0000 (19:49 +0200)
commit2f8bbc40dd7e80b3d9ee2aa1ac7ee9c5bcfff777
tree467e26af3ca2d8b7d57218fede0b388ba066da79
parent37a24af1e8a7ab7be957b38e81d808b9b186aa22
Replace pgq with trivial local queue implementation

The queue used for varnish purges has so few entries that it's really
not worth paying the management overhead for skytools/pgq. Instead we
can use a very simple local deamon using LISTEN/NOTIFY to fire them off.

Now include a proper nagios plugin in this package, so we can get rid
of the not-very-nice munin plugin currently used in the deployment.
pgweb/core/views.py
pgweb/settings.py
sql/varnish.sql
templates/core/admin_purge.html
tools/pgq/varnish_consumer.py [deleted file]
tools/pgq/varnish_pgq.ini [deleted file]
tools/varnishqueue/nagios_check.py [new file with mode: 0755]
tools/varnishqueue/varnish_queue.py [new file with mode: 0755]