All Projects → eshengsky → pm2-server-monitor

eshengsky / pm2-server-monitor

Licence: MIT license
The monitor for pm2 node.js servers, with nice web UI.

Programming Languages

CSS
56736 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to pm2-server-monitor

Pm2 Server Monit
Monitor server CPU / Memory / Process / Zombie Process / Disk size / Security Packages / Network Input / Network Output
Stars: ✭ 247 (+626.47%)
Mutual labels:  monitor, pm2
Pm2 Syslog
PM2 module to redirect application logs to syslog
Stars: ✭ 34 (+0%)
Mutual labels:  monitor, pm2
Pm2 Logrotate
Automatically rotate all applications logs managed by PM2
Stars: ✭ 905 (+2561.76%)
Mutual labels:  monitor, pm2
pm2-docker
Monitor Docker Daemon (expose host docker daemon for monitoring)
Stars: ✭ 21 (-38.24%)
Mutual labels:  monitor, pm2
audria
audria - A Utility for Detailed Ressource Inspection of Applications
Stars: ✭ 35 (+2.94%)
Mutual labels:  monitor
speedy
Test, track, monitor and analyze your internet speed.
Stars: ✭ 35 (+2.94%)
Mutual labels:  monitor
vaper
Take a look at the relations among servers.
Stars: ✭ 16 (-52.94%)
Mutual labels:  monitor
monitor-man
HTTP API monitor based on postman and newman.
Stars: ✭ 44 (+29.41%)
Mutual labels:  monitor
react-ssr-spa
Server side rendered single page app using reactjs official libraries.
Stars: ✭ 30 (-11.76%)
Mutual labels:  pm2
pm2-prometheus-exporter
🐰 🐰 pm2 prometheus exporter
Stars: ✭ 90 (+164.71%)
Mutual labels:  pm2
mix-agent
基于rust语言开发的一套运维监控探针,支持widnows、linux、macos系统
Stars: ✭ 14 (-58.82%)
Mutual labels:  monitor
bundlemon
Monitor your bundle size
Stars: ✭ 53 (+55.88%)
Mutual labels:  monitor
performance monitor
Monitor Linux system
Stars: ✭ 30 (-11.76%)
Mutual labels:  monitor
Intercept-netkeeper-account
截取NetKeeper拨号时的真实账号,截获到的账号可以用于路由器、电脑等的pppoe拨号,可用4.9及其以下版本的NetKeeper
Stars: ✭ 57 (+67.65%)
Mutual labels:  monitor
node-js-starter-kit
This is the starter kit project for node js REST API development with express js, mongodb, typescript, webpack specially designed for REST API projects.
Stars: ✭ 14 (-58.82%)
Mutual labels:  pm2
reactnest-boilerplate
🗼A starter project template with (Ngnix, ReactJS, Redux, Redux Thunk, React Router, NestJS, TypeORM, PostgreSQL, Docker, PM2) + (Code Style, Conventional Changelog with Commitlint, Husky, Git CZ)
Stars: ✭ 85 (+150%)
Mutual labels:  pm2
system-monitor
Qt based replacement for gnome system monitor
Stars: ✭ 16 (-52.94%)
Mutual labels:  monitor
host-stat-go
Go module for collecting host stat
Stars: ✭ 28 (-17.65%)
Mutual labels:  monitor
StatusPilatus
Monitor your PC like never before!
Stars: ✭ 52 (+52.94%)
Mutual labels:  monitor
swarm-monitor
Monitor a Docker Swarm with Blinkt! LED
Stars: ✭ 48 (+41.18%)
Mutual labels:  monitor

pm2-server-monitor

The monitor for pm2 servers, with nice web UI.

Preview

image

Usage

Install the monitor module with npm, in your project:

> npm i --save pm2-server-monitor

Use the module in top of your project code:

const monitor = require('pm2-server-monitor');
monitor({
    // your server name, as a flag
    name: 'local',

    // your server listening port
    port: 3001
});

Your can view the ./example folder for reference.

Start your server with PM2, don't forget the --no-treekill argument:

> pm2 start bin/www -i max --no-treekill

Add the servers info in ./webUI/config.js file:

const servers = {
    'local': [{
        ip: '127.0.0.1',
        port: 3001,
        show: false
    }]
}

Open ./webUI/index.html to see the monitor UI.

Note: you can put the ./webUI folder anywhere, it has zero dependencies.

Enjoy it :)

License

The MIT License (MIT)

Copyright (c) 2018 Sky

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].