Skip to content

emirozer/cf-doctor-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CloudFoundry CLI Plugin - Doctor

This plugin is obviously inspired from brew doctor :) It will scan your currently targeted cloudfoundry space to see if there are anomalies or useful action points that it can report back to you. Current functionality is only focused on apps and routes..

This plugin does not change any state or configuration, it merely just scans and gathers information than reports back anomalies.

Installation

Install pre-built plugin from https://plugins.cloudfoundry.org:

cf install-plugin -r CF-Community "doctor"

Alternatively, build and install from source:

go get github.com/cloudfoundry/cli
go get github.com/emirozer/cf-doctor-plugin
cd $GOPATH/src/github.com/emirozer/cf-doctor-plugin
go build
cf install-plugin cf-doctor-plugin

Usage

To triage the current space:

cf doctor

To triage all available spaces in current org:

cf doctor --all-spaces

Sample output

Screenshot