Text Log display found line greyed out?
Text Log display found line greyed out?
Hello all,
W2K3E, HostMonitor V. 7.78, Test Method = text log, look for string = Maintenance, warn of all new events, display, found line selection box is greyed out?
Attempting to scrape the contents of a text file for "maintenance" mode and display in reply field in view (who and why) reasons for the maintenance mode. Then forward this as a variable in a e-mail alert as well.
I have been unable to get this to work, any ideas?
Thanks, Todd W...
W2K3E, HostMonitor V. 7.78, Test Method = text log, look for string = Maintenance, warn of all new events, display, found line selection box is greyed out?
Attempting to scrape the contents of a text file for "maintenance" mode and display in reply field in view (who and why) reasons for the maintenance mode. Then forward this as a variable in a e-mail alert as well.
I have been unable to get this to work, any ideas?
Thanks, Todd W...
I see several mistakes
1) You are using "Reverse alert" option. This means HostMonitor should set "Bad" status when there is no event detected.
2) You are using display mode "offset" instead of "found line"
3) If you want to set "Normal" status when target file is not exist, then you are using wrong expression. It should look like ('%SuggestedStatus%'=='Unknown')
Regards
Alex
1) You are using "Reverse alert" option. This means HostMonitor should set "Bad" status when there is no event detected.
2) You are using display mode "offset" instead of "found line"
3) If you want to set "Normal" status when target file is not exist, then you are using wrong expression. It should look like ('%SuggestedStatus%'=='Unknown')
Regards
Alex
There appears to be a timing or loading issue here. After about 40 attempts to get this working, and having finally got it working a couple of times. But not consistantly. It only has appeared about 2% of the time with no changes to the tests themselfs. The reply seems to only show up initially, but only on rare occasions, when dropping a system into maintenance mode. The auditing tool shows green and that it is able to perform all of the tests. Not sure at this point of a resolution for this.