From: BarbUk Date: Tue, 27 Nov 2018 15:35:58 +0000 (+0400) Subject: Add more info about varnish_param X-Git-Tag: v2.11.0-rc1~280^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=42cbd365bf42ec624f8ccfb1d29b0dedffcc8821;p=icinga2 Add more info about varnish_param --- 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. +