KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

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

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Wish list
View previous topic :: View next topic  
Author Message
rc



Joined: 01 Aug 2005
Posts: 89

PostPosted: Fri Jun 12, 2009 6:14 am    Post subject: using unique failure ID as parameter of actions (%FailureID% Reply with quote

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
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 10403
Location: USA

PostPosted: Mon Jun 15, 2009 7:07 am    Post subject: Reply with quote

Quote:
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.

Quote:
Additionally I need variable %LastFailureID% to update existing incident

I have added this task into "to do" list

Regards
Alex
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Stoltze



Joined: 03 Feb 2004
Posts: 168
Location: Denmark

PostPosted: Sun Jun 21, 2009 2:10 am    Post subject: Re: using unique failure ID as parameter of actions (%Failur Reply with quote

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...?
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 10403
Location: USA

PostPosted: Wed Jul 08, 2009 5:40 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Wish list All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index