Defined Type: varnish::monitoring::instance

Defined in:
modules/varnish/manifests/monitoring/instance.pp

Overview

Parameters:

  • instance (Any)


1
2
3
4
5
6
7
8
9
# File 'modules/varnish/manifests/monitoring/instance.pp', line 1

define varnish::monitoring::instance($instance) {
    $port = $title
    monitoring::service { "varnish http ${instance} - port ${port}":
        description    => "Varnish HTTP ${instance} - port ${port}",
        check_command  => "check_http_varnish!varnishcheck!${port}",
        check_interval => 3,
        notes_url      => 'https://wikitech.wikimedia.org/wiki/Varnish',
    }
}