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><?xml version="1.0" encoding="UTF-8"?><request xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="4.00" xsi:noNamespaceSchemaLocation="FileTransfer.xsd"><managedTransfer> <originator><hostName>example.com.</hostName> <userID>mqm</userID></originator> <sourceAgent QMgr="QM_JUPITER" agent="AGENT_JUPITER"/> <destinationAgent QMgr="QM_JUPITER" agent="AGENT_SATURN"/> <transferSet><item checksumMethod="MD5" mode="binary"> <source disposition="leave" recursive="false"> <file>/srv/nfs/incoming/*.txt</file></source> <destination exist="error" type="directory"> <file>/srv/backup</file></destination> </item></transferSet></managedTransfer></request> </originalRequest> <updatedRequest><?xml version="1.0" encoding="UTF-8"?><request xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="4.00" xsi:noNamespaceSchemaLocation="FileTransfer.xsd"><managedTransfer> <originator><hostName>example.com.</hostName> <userID>mqm</userID></originator> <sourceAgent QMgr="QM_JUPITER" agent="AGENT_JUPITER"/> <destinationAgent QMgr="QM_JUPITER" agent="AGENT_SATURN"/> <transferSet><item checksumMethod="MD5" mode="binary"> <source disposition="leave" recursive="false"> <file>/srv/nfs/incoming/*.txt</file> </source><destination exist="error" type="directory"> <file>/srv/backup</file></destination> </item></transferSet></managedTransfer></request> </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><?xml version="1.0" encoding="UTF-8"?><request xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="4.00" xsi:noNamespaceSchemaLocation="FileTransfer.xsd"><managedTransfer> <originator><hostName>example.ibm.com.</hostName> <userID>mqm</userID></originator> <sourceAgent QMgr="QM_JUPITER" agent="AGENT_JUPITER"/> <destinationAgent QMgr="QM_JUPITER" agent="AGENT_SATURN"/> <transferSet><item checksumMethod="MD5" mode="binary"> <source disposition="leave" recursive="false"> <file>/srv/nfs/incoming/*.txt</file></source> <destination exist="error" type="directory"> <file>/srv/backup</file></destination> </item></transferSet></managedTransfer></request> </taskXML> </task> </tasks> </configuration> <pollInterval units="minutes">1</pollInterval> <batch maxSize="1"/> </lst:monitorList>