Socket
Socket
Sign inDemoInstall

pm2-server-monit

Package Overview
Dependencies
352
Maintainers
3
Versions
31
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    pm2-server-monit

Rack to monitor a server


Version published
Weekly downloads
524
decreased by-22.71%
Maintainers
3
Created
Weekly downloads
 

Readme

Source

Description

PM2 module to automatically monitor vital signs of your server :

  • CPU average usage
  • Free and used drive space
  • Free and used memory space
  • Operating System
  • All processes running
  • TTY/SSH opened
  • Total opened files
  • Network speed (input and output)

pm2-server-monit

Install

$ npm install pm2 -g

$ pm2 install pm2-server-monit

Configuration

Default settings:

  • drive is /. If the value is incorrect or not found, / will be monitored by default.
  • small_interval is 1 second. Represents the refresh_rate of the cpu and network workers.

To modify the config values you can use Keymetrics dashboard or the following commands:

pm2 set pm2-server-monit:drive /
pm2 set pm2-server-monit:small_interval 10

:warning: If this module uses too much CPU, set the small_interval value to 10 or more.

Info

If you have ❌ in some categories, your OS configuration is not supported for this option.

Uninstall

$ pm2 uninstall pm2-server-monit

Update to latest version

$ pm2 module:update pm2-server-monit

License

MIT

FAQs

Last updated on 13 Dec 2017

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc