https://github.com/hobbyquaker/check_pm2
Nagios/Icinga Plugin to check PM2 Processes
https://github.com/hobbyquaker/check_pm2
check monitoring nagios-plugin nodejs pm2 process-manager
Last synced: about 1 year ago
JSON representation
Nagios/Icinga Plugin to check PM2 Processes
- Host: GitHub
- URL: https://github.com/hobbyquaker/check_pm2
- Owner: hobbyquaker
- License: mit
- Created: 2016-06-15T19:06:49.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-15T19:15:36.000Z (about 10 years ago)
- Last Synced: 2025-03-28T06:51:13.368Z (about 1 year ago)
- Topics: check, monitoring, nagios-plugin, nodejs, pm2, process-manager
- Language: JavaScript
- Size: 2.93 KB
- Stars: 9
- Watchers: 3
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# check_pm2
[](https://badge.fury.io/js/check_pm2)
[![License][mit-badge]][mit-url]
Nagios/Icinga Plugin to check [PM2](https://github.com/Unitech/pm2) Processes
## Installation
```npm install check_pm2 -g```
## Usage
```
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.
## License
MIT (c) Sebastian Raff
[mit-badge]: https://img.shields.io/badge/License-MIT-blue.svg?style=flat
[mit-url]: LICENSE