Cinimex / mq-java-exporter

Exporter for IBM MQ metrics https://prometheus.io/
Apache License 2.0
26 stars 16 forks source link

Connect to multiple MQ Servers #153

Open tsoft-globalproject opened 4 years ago

tsoft-globalproject commented 4 years ago

Hello,

I would like to make a query, we have 10 servers, each one runs an MQ. And we are currently monitoring one from a remote client machine (pivot) If we wanted to monitor all MQ servers, we have to configure a remote client (pivot) for each MQ server.

Please your comments.

echerniak commented 4 years ago

Hello,

Currently, we don't have any plans about implementing such feature in the future. MQ exporter follows prometheus guidelines, which are located here. As you can see here: Each exporter should monitor exactly one instance application, preferably sitting right beside it on the same machine. So, even running MQ exporter on remote server is less productive and uses java client connection instead of java binding mode (check this for more info).

tsoft-globalproject commented 4 years ago

OK, you get the point, we will evaluate the implementation again.

The last question, it is also possible to know the status of the channels, the status of the QM, do you have an example dashboard that we can see please.

And this also works for QM installed on Windows.

Thanks for everything.

echerniak commented 4 years ago

Currently, we don't have grafana dashboard but it is planned for future here.

You can monitor channels (just add valid channel name under channels\include section of configuration file). Channel status explained here.

There is no QM-status metric at the moment. Running MQ exporter as MQ service on the same sever is preferable. In this case exporter will be stopped when MQ is stopped and exporter will be running if MQ is running. But I understand your need to obtain MQ status when exporter is running on remote server. Created #154 for this feature. Unfortunately, I can't give an approximate date when this functionality will be implemented.

tsoft-globalproject commented 4 years ago

OK, I just need to know if this can work on an MQ that runs on Windows.

Please your comments.

Many Thank.

echerniak commented 4 years ago

Yes, sure, MQ exporter can run on any OS, where java is supported.