Puppet Class: zabbix::resources::proxy

Defined in:
manifests/resources/proxy.pp

Summary

This will create resources into puppetdb for automatically configuring proxy agent into zabbix front-end.

Overview

Parameters:

  • hostname (Any) (defaults to: undef)

    Hostname of the proxy.

  • ipaddress (Any) (defaults to: undef)

    The IP address of the machine running zabbix proxy.

  • use_ip (Any) (defaults to: undef)

    Whether to use ipadress instead of dns to connect.

  • mode (Any) (defaults to: undef)

    The kind of mode the proxy running. Active (0) or passive (1).

  • port (Any) (defaults to: undef)

    The port that the zabbix proxy is listening on.



7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'manifests/resources/proxy.pp', line 7

class zabbix::resources::proxy (
  $hostname  = undef,
  $ipaddress = undef,
  $use_ip    = undef,
  $mode      = undef,
  $port      = undef,
) {
  @@zabbix_proxy { $hostname:
    ipaddress => $ipaddress,
    use_ip    => $use_ip,
    mode      => $mode,
    port      => $port,
  }
}