Skip to content

metron_agent job from cf/231

Github source: f67ebb73 or master branch

Properties

loggregator

dropsonde_incoming_port

Port where loggregator listens for dropsonde log messages

Default
3457

etcd

machines

IPs pointing to the ETCD cluster

maxconcurrentrequests

Number of concurrent requests to ETCD

Default
10

tls

ca_cert

CA root required for key/cert verification

Default
""

metron_agent

buffer_size

The size of the internal buffer used by metron before sending to Doppler

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

Incoming port for dropsonde log messages

Default
3457

enable_buffer

boolean value to turn on buffering

Default
false

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

Preferred protocol to droppler (udp|tls)

Default
udp

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
""

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/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.