Skip to content

Bash Script to fetch variable stats data from Varnish and push it to graphite

Notifications You must be signed in to change notification settings

thomasuebel/varnishstats-graphite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

varnishstats-graphite

Poor mans way of pushing varnish stats data to graphite with nothing but Bash. The script fetches variable metrics from Varnish and pushes them to graphite

Requirements

The following requires to be present on the target system:

  • bc
  • netcat
  • varnish (duh!)

Use

Configure GRAPHITE_PREFIX, GRAPHITE_HOST, GRAPHITE_PORT or use the defaults provided.

The script will fetch selected varnishstats data (configured in VARNISH_METRICS_ACCUMULATED), including the cache hitratio and push it graphite.

About

Bash Script to fetch variable stats data from Varnish and push it to graphite

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages