https://github.com/emirozer/cf-doctor-plugin
brew doctor equivalent for cloudfoundry - :hospital:
https://github.com/emirozer/cf-doctor-plugin
cli-app cloudfoundry golang health-check
Last synced: 4 months ago
JSON representation
brew doctor equivalent for cloudfoundry - :hospital:
- Host: GitHub
- URL: https://github.com/emirozer/cf-doctor-plugin
- Owner: emirozer
- License: apache-2.0
- Created: 2015-12-09T20:25:55.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2019-04-29T08:55:41.000Z (almost 7 years ago)
- Last Synced: 2024-06-20T17:50:35.363Z (over 1 year ago)
- Topics: cli-app, cloudfoundry, golang, health-check
- Language: Go
- Homepage:
- Size: 51.5 MB
- Stars: 11
- Watchers: 5
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CloudFoundry CLI Plugin - Doctor
This plugin is obviously inspired from [brew](http://brew.sh/) doctor :) It will scan your currently `target`ed 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 :
```plain
cf install-plugin -r CF-Community "doctor"
```
Alternatively, build and install from source:
```plain
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:
```plain
cf doctor
```
To triage all available spaces in current org:
```plain
cf doctor --all-spaces
```
## Sample output
