health_monitor job from bosh/256.10
Github source:
4129bb48
or
master branch
Properties¶
aws
¶
access_key_id
¶AWS access key id
secret_access_key
¶AWS secret access key
director
¶
address
¶Address of the Bosh Director to connect to
port
¶Port of the Bosh Director to connect to
- Default
25555
env
¶
http_proxy
¶HTTP proxy that the health monitor should use
https_proxy
¶HTTPS proxy that the health monitor should use
no_proxy
¶List of comma-separated hosts that should skip connecting to the proxy in the health monitor
event_nats
¶
address
¶Address of the event NATS message bus to connect to
password
¶Password for event NATS message bus connection
port
¶Port of the event NATS message bus port to connect to
user
¶User for the event NATS message bus connection
event_nats_enabled
¶
Enable event NATS message bus plugin
- Default
false
hm
¶
cloud_watch_enabled
¶Enable AWS CloudWatch Plugin
- Default
false
consul_event_forwarder
¶
events
¶Whether or not to use the events api
- Default
false
heartbeats_as_alerts
¶Should we treat all heartbeats as alerts as well?
- Default
false
host
¶Location of Consul Cluster or agent
namespace
¶A namespace for handling multiples of the same release
params
¶Params for url can be used for passing ACL token
port
¶Consul Port
- Default
8500
protocol
¶http/https
- Default
http
ttl
¶A ttl time for ttl checks, if set ttl checks will be used
ttl_note
¶A note for ttl checks
- Default
Automatically Registered by Bosh-Monitor
consul_event_forwarder_enabled
¶Enable Consul Plugin
- Default
false
datadog
¶
api_key
¶API Key for DataDog
application_key
¶Health Monitor Application Key for DataDog
pagerduty_service_name
¶Service name to alert in PagerDuty upon HM events
datadog_enabled
¶Enable DataDog plugin
- Default
false
director_account
¶
ca_cert
¶Certificate to verify UAA endpoint
- Default
""
client_id
¶UAA client id to access Bosh Director
- Default
""
client_secret
¶UAA client secret to access Bosh Director
- Default
""
password
¶Password to access Bosh Director
- Default
""
user
¶User to access Bosh Director
- Default
""
em_threadpool_size
¶EM thread pool size
- Default
20
email_interval
¶Interval (in seconds) to deliver alerts by email (optional)
email_notifications
¶Enable email notifications plugin
- Default
false
email_recipients
¶Email of recipients (Array)
graphite
¶
address
¶Graphite address
port
¶Graphite port
prefix
¶Prefix that will be added to all metrics sent to Graphite
graphite_enabled
¶Enable Graphite plugin
- Default
false
http
¶
port
¶TCP port Health Monitor daemon listens on
- Default
25923
intervals
¶
agent_timeout
¶Interval (in seconds) to consider an agent has timed out
- Default
60
analyze_agents
¶Interval (in seconds) to analyze the status of agents
- Default
60
log_stats
¶Interval (in seconds) to log Health Monitor statistics
- Default
60
poll_director
¶Interval (in seconds) to get the list of managed VMs from Bosh Director
- Default
60
poll_grace_period
¶Interval (in seconds) between discovering managed VMs and analyzing their status
- Default
30
prune_events
¶Interval (in seconds) to prune received events
- Default
30
rogue_agent_alert
¶Interval (in seconds) to consider an agent as rogue (an agent that is no part of any deployment)
- Default
120
loglevel
¶Level of log messages (fatal, error, warn, info, debug)
- Default
info
pagerduty
¶
http_proxy
¶HTTP proxy to connect to PagerDuty (optional)
service_key
¶PagerDuty service API key
pagerduty_enabled
¶Enable PagerDuty plugin
- Default
false
resurrector
¶
minimum_down_jobs
¶If the total number of down jobs in a deployment is below this threshold, the resurrector will always request a down job be recreated
- Default
5
percent_threshold
¶Percentage of total jobs in a deployment that must be down for the resurrector to to stop sending recreate-job requests. Used in ‘meltdown’ situations so resurrector will not try to recreate the world.
- Default
0.2
time_threshold
¶Time (in seconds) for which an alert in the resurrector is considered ‘current’; alerts older than this are ignored when deciding to recreate a job.
- Default
600
resurrector_enabled
¶Enable VM resurrector plugin
- Default
false
smtp
¶
auth
¶SMTP Authentication type (optional, only “plain” is supported)
domain
¶SMTP EHLO domain (typically server’s fully qualified domain name, e.g. “bosh.cfapps.io”)
from
¶Email of sender, e.g. “[email protected]”
host
¶Address of the SMTP server to connect to (e.g. “smtp.gmail.com”)
password
¶Password for SMTP Authentication (optional, use in conjuction with hm.smtp.auth)
port
¶Port of the SMTP server to connect to (e.g. 25, 465, or 587)
tls
¶Use STARTTLS (optional)
user
¶User for SMTP Authentication (optional, use in conjuction with hm.smtp.auth)
syslog_event_forwarder
¶
address
¶IP address of the syslog drain
custom_rule
¶Custom rule for syslog event forwarder
- Default
""
port
¶Port of the syslog drain
- Default
5514
transport
¶One of [“udp”, “tcp”, “relp”]
- Default
tcp
syslog_event_forwarder_enabled
¶Enable syslog forwarder plugin
- Default
false
tsdb
¶
address
¶Address of TSDB to connect to
port
¶Port of TSDB to connect to
tsdb_enabled
¶Enable TSDB plugin
- Default
false
nats
¶
address
¶Address of the NATS message bus to connect to
password
¶Password for NATS message bus connection
port
¶Port of the NATS message bus port to connect to
- Default
4222
user
¶User for the NATS message bus connection
Templates¶
Templates are rendered and placed onto corresponding
instances during the deployment process. This job's templates
will be placed into /var/vcap/jobs/health_monitor/
directory
(learn more).
bin/health_monitor_ctl
(fromhealth_monitor_ctl.erb
)config/health_monitor.yml
(fromhealth_monitor.yml.erb
)config/syslog_event_forwarder.conf
(fromsyslog_event_forwarder.conf.erb
)config/uaa.pem
(fromuaa.pem.erb
)
Packages¶
Packages are compiled and placed onto corresponding
instances during the deployment process. Packages will be
placed into /var/vcap/packages/
directory.