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

gom-sensor-ports

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gom-sensor-ports

  • 0.2.4
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

gom-sensor-ports

Easy UDP/TCP sensor data sending to a remote GOM node. This gem includes a GNP callback server, support for automatic observer refreshments and command line tools for reading, writing and observing GOM entries.

Usage

The gem provides a daemon which connects your sensor to the GOM HTTP update protocol. You can start the daemon from the command line with its GOM URL:

$ gom-sensor-port http://gom.dev.artcom.de/sensor

The sensor will load its configuration from that GOM node. The configuration values and their defauls are:

  interface: '0.0.0.0'
  port:       44470
  verbose:    false
  mode:       :udp

(Note: only udp mode is currently implemented) Any of these defaults can be change from the command line:

$ gom-sensor-port --interface=1.1.1.23 http://gom.dev.artcom.de/sensor

gom-sensor-port will than listen to incoming sensor packages and interpret the incoming messages as simple key value pair which it writes to the GOM:

received from sensor:

foo:123

written to GOM:

/sensor:raw = 'foo:123'
/sensor/values:foo = '123'

Install

use the bundler tasks:

$ rake build install 

optional:

$ rake release

Dependencies

see Gemfile

Note on Patches/Pull Requests

  • Fork the project.
  • Make your feature addition or bug fix.
  • Add tests for it. This is important so I don't break it in a future version unintentionally.
  • Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
  • Send me a pull request. Bonus points for topic branches.

Copyright (c) 2010/13 art+com AG/dirk luesebrink. See LICENSE for details.

FAQs

Package last updated on 31 May 2013

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