Socket
Book a DemoInstallSign in
Socket

cloudscopes

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cloudscopes

0.13.0
bundlerRubygems
Version published
Maintainers
1
Created
Source

Cloudscopes

Ruby gem to report system statistics to web based monitoring services such as CloudWatch

Features:

  • Easy to extend with additional metrics, using system classes or ruby experssions
  • Easily readable configuration using YAML
  • Metric conditions (only evaluate and publish metric if condition is met) allowing single simple configuration for hetrogenous environments
  • Conditions and value calculation done using Ruby expressions, allowing infinite customizability

Supported monitoring providers:

  • Amazon Cloudwatch

Supported metrics to monitor:

  • Linux /proc/meminfo data
  • Linux /proc/cpuinfo data
  • Linux /proc/loadavg data
  • Linux /proc/diskstats data
  • Linux SysV service status
  • Bluepill service status
  • Redis queue size (for Resque, but may possible work with other protocols)
  • Network port listen status

Installation

  • Install the gem into your system's Ruby: $ sudo gem install cloudscopes
  • Setup the system with the default configuration and cron job: $ sudo cloudscopes-setup
  • Edit the configuration file according to your requirements: $ sudo editor /etc/cloudscopes-monitoring.yaml

Usage

Cloudscopes monitoring script will be run every minute using the cron system, and will publish all specified metrics to the monitoring service. Alternatively, the cloudscopes-monitor command can be called directly, by providing the path to the cloudscopes configuration file and one of the following options:

  • -t : instead of publishing the calculated metrics, dump them to the console. Useful for testing

If no additional options are specified, the default behavior of the monitor command is to publish the metrics using the configured provider.

Contributing

  • Fork it ( https://github.com/guss77/cloudscopes/fork )
  • Create your feature branch (git checkout -b my-new-feature)
  • Commit your changes (git commit -am 'Add some feature')
  • Push to the branch (git push origin my-new-feature)
  • Create a new Pull Request

FAQs

Package last updated on 20 Jul 2017

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.