ummon-cli
The command line interface to the ummon server. Since ummon-server
only communicates over an HTTP API, you can install this module on any computer and as long as you have the url and a user and pass you can interact with it.
Installation
npm install -g ummon-cli
Usage
$ ummon --help
Commands:
create Add a new task to Ummon
delete Delete a Task
log Show recent log output. Filter logs by using --collection, --task or --run (only one!)
ps Show current worker counts and their pids
task Show the configuration for a task or group of tasks
Default options for every command
url
: The url whereummon-server
is accepting connectionsretries
: The number of timestimeout
: Time to waitusername
password
.ummonrc
file
The You can save all of the above settings in ~/.ummonrc
so you don't have to type them in every time.
$ cat ~/.ummonrc
Warning! Obviously if you save your password, it will be saved in clear text. Use appropriate caution