#11
|
|||
|
|||
![]()
Hi Jurjan,
By chance, do you know how to get the history of the connection status ? With your code, I have only the current status Thank you in advance for your help. Regards |
#12
|
|||
|
|||
![]() Quote:
Last edited by Shakurr; 09-15-2015 at 07:13 PM. |
#13
|
|||
|
|||
![]() Quote:
I have been following this and I wanted to say thank you for all your work. This works for version 3.x! |
#14
|
|||
|
|||
![]()
@C3G,
mmmhhh, as far as I know (NOT very far) that's not possible out of the box. If needed I would have a channel pick up the connection status every X time. Then put that value in a database table, together with a key (channel_ID?) and time of collection and perhaps the name of the channel for us mere humans. Then when I would want to know the history i could simply query for it. |
#15
|
|||
|
|||
![]() Quote:
|
#16
|
|||
|
|||
![]()
@Small,
could you post some code? Perhaps someone here can help you. |
#17
|
|||
|
|||
![]()
In 3.4.x this works:
Code:
var defController = Packages.com.mirth.connect.server.controllers.DefaultExtensionController.create(); var monitor = defController.getServicePlugins().get(com.mirth.connect.plugins.dashboardstatus.DashboardConnectorStatusServletInterface.PLUGIN_POINT); connectorListener = monitor.getConnectorListener() var states = connectorListener.getConnectorStateMap(); // Status siehe: https://svn.mirthcorp.com/connect/branches/3.4.x/client/src/com/mirth/connect/plugins/dashboardstatus/DashboardConnectorStatusPanel.java thisState = states.get(channelID+'_0')[1] |
#18
|
|||
|
|||
![]()
Very good! Thank you for share the solution using mirth 3.4.x.
Works fine to me. Hugo |
#19
|
|||
|
|||
![]()
Hi Team,
I have a mirth channel source connector as 'Javascript Reader'. It's not showing any statistics in Dashboard. how to enable it? Thanks. Regards, Lakshmi |
#20
|
|||
|
|||
![]()
Is there a way to pull this information from the cli, or from the mirth connect api?
If not how do you set up the channel to pull this information? Details please total novice. Thanx in advance. |
![]() |
Thread Tools | |
Display Modes | |
|
|