Skip to main content

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

oshino-admin-0.2.0.tar.gz (4.6 kB view hashes)

Uploaded source

Built Distribution

oshino_admin-0.2.0-py3-none-any.whl (5.4 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page