Zabbix Share

Zabbix templates, modules & more
Log in
Choose social to login:
Login With Google
Login With Github

Nav view search

Navigation

Advanced Search
  • Applications
    • 1C
    • Anti-Virus
    • Backup
    • Bug and issue tracking
    • Cluster
    • Clustered File Systems
    • DNS
    • Excel Export
    • Firewall
    • HelpDesk System
    • High Availability (HA)
    • Java Application
    • Mail servers
    • Misc
    • Monitoring System
    • NFS
    • NTP
    • Others
    • Pi-Hole
    • Process Managers
    • Queue managers
    • Security
    • SIEM
    • Skype
    • Ticketing System
    • Time synchronization
    • TV Broadcasting
    • Web-servers
  • Cloud
  • Databases
  • Network Appliances
  • Network Devices
  • Official Templates
  • Operating Systems
  • Power (UPS)
  • Printers
  • SCADA, IoT, Energy, Home Automation, Industrial monitoring
  • Server Hardware
  • Storage Devices
  • Telephony
  • Unsorted
  • Virtualization
  • Zabbix
  • Recently Added
  • Recently Updated
  • Popular
  • Most Rated
  • Top Rated
  • Most Reviewed

Varnish cache usage monitoring

  • 917.png
  • 918.png

This template allows you to track the activity of your Varnish cache servers.


Varnish is an HTTP accelerator designed for content-heavy dynamic web sites as well as APIs.

You will be able to see the quantity of requests received and transmitted, and know how often the cache has been useful (so as not to overload your web servers).

Alerts let you know if the service has dropped, if the port has changed, or if the server is not operating normally.

This template doesn't need any password, it uses the varnish CLI, and python that is installed by default on most recent linux distros (so no additional package to install).

 

graph demo

Data monitored
setting up procedure:


Template configuration zabbix-side

* Import zabbix template file zabbix_varnish_app_template.xml on zabbix server
* Select a varnish hosts and add "Template App Varnish"



Configuration on varnish server side

* Allow varnish to use netstat:

sudo echo "zabbix ALL = (ALL) NOPASSWD: / bin / netstat" >> / etc / sudoers

* Allow zabbix user to read varnish secret file:
chmod + r /etc/varnish/secret

* Add zabbix to varnish group to use varnish CLI:
sudo usermod -a -G varnish zabbix

* Copy userparameter_varnish.conf to /etc/zabbix/zabbix_agentd.d/userparameter_varnish.conf

* Copy varnish_metrics.py to /etc/zabbix/varnish_metrics.py

* Set execution right with :

sudo chmod + x /etc/zabbix/varnish_metrics.py

* restart agent:
sudo service zabbix-agent restart

If you have issues, please contact authors to help us to improve this template.

Rating
556
★★★★★
6 votes

Listing Details

Type
Template
Min Zabbix version
4.0.x
Features
  • Zabbix Agent
Link
www.yooda.com
Created
2020-04-17
Modified
2020-09-30 08:12:42
Version 4.4
Download (352 downloads)
1 version, '2020-04-17 15:16' modified
Tags
varnish, zabbix, agent, template, cache, history, usage
Author
[email protected], [email protected]
Owner
Robin TALMA
RecommendReportOwner's listing
All resources created by third parties; use at your own risk
© 2001-2018 by Zabbix SIA. All rights reserved. Trademark Policy · Contact us