You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
5 years ago | |
---|---|---|
config | 5 years ago | |
vendor | 5 years ago | |
Gopkg.lock | 5 years ago | |
Gopkg.toml | 5 years ago | |
LICENSE | 5 years ago | |
README.md | 5 years ago | |
main.go | 5 years ago | |
servers.go | 5 years ago | |
servers_list.go | 5 years ago | |
servers_status.go | 5 years ago | |
snapshots.go | 5 years ago | |
snapshots_age.go | 5 years ago | |
snapshots_count.go | 5 years ago | |
storages.go | 5 years ago | |
storages_list.go | 5 years ago |
README.md
gridscale-check
A variety of commands to check various aspects of your IaaS-assetts at gridscale. This check makes use of libretto. However, since the gridscale-support has not been merged yet, it imports libretto from here:
https://g.hazardous.org/fkr/libretto
The check-command looks in config/check.toml
for a config file containing (for now) just the
gridscale user and token. These can also be set via the environment:
GRIDSCALE_USER='userid'
GRIDSCALE_TOKEN='token'
commands
snapshots
$ gridscale-check snapshots count -w 2 -c 1 -u <uuid-of-storage>
$ gridscale-check snapshots age -w 1 -c 2 -u <uuid-of-storage>
servers
$ gridscale-check servers state -s active -u <uuid-of-server>
helper commands
There are some helper commands, such as listing servers and storages:
$ gridscale-check servers list
$ gridscale-check storages list