Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sensu-plugins-statful

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sensu-plugins-statful

  • 0.0.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Sensu-Plugins-Statful

Gem Version

Functionality

Files

  • bin/metrics-statful.rb

Usage

metrics-statful

{
  "metrics-statful": {
      "client": {
        "transport": "http",
        "token": "my_token",
        "dryRun": true
      },
      "handler": {
        "status": true,
        "logging": true
      }
    }
}

The example above will allow you to test the handler without actually ingest metrics into Statful - it will print the potential metrics to stdout.

Client

The client section is used to configure the statful client that will ingest metrics into Statful.

The configuration is the same as the statful-ruby-client detailed here.

Please note that the flush_size option will always be overwritten to 1 in order to actually ingest metrics since the sensu handler isn't long lived.

Handler

The handler section is used to configure the behaviour of the handler itself as described in the table below:

OptionDescriptionTypeDefaultRequired
statusDefines if a metrics with the value of the check status should be sent.BooleanfalseNO
loggingDefines the handler should log the statful client messages to the log.BooleanfalseNO

Installation

Installation and Setup

Authors

Mindera - Software Craft

License

Statful sensu plugins are available under the MIT license. See the LICENSE file for more information.

FAQs

Package last updated on 06 Oct 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc