Mirth Community

Mirth Community (http://www.mirthcorp.com/community/forums/index.php)
-   Support (http://www.mirthcorp.com/community/forums/forumdisplay.php?f=6)
-   -   Best solution to monitor Mirth Connect (http://www.mirthcorp.com/community/forums/showthread.php?t=218260)

mehano 05-11-2018 11:48 AM

Best solution to monitor Mirth Connect
 
Hello everyone,

I work in IT infrastructure for a hospital in Belgium.
Currently, I have a new monitoring project (CA UIM).

Our application team has been using MIRTH Connect for several years.

Currently, MIRTH is in version 3.4.2.

At first, I would like to retrieve information from MIRTH.

I know we can use the CLI and the REST API (authentication problem - POST JSESSIONID)

The CA UIM solution can monitor via CLI / REST API: https://docops.ca.com/ca-unified-inf...log-monitoring

CA UIM can monitor via JVM / JMX : https://docops.ca.com/ca-unified-inf...ine-monitoring

I do not have any specific knowledge in Java / JavaScript / Web REST API, I would like to know what is the best solution to monitor the channels of MIRTH.

I would like some information on:

List of Channels
Channels Status
Channels Stats : Error / Queues
Channels : Connection State
Server / Instance MIRTH Status

I do not have any knowledge in the MIRTH application but we would like to add it to our monitoring tools.

Thank you for your feedback and your answers for the best solution for monitoring.

Best regards,

Geoffrey.

agermano 05-11-2018 03:02 PM

https://yourmirthhost:8443/api describes the Client (REST) api. I think you can pull everything on your list from there. If you have a valid login you can also test the api calls from the web page. It will pull data in XML format.

It's also possible for a Mirth dev to configure a channel to push all of those statistics to a server in any required format on a schedule, which you could also treat as a heartbeat if the stat collector channel stops sending.

mehano 05-14-2018 01:37 AM

Thank you for your reply.

I have access to the API. I need to try this with CA UIM.

But, when i use Postman for the test, it's not possible to use Basic Authentication with GET.

I saw that it was necessary to use POST but I do not know myself.

Thank you.

Saman 05-16-2018 10:10 PM

mirth connect
 
in need help for mirth, i need to take data from machine and then drop it somewhere in my directory

mehano 05-17-2018 11:17 PM

Quote:

Originally Posted by agermano (Post 263605)
https://yourmirthhost:8443/api describes the Client (REST) api. I think you can pull everything on your list from there. If you have a valid login you can also test the api calls from the web page. It will pull data in XML format.

It's also possible for a Mirth dev to configure a channel to push all of those statistics to a server in any required format on a schedule, which you could also treat as a heartbeat if the stat collector channel stops sending.

Thank you agermano, I have acces with CLI and API.

With API, i need to POST login / password before GET channels statistics.

I have more informations with the API.

Thank you very much.

bdearlove 05-18-2018 03:38 AM

I use the API along with PRTG Monitoring to query statistics and errors. Works really well with many alerting options.

siddharth 05-18-2018 03:59 AM

This sounds like an integration between logmon and Mirth REST APIs.
The documentation states that logmon can use the url_response probe to monitor. But again, probably this is not the place to ask questions about logmon. We can assist you with the functionality of the Mirth REST API, if you are having problem with any APIs as such.

mehano 05-22-2018 04:26 AM

Hello Guys,

Thank you for your reply.

I will use the REST API because the information is more complete.

I looked at the documentation on PRTG to monitor the REST APIs which is complete and I noticed that CA UIM has developed a RESTful API module at the request of the clients that was not included in the production monitors : https: / /docops.ca.com/ca-unified-infrastructure-management-probes/ga/en/probe-development-tools/restful-web-services

Thanks for your help.

mehano 05-22-2018 05:54 AM

Quote:

Originally Posted by bdearlove (Post 263662)
I use the API along with PRTG Monitoring to query statistics and errors. Works really well with many alerting options.

Hello bdearlove,

How you configure in PRTG the POST method before the GET for monitor values ?

Thank you,

Ligety 09-04-2018 11:57 PM

Quote:

Originally Posted by mehano (Post 263707)
Hello bdearlove,

How you configure in PRTG the POST method before the GET for monitor values ?

Thank you,

Hi mehano,

if you are still interested in monitoring Mirth using PRTG here are two approaches:

Custom Sensor which queries Mirth API and monitors system and channel stats, you can find more information how to use it here:
https://kb.paessler.com/en/topic/808...nect-with-prtg
or here: https://gitlab.com/PRTG/Sensor-Scrip...EXTGEN-Connect

You can also use the HTTP Push Data Advanced Sensor in PRTG to push Mirth stats directly to PRTG:
https://www.paessler.com/manuals/prt...dvanced_sensor

If you need further assistance feel free to contact me...

Regards,
Johannes


All times are GMT -8. The time now is 12:24 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation