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

panmind-usage-tracker-server

Package Overview
Dependencies
Maintainers
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

panmind-usage-tracker-server

  • 1.1.5
  • Rubygems
  • Socket score

Version published
Maintainers
3
Created
Source

Panmind Usage Tracker Server

What is it?

An EventMachine-based server that opens an UDP socket and sends out received data to a database

Does it work?

Yes, we are using it in production.

Deploying

  • Install the gem on the target machine and run it with this command:

    $ usage_tracker [environment]

    If you run it into a Rails.root it will log and write pids in canonical dirs.

    or can be put under Upstart using the provided configuration file located in config/usage_tracker_server_upstart.conf. Check it out and modify it to suit your needs.

    The daemon logs to usage_tracker_server.log if the log directory exists and rotates its logs when receives the USR1 signal.

  • The daemon writes its pid into usage_tracker_server.pid

  • The daemon can be configured to work with couchdb or mongodb adapter. Look at the sample configuration file for hints.

  • If the daemon cannot start, e.g. because of unavailable database or listening address, it will print a diagnostic message to STDERR, log to usage_tracker.log and exit with status of 1.

  • The daemon exits gracefully if it receives the INT or the TERM signals.

FAQs

Package last updated on 24 Feb 2012

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