watchdogcli
v1.2.0
Published
<!-- Improved compatibility of back to top link: See: https://github.com/othneildrew/Best-README-Template/pull/73 --> <a name="readme-top"></a>
Downloads
1
Keywords
Readme
Getting Started
Prerequisites
Installation
Install NPM package
npm install watchdogcli
Configure local metrics server
watchdog --start
Usage
List pods/containers/nodes
watchdog --[resourcetype]
Set a CPU usage alert threshold for a pod
watchdog --cpuwatch 70
Provide crash alerts (as well as any CPU alerts set prior with --cpuwatch)
watchdog --watch
Get metrics for all pods
watchdog --metrics
Complete List of Commands
| Command | Description | |---------------|-----------------------------------------------------| | --start | Installs metric server | | --pods | Displays all running pods | | --nodes | Displays all running nodes | | --containers | Displays all running containers | | --metrics | Displays metrics for a specific pod | | --nodeusage | Displays metrics for the one node | | --podusage | Displays metrics for a specific pod | | --podpercent | Displays metric percent for a specific pod | | --cpuwatch | Sets a pod CPU usage alert threshold (note: include a number after a space after the flag) | | --watch | Runs watchdog to provide pod crash, pod start, and CPU threshold alerts (set prior using --cpuwatch) | | --help | Displays available commands | | --wizard | Launches a help wizard |
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
See the open issues for a full list of proposed features (and known issues).
License
Distributed under the MIT License. See LICENSE.txt
for more information.
Contact
Ajax Abernathy - @linkedIn
Arjun V - @linkedIn
Jerry Perez - @linkedIn
Oliver Wendell-Braly - @linkedIn
Project Link: https://github.com/oslabs-beta/WatchDog
Team Website: https://www.getwatchdog.io