A monitor is a unit of observation of something, usually a system log, like Q2.log, or a log DataBase table or a transactional table.
Here is the model.
An example monitor is:
<!DOCTYPE entity SYSTEM "cfg/monitor.dtd">
<monitor>
<id>q2</id>
<source class="org.jpos.ee.pm.core.monitor.FileMonitorSource" >
<properties>
<property name="filename" value="log/q2.log" />
</properties>
</source>
<formatter class="org.jpos.ee.pm.core.monitor.MonitorFormatter" />
<delay>3000</delay>
<max>100</max>
</monitor>
The result of monitoring this file is something like
It's an auto-refresh window that shows the tail of the file.
Monitors had suffer a design change. I will post new model soon but definition of xml is exactly as in this post and final result too.
ReplyDeletehow to run jpopm-vaadin application...
ReplyDeleteThis is certainly as well a really good posting we seriously experienced looking through. It is far from on a daily basis we have risk to check out a little something. http://gecey.com/transparent-monitor
ReplyDelete