Hi Alex,
I have the following requirement - One of the applications in our server has some jobs running, one job every day and one job during weekends and for each job an xml file is generated. One way for me to set up alerts is to check every new file in that directory for the words "failed" or "successful" and take actions accordingly. But I want to know if the following is possible - I want to know if I will be able to open every new file and email me with the values in certain xml tags like "Job name", "Status" etc.
Please let me know.
Thanks.
Parse XML files
- Marcel DAVID
- Posts: 5
- Joined: Tue Jan 10, 2006 9:10 am
- Location: France
Just an advice
Hello !
By experience (the worst way ...), I know it's more complicated than testing the toggle "OK/ERROR" in a backup log file to be sure that the job has done what you have expected. In some situations, a backup may save quite nothing and report that all is working fine.
If you do not want to read carefully the logs, every day, you have to build an application which will report you : number of files saved, number of bytes saved, every message, comment, warning that is not normally present and so on ... This is not, in my opinion, a question that HM may solve.
But, but, but ...
Some streamers are reporting, using SNMP, some interesting status and counters. The one who is very interesting is : does the streamer nead a cleaning operation. I can't tell you the number of streamers I've encountered that are NEVER cleaned ! This, I'll monitor with HM.
I apologized for this post : it's not directly related to HM. I'm a newbee with HM but I've a too (?) long experience in IT ...
Regards
By experience (the worst way ...), I know it's more complicated than testing the toggle "OK/ERROR" in a backup log file to be sure that the job has done what you have expected. In some situations, a backup may save quite nothing and report that all is working fine.
If you do not want to read carefully the logs, every day, you have to build an application which will report you : number of files saved, number of bytes saved, every message, comment, warning that is not normally present and so on ... This is not, in my opinion, a question that HM may solve.
But, but, but ...
Some streamers are reporting, using SNMP, some interesting status and counters. The one who is very interesting is : does the streamer nead a cleaning operation. I can't tell you the number of streamers I've encountered that are NEVER cleaned ! This, I'll monitor with HM.
I apologized for this post : it's not directly related to HM. I'm a newbee with HM but I've a too (?) long experience in IT ...
Regards