npm pm2 logs configuration with Nagios

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rkpotdar
Posts: 3
Joined: Thu Jun 01, 2017 6:27 am

npm pm2 logs configuration with Nagios

Post 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
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: npm pm2 logs configuration with Nagios

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked