Hi Alex,
we use 3rd party incident management tool. In this tool we forward HOSTMONITOR "Warning" and "Bad" events and update the same events when test restores "good" status via Execute external program action. For insert I use in the moment %TestID%+%StatusChangedTime% and for update %TestID%+%PreviousStatusTime%. So I have the same update ID in both actions.
But in some cases this don't works as as expected (for instance when after "Bad" status follows "Warning" status or after restart of Hostmonitor). So a new unwanted incident is created in 3rd party tool when test restores "good" status.
The new variable %FailureID% works unfortunately in the same way.
Is it possible to extend this variable so that all failed tests in a row (including unknown and warning status) without using "Treat Unknown as Bad" or "Treat Warning as Bad" option keep same unique failure ID till test restores "good" status? Additionally I need variable %LastFailureID% to update existing incident.
Or you have any other idea to update existing incident in 3rd party tool when test restores "good" status?
Best regards
Enrico
using unique failure ID as parameter of actions (%FailureID%
May be such behaviour is good for you but it does not fit HM logic and I don't think everybody will be happy.Is it possible to extend this variable so that all failed tests in a row (including unknown and warning status) without using "Treat Unknown as Bad" or "Treat Warning as Bad" option keep same unique failure ID till test restores "good" status?
I have added this task into "to do" listAdditionally I need variable %LastFailureID% to update existing incident
Regards
Alex
Re: using unique failure ID as parameter of actions (%Failur
How about looking at %TestID% ?rc wrote:Or you have any other idea to update existing incident in 3rd party tool when test restores "good" status?
You recieve an alert on TestID=200. Test changes to status Warning
Update status in 3rd party tool to Warning
You recieve new alert on TestID=200. Test changes to status Bad
Update status in 3rd party tool to Bad
You recieve new alert on TestID=200. Test changes to status Ok
Update status in 3rd party tool to OK
Would that be possible for you...?
There is unofficial update: www.ks-soft.net/download/hm815.zip
It supports %LastFailureID% variable
You may install offical version 8.14, unzip the file and replace hostmon.exe module (you don't really need to update rma)
Regards
Alex
It supports %LastFailureID% variable
You may install offical version 8.14, unzip the file and replace hostmon.exe module (you don't really need to update rma)
Regards
Alex