Nagios/Icinga Plugin to check PM2 Processes
npm install check_pm2 -g
check_pm2 [options]
Options:
-A, --all check all processes
-I, --ignore Ignore process (may be repeated)
-P, --process Process to check (may be repeated)
-w, --warn Warn if restart count exceeds given value
-c, --crit Critical if restart count exceeds given value
-s, --stop-error Report an error if process is stopped
--version Show version number [boolean]
--help Show help [boolean]
Mind that check_pm2 has to be run under the same user that started the PM2 daemon.
MIT (c) Sebastian Raff