No project description provided
Project description
oshino-admin
Administration module for Oshino. Should come bundled together with Oshino itself.
Managing Plugins
oshino-admin plugin list
- lists all available plugins
oshino-admin plugin install <plugin_name>
- installs requested plugin
oshino-admin plugin uninstall <plugin_name>
- uninstalls requested plugin
Managing Oshino
oshino-admin start --config=config.yaml --pid=oshino.pid
oshino-admin status --pid=oshino.pid
oshino-admin stop --pid=oshino.pid
Be aware, that default PID path /var/run/oshino.pid
might be unaccessible by oshino-admin (Lacking of root permissions).
Custom pid path can be defined (as show in example above). Main problem is that you need to direct into correct PID for each service command.
Generating Config
oshino-admin config init <config_name>.yml
Querying metrics
oshino-admin query 'tagged "hw"' --config=config.yaml
You can run any query against Riemann using it's query DSL language. Short examples:
tagged "<tag>"
- retrieves metrics by tag
service = "<something>"
- gives metrics by service name. Same can be done for host
or other keys
service =~ "%<something>%"
- =~
marks that we're going to search by wildcard, %
marks that there can be anything (similar to SQLs LIKE %something%
)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file oshino-admin-0.2.0.tar.gz
.
File metadata
- Download URL: oshino-admin-0.2.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.5 CPython/3.9.1 Darwin/21.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 770bc6c84f013891f987718849aaf8ba40fc64906360c8a869e57538b96d435b |
|
MD5 | 94073c43eb4a60c08b22851aa7d16ea2 |
|
BLAKE2b-256 | e9303a524c2d17710cd893badd20c008ba1e2a25bc2512f748fa97a2bf805ce9 |
File details
Details for the file oshino_admin-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: oshino_admin-0.2.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.5 CPython/3.9.1 Darwin/21.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8080bc18b1f96eaad1db0955970655f096bdc540dbb16e60fc198984c339a802 |
|
MD5 | 37ed927eab9036c8b18e27370b98e81c |
|
BLAKE2b-256 | 3a7f5c8beebd676e2d1675cf36020371ffdcf3d59c37aa48824776fe97ec0955 |