metron_agent job from cf/220
Github source:
84ae8d56
or
master branch
Properties¶
etcd
¶
machines
¶IPs pointing to the ETCD cluster
maxconcurrentrequests
¶Number of concurrent requests to ETCD
- Default
10
loggregator
¶
dropsonde_incoming_port
¶Port where loggregator listens for dropsonde log messages
- Default
3457
etcd
¶
machines
¶IPs pointing to the ETCD cluster
loggregator_endpoint
¶
shared_secret
¶Shared secret used to verify cryptographically signed loggregator messages
metron_agent
¶
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
etcd_query_interval_milliseconds
¶Interval for querying ETCD for trafficcontroller heartbeats
- Default
5000
incoming_port
¶Incoming port for legacy log messages
- Default
3456
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
zone
¶Availability zone where this agent is running
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
[]
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
(frommetron_agent_ctl.erb
)config/logrotate.conf
(fromlogrotate.conf.erb
)config/metron_agent.json
(frommetron_agent.json.erb
)config/metron_agent_logrotate.cron
(frommetron_agent_logrotate.cron.erb
)config/syslog_forwarder.conf
(fromsyslog_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.