Skip to content

sensu-plugins/sensu-plugins-varnish

Repository files navigation

Sensu-Plugins-varnish

Build Status Gem Version Code Climate Test Coverage Dependency Status

Functionality

Files

  • bin/metrics-varnish.rb
  • bin/check-varnish-status.rb

Usage

These checks need to sudo certain varnish scripts to be able to get status and metrics data. To ensure sensu can run these commands, add the following to /etc/sudoers.d/sensu-varnish or wherever you manage your sudo lists;

# Assuming that your varnish scripts are located in /usr/bin;
sensu ALL=(ALL) NOPASSWD: /usr/bin/varnishadm, /usr/bin/varnishstat

Installation

Installation and Setup

Notes