Page 1 of 1

npm pm2 logs configuration with Nagios

Posted: Fri Jun 16, 2017 5:18 am
by rkpotdar
Hello Team,
I want to know how the npm pm2 (Node process manager) processes can be checked from nagios and monitored on dashboard.
I have tried setting up check_pm2 on the machine which runs pm2 process, but I am not able to identify how we can link this to Nagios XI

Re: npm pm2 logs configuration with Nagios

Posted: Fri Jun 16, 2017 10:39 am
by cdienger
The client would need to use an agent like ncpa to run custom scripts. https://www.nagios.org/ncpa/getting-started.php#linux covers installing the agent and https://www.nagios.org/ncpa/help/2.0/active.html has some information regarding to how to run custom scripts.