Go to file
Felix Kronlage-Dammers fba073fb3a add check for firewall state 2018-05-14 11:44:09 +02:00
config example config 2018-04-22 00:08:23 +02:00
vendor dep 2018-04-25 00:23:28 +02:00
Gopkg.lock add Gopkg files 2018-04-25 11:58:43 +02:00
Gopkg.toml add Gopkg files 2018-04-25 11:58:43 +02:00
LICENSE first real working version 2018-04-24 23:55:15 +02:00
README.md note on authentication & configuration 2018-04-25 00:35:13 +02:00
main.go go fmt 2018-04-25 00:21:15 +02:00
servers.go go fmt 2018-04-25 00:21:15 +02:00
servers_list.go go fmt 2018-04-25 00:21:15 +02:00
servers_status.go add check for firewall state 2018-05-14 11:44:09 +02:00
snapshots.go go fmt 2018-04-25 00:21:15 +02:00
snapshots_age.go don't panic if we don't have any snapshots when checking the age. 2018-04-25 13:49:48 +02:00
snapshots_count.go go fmt 2018-04-25 00:21:15 +02:00
storages.go go fmt 2018-04-25 00:21:15 +02:00
storages_list.go go fmt 2018-04-25 00:21:15 +02:00

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