Monitor file contents in a XML file on disk drive

Discussion created by 1_jstockton on Dec 23, 2011
Latest reply on Dec 27, 2011 by 1_keithk

I've searched the forums and found a lot of information about the going probe, but with the discussions I read, I haven't been able to come up with a working solution and frustration is setting in so I'm looking for some help.


I want to monitor a XML file stored on a drive of one of our servers and alarm whenever that contents changes.  It would be preferable if the alarm could contain all the attributes of the element for the change record, but would settle to have the complete contents of the file. I was planning on going with the logmon probe, but I'm open to options if there is something more suitable.


A sample of my file is:


<?xml version="1.0" encoding="utf-8" ?>
<Company Name="Some company" Id="123456789">
<code2 />
<Company Name="Some other company" Id="987654321">
<code2 /> 



The field names are generic, but the format is identical to the real file.  I appreciate any help.