5.32. varnish

Monitor maagement metrics of a Varnish instance.

loader

lua

object

noit.module.varnish

5.32.1. Module Configuration

5.32.2. Check Configuration

port
required

optional

default

8081

allowed

\d+

Specifies the port on which the management interface can be reached.

Example 5.33. Monitor two varnish instances with management on port 8081

The following example pulls are metrics available from Varnish running on 10.1.2.3 and 10.1.2.4

      <noit>
        <modules>
          <loader image="lua" name="lua">
            <config><directory>/opt/reconnoiter/libexec/modules-lua/?.lua</directory></config>
          </loader>
          <module loader="lua" name="varnish" object="noit.module.varnish"/>
        </modules>
        <checks>
          <check uuid="2d42adbc-7c7a-11dd-a48f-4f59e0b654d3" module="varnish" target="10.1.2.3" />
          <check uuid="324c2234-7c7a-11dd-8585-cbb783f8267f" module="varnish" target="10.1.2.4" />
        </checks>
      </noit>