Defined Type: zabbix::template

Defined in:
manifests/template.pp

Overview

Define zabbix::template

This will upload an Zabbix Template (XML format)

Requirements

Parameters

templ_name

The name of the template. This name will be found in the Web interface

templ_source

The location of the XML file wich needs to be imported.

Example

zabbix::template { 'Template App MySQL':
  templ_source => 'puppet:///modules/zabbix/MySQL.xml'
}

Authors

Author Name: vlad.tkatchev@gmail.com

Copyright 2015 Vladislav Tkatchev

Parameters:

  • templ_name (Any) (defaults to: $title)
  • templ_source (Any) (defaults to: '')


29
30
31
32
33
34
35
36
37
38
# File 'manifests/template.pp', line 29

define zabbix::template (
  $templ_name   = $title,
  $templ_source = '',
) {

  zabbix::resources::template { $templ_name:
    template_name   => $templ_name,
    template_source => $templ_source,
  }
}