1.6.0 • Published 2 years ago

pm2-monitoring-to-influx v1.6.0

Weekly downloads
2
License
MIT
Repository
github
Last release
2 years ago

pm2-monitoring-to-influx

####Send basic pm2 monitoring data to influx db.

This pm2 module sends cpu and memory values for every service running in pm2 to influxdb. This can then be easily displayed in Grafana for basic monitoring with historial data.

To Install as a pm2 module:

pm2 install pm2-monitoring-to-influx

Then set the interval to monitor in ms and the influxdb credentials. The influx database should already be created:

pm2 set pm2-monitoring-to-influx:interval 1000
pm2 set pm2-monitoring-to-influx:host 'hostname'
pm2 set pm2-monitoring-to-influx:port 8086
pm2 set pm2-monitoring-to-influx:username 'user'
pm2 set pm2-monitoring-to-influx:password 'pass'
pm2 set pm2-monitoring-to-influx:database 'pm2-monitoring'

Then enable the service after configuration is set.

pm2 set pm2-monitoring-to-influx:enabled true
1.6.0

2 years ago

1.5.0

4 years ago

1.4.0

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago