MFT monitor log message examples

Examples of the messages that are published to the SYSTEM.FTE topic with a topic string of Log/agent_name/monitor_ID when a monitor action occurs.


Monitor created log message

<?xml version="1.0" encoding="UTF-8"?>
<monitorLog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
            version="4.00" 
            monitorName="MONITORTWO" 
            referenceId="414d51205553322e42494e44494e47538b0f404d04410020" 
            xsi:noNamespaceSchemaLocation="MonitorLog.xsd">
    <originator>
        <hostName>example.com.</hostName>
        <userID>mqm</userID>
        <mqmdUserID>mqm</mqmdUserID>
    </originator>
    <references>
        <createRequest>414d51205553322e42494e44494e47538b0f404d04410020</createRequest>
    </references>
    <action time="2011-01-26T12:41:24Z">start</action>
    <monitorAgent agent="AGENT_JUPITER" QMgr="QM_JUPITER"/>
    <status resultCode="0"/>
</monitorLog>


Monitor condition satisfied log message

<?xml version="1.0" encoding="UTF-8"?>
    <monitorLog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                version="4.00" 
                monitorName="MONITORONE" 
                referenceId="414d51205553322e42494e44494e47538b0f404d09430020"
                xsi:noNamespaceSchemaLocation="MonitorLog.xsd">
    <originator>
        <hostName>example.com.</hostName>
        <userID>mqm</userID>
        <mqmdUserID>mqm</mqmdUserID>
    </originator>
    <references>
        <createRequest>414d51205553322e42494e44494e47538b0f404d09430020</createRequest>
    </references>
    <action time="2011-01-26T12:56:46Z">triggerSatisfied</action>
    <monitorAgent agent="US2.BINDINGS.FILE" QMgr="US2.BINDINGS"/>
    <status resultCode="0"/>
    <monitorMetaData>
        <originalMetaData>
            <metaData key="AGENTNAME">AGENT_JUPITER</metaData>
            <metaData key="LASTMODIFIEDDATEUTC">2011-01-26</metaData>
            <metaData key="CURRENTTIMESTAMPUTC">20110126125646793</metaData>
            <metaData key="CURRENTTIMESTAMP">20110126125646793</metaData>
            <metaData key="LASTMODIFIEDDATE">2011-01-26</metaData>
            <metaData key="FILENAME">new.completed</metaData>
            <metaData key="LASTMODIFIEDTIMEUTC">12.56</metaData>
            <metaData key="LASTMODIFIEDTIME">12.56</metaData>
            <metaData key="FILESIZE">0</metaData>
            <metaData key="FILEPATH">/srv/nfs/incoming/new.completed</metaData>
        </originalMetaData>
        <updatedMetaData>
            <metaData key="AGENTNAME">AGENT_JUPITER</metaData>
            <metaData key="LASTMODIFIEDDATEUTC">2011-01-26</metaData>
            <metaData key="CURRENTTIMESTAMPUTC">20110126125646793</metaData>
            <metaData key="CURRENTTIMESTAMP">20110126125646793</metaData>
            <metaData key="LASTMODIFIEDDATE">2011-01-26</metaData>
            <metaData key="FILENAME">new.completed</metaData>
            <metaData key="LASTMODIFIEDTIMEUTC">12.56</metaData>
            <metaData key="LASTMODIFIEDTIME">12.56</metaData>
            <metaData key="FILESIZE">0</metaData>
            <metaData key="FILEPATH">/srv/nfs/incoming/new.completed</metaData>
        </updatedMetaData>
    </monitorMetaData>
    <taskXMLRequest taskId="null">
        <originalRequest>&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;request 
                         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="4.00" 
                         xsi:noNamespaceSchemaLocation="FileTransfer.xsd"&gt;&lt;managedTransfer&gt;
                         &lt;originator&gt;&lt;hostName&gt;example.com.&lt;/hostName&gt;
                         &lt;userID&gt;mqm&lt;/userID&gt;&lt;/originator&gt;
                         &lt;sourceAgent QMgr="QM_JUPITER" agent="AGENT_JUPITER"/&gt;
                         &lt;destinationAgent QMgr="QM_JUPITER" agent="AGENT_SATURN"/&gt;
                         &lt;transferSet&gt;&lt;item checksumMethod="MD5" mode="binary"&gt;
                         &lt;source disposition="leave" recursive="false"&gt;
                         &lt;file&gt;/srv/nfs/incoming/*.txt&lt;/file&gt;&lt;/source&gt;
                         &lt;destination exist="error" type="directory"&gt;
                         &lt;file&gt;/srv/backup&lt;/file&gt;&lt;/destination&gt;
                         &lt;/item&gt;&lt;/transferSet&gt;&lt;/managedTransfer&gt;&lt;/request&gt;
        </originalRequest>
        <updatedRequest>&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;request 
                        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="4.00" 
                        xsi:noNamespaceSchemaLocation="FileTransfer.xsd"&gt;&lt;managedTransfer&gt;
                        &lt;originator&gt;&lt;hostName&gt;example.com.&lt;/hostName&gt;
                        &lt;userID&gt;mqm&lt;/userID&gt;&lt;/originator&gt;
                        &lt;sourceAgent QMgr="QM_JUPITER" agent="AGENT_JUPITER"/&gt;
                        &lt;destinationAgent QMgr="QM_JUPITER" agent="AGENT_SATURN"/&gt;
                        &lt;transferSet&gt;&lt;item checksumMethod="MD5" mode="binary"&gt;
                        &lt;source disposition="leave" recursive="false"&gt;
                        &lt;file&gt;/srv/nfs/incoming/*.txt&lt;/file&gt;
                        &lt;/source&gt;&lt;destination exist="error" type="directory"&gt;
                        &lt;file&gt;/srv/backup&lt;/file&gt;&lt;/destination&gt;
                        &lt;/item&gt;&lt;/transferSet&gt;&lt;/managedTransfer&gt;&lt;/request&gt;
        </updatedRequest>
    </taskXMLRequest>
</monitorLog>


Monitor condition not satisfied log message

<?xml version="1.0" encoding="UTF-8"?>
<monitorLog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            version="4.00"
            monitorName="MONITORONE"
            referenceId="414d51205553322e42494e44494e47538b0f404d09430020"
            xsi:noNamespaceSchemaLocation="MonitorLog.xsd">
    <originator>     
        <hostName>example.com.</hostName>  
        <userID>mqm</userID>   
        <mqmdUserID>mqm</mqmdUserID> 
    </originator> 
    <references>   
        <createRequest>414d51205553322e42494e44494e47538b0f404d09430020</createRequest>  
    </references> 
    <action time="2011-01-26T12:58:46Z">triggerNotSatisfied</action> 
    <monitorAgent agent="US2.BINDINGS.FILE" QMgr="US2.BINDINGS"/>  
    <status resultCode="0"/>
</monitorLog>


Monitor deleted log message

<?xml version="1.0" encoding="UTF-8"?>
<lst:monitorList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
                 xmlns:lst="http://www.ibm.com/xmlns/wmqfte/7.0.1/MonitorDefinition"
                 version="4.00"
                 agent="AGENT_JUPITER" 
                 monitor="MONITORONE" 
                 xsi:schemaLocation="http://www.ibm.com/xmlns/wmqfte/7.0.1/MonitorDefinition MonitorList.xsd">
    <status state="deleted"/>
    <configuration>     
        <description/>
        <resources>
            <directory recursionLevel="0" id="">/srv/nfs/incoming</directory>     
        </resources>     
        <triggerMatch>       
            <conditions>         
                <condition>           
                    <name/>           
                    <resource id=""/>           
                    <fileMatch>             
                        <pattern>*.completed</pattern>           
                    </fileMatch>         
                </condition>       
            </conditions>     
        </triggerMatch>     
        <tasks>       
            <task>         
                <name/>         
                <description/>         
                <taskXML>&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;request 
                         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="4.00" 
                         xsi:noNamespaceSchemaLocation="FileTransfer.xsd"&gt;&lt;managedTransfer&gt;
                         &lt;originator&gt;&lt;hostName&gt;example.ibm.com.&lt;/hostName&gt;
                         &lt;userID&gt;mqm&lt;/userID&gt;&lt;/originator&gt;
                         &lt;sourceAgent QMgr="QM_JUPITER" agent="AGENT_JUPITER"/&gt;
                         &lt;destinationAgent QMgr="QM_JUPITER" agent="AGENT_SATURN"/&gt;
                         &lt;transferSet&gt;&lt;item checksumMethod="MD5" mode="binary"&gt;
                         &lt;source disposition="leave" recursive="false"&gt;
                         &lt;file&gt;/srv/nfs/incoming/*.txt&lt;/file&gt;&lt;/source&gt;
                         &lt;destination exist="error" type="directory"&gt;
                         &lt;file&gt;/srv/backup&lt;/file&gt;&lt;/destination&gt;
                         &lt;/item&gt;&lt;/transferSet&gt;&lt;/managedTransfer&gt;&lt;/request&gt;
                </taskXML>       
            </task>     
        </tasks>   
    </configuration>   
    <pollInterval units="minutes">1</pollInterval>   
    <batch maxSize="1"/>
</lst:monitorList>