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

pm2-redis

Package Overview
Dependencies
Maintainers
4
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pm2-redis

PM2 Module to monitor redis

  • 2.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
16
Maintainers
4
Weekly downloads
 
Created
Source

Description

PM2 module to monitor a Redis server with Keymetrics

Install

pm2 install pm2-redis

Configure

  • workerInterval (Defaults to 2 in secs) : You can control at which interval the worker is updating the stats (minimum is 1)
  • ip (Defaults to 127.0.0.1): Set the host of your redis server (can be load from PM2_REDIS_IP env var)
  • port (Defaults to 6379): Set the port of your redis server (can be load from PM2_REDIS_PORT env var)
  • password (Defaults to none): Set the password if you have activated the authentification (can be load from PM2_REDIS_PWD env var)
How to set these values ?

After having installed the module you have to type : pm2 set pm2-redis:

e.g:

  • pm2 set pm2-redis:workerInterval 5 (every 5 seconds)
  • pm2 set pm2-redis:ip 42.42.42.42 (ip of my redis server)
  • pm2 set pm2-redis:password "bestpassword" (the password will be used to connect to redis)

Uninstall

pm2 uninstall pm2-redis

FAQs

Package last updated on 28 Nov 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