Skip to content

metron_agent job from cf/241

Github source: 638c22f9 or master branch

Properties

loggregator

etcd

ca_cert

PEM-encoded CA certificate

Default
""
machines

IPs pointing to the ETCD cluster

maxconcurrentrequests

Number of concurrent requests to ETCD

Default
10
require_ssl

Enable ssl for all communication with etcd

Default
false

tls

ca_cert

CA root required for key/cert verification

Default
""

metron_agent

buffer_size

DEPRECATED

Default
10000

debug

boolean value to turn on verbose mode

Default
false

deployment

Name of deployment (added as tag on all outgoing metrics)

dropsonde_incoming_port

DEPRECATED - replaced by metron_agent.listening_port

Default
3457

enable_buffer

DEPRECATED

Default
false

etcd

client_cert

PEM-encoded client certificate

Default
""
client_key

PEM-encoded client key

Default
""

listening_address

Address the metron agent is listening on to receive dropsonde log messages provided for BOSH links and should not be overwritten

Default
127.0.0.1

listening_port

Port the metron agent is listening on to receive dropsonde log messages

Default
3457

logrotate

freq_min

The frequency in minutes which logrotate will rotate VM logs

Default
5
rotate

The number of files that logrotate will keep around on the VM

Default
7
size

The size at which logrotate will decide to rotate the log file

Default
50M

preferred_protocol

DEPRECATED - replaced with metron_agent.protocols

Default
udp

protocols

A priority list of protocols for metron to connect to doppler over. Metron will refuse to connect to doppler over any protocol not in this list.

Default
- udp

tcp

batching_buffer_bytes

The number of bytes which can be buffered prior to TCP writes (applies to TLS over TCP)

Default
10240
batching_buffer_flush_interval_milliseconds

The maximum time that a message can stay in the batching buffer before being flushed

Default
100

tls

client_cert

TLS client certificate

Default
""
client_key

TLS client key

Default
""

zone

Availability zone where this agent is running

metron_endpoint

shared_secret

Shared secret used to verify cryptographically signed dropsonde messages

syslog_daemon_config

address

IP address for syslog aggregator

custom_rule

Custom rule for syslog forward daemon

Default
""

enable

Enable or disable rsyslog configuration for forwarding syslog messages into metron

Default
true

fallback_addresses

Addresses of fallback servers to be used if the primary syslog server is down. Only tcp or relp are supported. Each list entry should consist of “address”, “transport” and “port” keys.

Default
[]

max_message_size

maximum message size to be sent

Default
4k

port

TCP port of syslog aggregator

transport

Transport to be used when forwarding logs (tcp|udp|relp).

Default
tcp

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/metron_agent/ directory (learn more).

  • bin/metron_agent_ctl (from metron_agent_ctl.erb)
  • config/certs/etcd-ca.crt (from etcd-ca.crt.erb)
  • config/certs/etcd-client.crt (from etcd-client.crt.erb)
  • config/certs/etcd-client.key (from etcd-client.key.erb)
  • config/certs/loggregator_ca.crt (from loggregator_ca.crt.erb)
  • config/certs/metron_agent.crt (from metron_agent.crt.erb)
  • config/certs/metron_agent.key (from metron_agent.key.erb)
  • config/logrotate.conf (from logrotate.conf.erb)
  • config/metron_agent.json (from metron_agent.json.erb)
  • config/metron_agent_logrotate.cron (from metron_agent_logrotate.cron.erb)
  • config/syslog_forwarder.conf (from syslog_forwarder.conf.erb)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.