Is there a way to monitor a log file and trigger an action if a specific string of text is missing? Cheers, Leon Hewitt asked 31 May '16, 22:45 CITS-MOE |
Hi Leon, The Log File Monitor as you know checks a text log file for the specific text. However, it doesn't have the ability to do what you are asking for. You could use an Execute Script Monitor to check the file to make sure that specific text is found. In fact there is a sample script on the documentation page that do just that. Thanks Please make sure to mark your questions accepted when you have your answer by clicking the gray check mark to the left of the answer. answered 01 Jun '16, 09:09 Quinn ♦♦ Thanks Quinn, I might look into the Execute Script side of things. I am currently using a Log File Monitor as it checks our license server for "Error" "Exiting" or "Failed" but the other day i found the service was down but the log file had completely blanked itself. Was hoping i could adapt the existing monitor to also detect a blank file. Cheers, Leon Hewitt
(01 Jun '16, 21:19)
CITS-MOE
|