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

mysql_replication_monitor

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mysql_replication_monitor

  • 0.1.6
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

mysql_replication_monitor

Utility to check the replication status between MySQL master and slave dbs set up to replicate to each other

All that is needed is to specify the two dbs by their Rails database config (environment) names (e.g. 'staging_master', 'staging_slave' or whatever).

Examples

specify both master and slave db configs

monitor = MysqlReplicationMonitor.new(:master => 'master', :slave => 'slave)

default slave to the current environment

monitor = MysqlReplicationMonitor.new(:master => 'master')

override the default time to cache the statuses (in seconds)

monitor = MysqlReplicationMonitor.new(:master => 'master', :slave => 'slave, :refresh_time => 10)

monitor = MysqlReplicationMonitor.new(:master => 'master', :slave => 'slave, :db_config_file => 'foofile.txt')

FAQs

Package last updated on 09 Apr 2010

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