Coder Social home page Coder Social logo

stackstorm_livestatus's Introduction

livestatus integration pack v0.2.0

Shinken/Nagios LiveStatus integration. Carlos [email protected]

Configuration

The following options are required to be configured for the pack to work correctly.

Option Type Required Secret Description
host string True False Livestatus host address
port integer True False Livestatus listening port

Actions

The pack provides the following actions:

execute_command

Execute an external command using the LiveStatus API. Reference: https://mathias-kettner.de/checkmk_livestatus.html

Parameter Type Required Secret Description
host_name string True default The table to be queried.
sticky boolean False default Cause the command to apply until the state changes to OK.
notify boolean default default Send a notification message.
persistent boolean False default Apply operation to persist between monitoring daemon restarts.
author string True default the name of the person who ran the command.
comment string True default the comment to apply to the operation.

host_to_address

Get the host address from the configuration by using the host name.

Parameter Type Required Secret Description
host string True default Unavailable

get

Retrieve data using the LiveStatus API. Reference: https://mathias-kettner.de/checkmk_livestatus.html

Parameter Type Required Secret Description
table string True default The table to be queried.
columns array False default A list of columns to retrieve in the result set.
filters array False default A list of filters to use as criterion for the result set.
stats array False default A list of basic statistical operations to run.
limit string False default Limit the number of rows being displayed in the result set.
output_format string False default Result format, JSON, Python or CSV. (Only JSON is implemented)
query_max_retries integer False default The number of times a query should be retried before abandoning the request.
query_duration integer False default The amount of time in seconds for a query to run before cancelling it.
query_retry_delay integer False default The amount of time to wait for retrying the query.
allow_empty_list boolean False default True: empty lists allowed, False: empty lists are treated as an error.

state_overview

Return the count of service checks by state (OK, WARNING, CRITICAL or UNKNOWN).

Parameter Type Required Secret Description
skip_notify n/a default default Unavailable

host_services_overview

Get the a hosts services state.

Parameter Type Required Secret Description
host string True default Host name to query.

contact_email

Get the contact name's email address.

Parameter Type Required Secret Description
name string True default Unavailable

Sensors

There are no sensors available for this pack.

Limitations

  • The query limit isn't supported under Shinken's LiveStatus implementation.
  • The author only has access to test against Shinken's LiveStatus implementation. While this should work for Nagios users, there is not testing performed against it.

References

Legal

This packs icon was kindly provided by https://icons8.com.

stackstorm_livestatus's People

Contributors

nzlosh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

tgerbier

stackstorm_livestatus's Issues

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.