A non-performance monitor that monitors a String. This monitor “looks” to the String value and shows it in the monitor tree.
· In the monitor-configuration.xml this monitor is specified in the following way:
<text-monitor name="TimeOfLastRedeployment" configuration-group="DEPLOY.TimeOfLastRedeployment"> <monitored-resource name="deploy" type="SERVICE"/> <text-attribute-mapping> <text-attribute> <observed-resource-attribute name="TimeOfLastRedeployment"/> </text-attribute> </text-attribute-mapping> </text-monitor> |
· The method returning the monitored String is:
public String getTimeOfLastRedeployment(); |
In this example, this is a String representation of the time of the last redeployment.