From 42cbd365bf42ec624f8ccfb1d29b0dedffcc8821 Mon Sep 17 00:00:00 2001 From: BarbUk Date: Tue, 27 Nov 2018 19:35:58 +0400 Subject: [PATCH] Add more info about varnish_param --- doc/10-icinga-template-library.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/10-icinga-template-library.md b/doc/10-icinga-template-library.md index 7887d24dd..388817d2d 100644 --- a/doc/10-icinga-template-library.md +++ b/doc/10-icinga-template-library.md @@ -5359,3 +5359,14 @@ varnish_name | **Optional.** Specify the Varnish instance name varnish_param | **Optional.** Specify the parameter to check (see below). The default is 'ratio'. varnish_critical | **Optional.** Set critical threshold: [@][lo:]hi varnish_warning | **Optional.** Set warning threshold: [@][lo:]hi + +For *varnish_param*, all items reported by varnishstat(1) are available - use the +identifier listed in the left column by `varnishstat -l`. In +addition, the following parameters are available: + +Name | Description +------------------------|---------------------------------------------------------------------------------- +uptime | How long the cache has been running (in seconds) +ratio | The cache hit ratio expressed as a percentage of hits to hits + misses. Default thresholds are 95 and 90. +usage | Cache file usage as a percentage of the total cache space. +