cloudfoundry/bosh-hm-forwarder-release

Name: bosh-hm-forwarder-release

Owner: Cloud Foundry

Description: null

Created: 2017-01-09 17:16:29.0

Updated: 2017-01-12 22:56:01.0

Pushed: 2018-02-07 20:14:18.0

Homepage: null

Size: 46

Language: Shell

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Bosh HM Forwarder Release slack.cloudfoundry.org

Bosh HM Forwarder is a companion job to metron_agent that sends bosh health metrics through loggregator.

Usage

bosh_hm_forwarder is to be colocated with a metron_agent. It reads metrics from the host VM and forwards them (via UDP) to the metron_agent.

Deployment
Changes to Bosh Deployment

These instructions are colocating the job with metron_agent.

  1. Add the release to your deployment manifest.

    ases:
    
    • name: bosh-hm-forwarder
  2. version: latest

    • name: loggregator version: latest

    Then bosh upload release the latest bosh-hm-forwarder-release.

  3. Colocate the job that has metron_agent.

    :
    name: some_job_z1
    mplates:
    name: metron_agent
    release: loggegator
    name: boshhmforwarder
    release: bosh-hm-forwarder
    stances: 1
    source_pool: default
    tworks:
    - name: default
    operties:
    standard metron properties...
    

    Then bosh deploy this updated manifest.

  4. Validate the metrics can be seen.

    Assuming you are using bosh-hm-forwarder-release with CF Release, you can use the CF Nozzle plugin

    ozzle -filter ValueMetric | grep "system.cpu.user"
    
Enable Bosh Director with OpenTSDB Plugin

The bosh director needs to be updated to enable the OpenTSDB health monitor.

Example manifest

The example manifest provided in manifests/ requires that the vars generated from loggregator are passed in.

For example:

 -d boshhmforwarder -e <env> deploy manifests/boshhmforwarder.yml --vars-file ./loggregator-vars.yml

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.