Giter VIP home page Giter VIP logo

stackstorm-opscenter's Introduction

Datastax opscenter Integration Pack

This StackStorm Opscenter pack provides integrations to Datastax opscenter product via opscenter APIs. At the time of writing this pack, http://docs.datastax.com/en/ opscenter/5.1/api/docs/index.html was used.

Configuration

Copy the example configuration in opscenter.yaml.example to /opt/stackstorm/configs/opscenter.yaml and edit as required.

You'll need to setup base url for opscenter deployment and cluster_id that you want to work with in config.yaml.

---
opscenter_base_url: http://myopscenter.mydomain.com:8888
cluster_id: "TestCluster"

You can also use dynamic values from the datastore. See the docs for more info.

Actions

cluster_id in most of these actions are optional and is read from config.yaml. If you are operating multiple clusters with same opscenter, be sure to explicitly provide the cluster_id argument for the actions.

General actions

get_cluster_configs - Lists configurations of all clusters managed by opscenter.

Cluster actions

get_cluster_info - Lists info about specified cluster.

start_cluster_repair - Starts repair operation in specified cluster.

get_repair_status - Get status of repair operation in specified cluster.

get_cluster_repair_progress - Get repair progress for specified cluster.

restart_cluster - Restarts the specified cluster.

get_nodes_info - Dumps info about all nodes in cluster.

get_storage_capacity - Lists info about storage capacity of specified cluster.

Node actions

For node actions, node_ip argument is mandatory.

decommission_node - Decommissions a node from cluster.

drain_node - Drains a Cassandra node.

start_node - Starts the specified node.

stop_node - Stops the specified node.

restart_node - Restarts the specified node.

set_node_conf - Sets configuration for specified node.

get_node_conf - Dumps configuration for specified node.

Helper actions

get_request_status - Some actions return a request id. You can query status of request using this action.

cancel_request - Cancel a long running request.

list_requests - List all outstanding requests for a request type.

Sensors

EventsConsumer - Consumes all events from opscenter and injects them into StackStorm with trigger ref as opscenter.event and payload as event info. Please see sensors/events_consumer.yaml for event specification.

stackstorm-opscenter's People

Contributors

kami avatar cognifloyd avatar blag avatar lindsayhill avatar emedvedev avatar enykeev avatar nmaludy avatar

Stargazers

K avatar

Watchers

James Cloos avatar Mick McGrath avatar Dmitri Zimin(e) avatar Marcel Weinberg avatar Eugen avatar  avatar Ankur Singh avatar Amanda McGuinness avatar Ram Golla avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.