pmx
pmx copied to clipboard
Network monitoring knocks out AMQP connections
If network monitoring is turned on (pmx.init() with network: true), RabbitMQ server will abruptly close attempts to establish connection (amqplib on client).
+1 Just found out I cant use both at the same time.
+1
Node.js Timeout:
Error: Socket closed abruptly during opening handshake
RabbitMQ Log Entry:
=ERROR REPORT==== 26-Sep-2016::16:45:07 === closing AMQP connection <0.5604.0> (127.0.0.1:54533 -> 127.0.0.1:5672): {handshake_timeout,frame_header}
I will advice you to disable monitoring network in pmx for now, we are wrapping the socket constructor
to get those metrics in pure javascript (AMQP client must do the same)
What you could do is use pm2-server-monit
to monitor these datas since it use linux binary to get them, it should work well.