using unique failure ID as parameter of actions (%FailureID%

Need new test, action, option? Post request here.
Post Reply
rc
Posts: 100
Joined: Mon Aug 01, 2005 7:51 am

using unique failure ID as parameter of actions (%FailureID%

Post by rc »

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
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

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?
May be such behaviour is good for you but it does not fit HM logic and I don't think everybody will be happy.
Additionally I need variable %LastFailureID% to update existing incident
I have added this task into "to do" list

Regards
Alex
User avatar
Stoltze
Posts: 174
Joined: Tue Feb 03, 2004 1:58 am
Location: Denmark

Re: using unique failure ID as parameter of actions (%Failur

Post by Stoltze »

rc wrote:Or you have any other idea to update existing incident in 3rd party tool when test restores "good" status?
How about looking at %TestID% ?

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...?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

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
Post Reply