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%)
Metadata
Release files for oshino-admin 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| oshino-admin-0.2.0.tar.gz | 4.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| oshino_admin-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.0 kB
Release files / oshino-admin-0.2.0.tar.gz
| Download URL | oshino-admin-0.2.0.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
770bc6c84f013891f987718849aaf8ba40fc64906360c8a869e57538b96d435b
|
|
BLAKE2b-256 checksum How to use checksums |
e9303a524c2d17710cd893badd20c008ba1e2a25bc2512f748fa97a2bf805ce9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.5 CPython/3.9.1 Darwin/21.2.0
|
Release files / oshino_admin-0.2.0-py3-none-any.whl
| Download URL | oshino_admin-0.2.0-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8080bc18b1f96eaad1db0955970655f096bdc540dbb16e60fc198984c339a802
|
|
BLAKE2b-256 checksum How to use checksums |
3a7f5c8beebd676e2d1675cf36020371ffdcf3d59c37aa48824776fe97ec0955
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.5 CPython/3.9.1 Darwin/21.2.0
|