Comments (8)
pm2-server-monit is the app crashing, right ?
from pm2-server-monit.
Yes, status of pm2-server-monit is errored
and it's don't working.
My nodejs app and pm2-logrotate working good, but this tool not.
from pm2-server-monit.
Can you try uninstalling and reinstalling pm2-server-monit ?
pm2 uninstall pm2-server-monit;pm2 install pm2-server-monit
from pm2-server-monit.
Yes, I already tried it and I tried again just now. Nothing changed
from pm2-server-monit.
Anyone solve this ? We are gettin' like errors. What we gonna do ? Logs not understable.
from pm2-server-monit.
I had an issue of pm2 not starting because my OS has /bin/ifconfig
and no /sbin/ifconfig
. I had to hack the source files in node_modules
to get it to work.
Could we add a config variable to set this path?
Are there other commands that don't work on all OSes or that need su? I'm running as a dedicated pm2 user. My pm2-server-monit-error.log
has some other errors:
Error: 1
at /var/lib/pm2/node_modules/pm2-server-monit/lib/os.js:35:26
at /var/lib/pm2/node_modules/shelljs/src/exec.js:172:7
at ChildProcess.exithandler (child_process.js:209:5)
at emitTwo (events.js:100:13)
at ChildProcess.emit (events.js:185:7)
at maybeClose (internal/child_process.js:850:16)
at Socket.<anonymous> (internal/child_process.js:323:11)
at emitOne (events.js:90:13)
at Socket.emit (events.js:182:7)
at Pipe._onclose (net.js:475:12)
exec: internal error
exec: internal error
exec: internal error
exec: internal error
exec: internal error
[...]
from pm2-server-monit.
Had the same issue in docker image node:4.4.6
ifconfig is not used in new debian releases anymore. Installing it fixed it for me:
sudo apt-get update
sudo apt-get install net-tools
from pm2-server-monit.
@cinderblock: Used shelljs for more compatibility with ifconfig location
@marcelboettcher: Added ifconfig as requirement in the Readme, thanks!
This module heavily relies on a set of commonly used commands on unix distributions. If this still crashes on your system with version 2.x+ and ifconfig installed, please open a new ticket with detailed system information.
Cheers
from pm2-server-monit.
Related Issues (20)
- Monitor multiple disk volumes HOT 1
- Monitor https://github.com/openhardwaremonitor/openhardwaremonitor
- Current pm2-server-monit when running inside containers
- BIOS information
- Motherboard infos
- systeminformation
- pm2-server-monit status errored HOT 1
- Error message incorrect - implying virus infection HOT 1
- USE Method: Linux Performance Checklist
- Add more CPU metrics
- Current version is broken on MacOS. [cp is not defined] HOT 1
- Add windowsHide to spawn calls HOT 1
- TypeError: Cannot read property 'v1' of undefined HOT 1
- Save monitored data HOT 4
- Running on windows, p2-server-monit is calling linux commands HOT 10
- TypeError: Bad argument HOT 1
- ifconfig -s
- pm2-server-monit issue
- Memory usage reported in pm2.io does not correspond to what is shown by `htop` HOT 2
- zombie process
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pm2-server-monit.