Acknowledgement Responses

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
CapQwerty
Posts: 36
Joined: Wed Dec 14, 2005 3:58 pm

Acknowledgement Responses

Post by CapQwerty »

Is there a way for hostmon to send the acknowledgement back to the alert profile?
eg sms, email gets sent of a failure to a group, one of the members acknowledge it can an email, sms be sent back out showing the acknowledgement?

Regards
Jason
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

Sorry, its impossible. Probably will be implemented in future but not soon...
However, since version 6.10, HostMonitor Script has supported new command: AckTestStatus <TestName> [StopAlerts] [<Comment>] - acknowledges failed test item(s).
I think, you may use some third party software to run HM Script with such command.
http://www.ks-soft.net/hostmon.eng/news.htm


Regards,
Max
CapQwerty
Posts: 36
Joined: Wed Dec 14, 2005 3:58 pm

Post by CapQwerty »

Thanks for the prompt reply Max.

Would you mind putting it on the wish list.

Regards
Jason
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Yes, we have such task in the list

Regards
Alex
xcentric
Posts: 176
Joined: Sat Oct 23, 2010 4:30 pm

Post by xcentric »

I have bee reading through the forums and dont have a clear answer to how this can be done if it is even possible.

Ideal Situation
1. A status goes bad and an email is sent out to an email group.
2. Now AdminA acknowledges the test with a comment, stops the alerts and begins to address the problem.
3. Another email is sent out notifying other admins in the email group the acknowledgement info using macros.

Essentialy, acknowledging an evant after it goes bad fires an email.

Maybe on the acknowledgement dialog box have a checkbox to turn on/off an alert profile then beside it have a dropdown to select the profile with acknowledgement macros. Just like when you configure the "Execute alert profile when online/offline" for the primary log location in the log options.

This would not interfere with the Main alert profile since an additional profile is configured specificaslly for the acknowledgement. A problem with the additional profile would be that the action is neither Bad or Good when acknowledging a test. Unlike when a log file goes offline it is "Bad".

I guess you could setup specific action profiles for specific tests assigned to specific admins but most of us float the responsibilities and everything goes to one distro group.

One could also send an instant message, pick up the phone or email "Hey, I got this one".

Any ideas? Something I havent thought of?

Regards
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

As I understand your idea you are thinking about some global or folder-level option that allows to execute actions right after acknowledgement.
I have added your suggestion into "to do" list, may be we can implement something like this.

For now you may setup "advanced mode" action using %AcknowledgedAt%, %AckComment%, %AckRecurrences%... variables.
Quote from the manual
=======================
%AckRecurrences%
Represents the number of test probes which have returned similar (bad or unknown) result after it was already acknowledged. Returns 0 for non-acknowledged test items.
For example if the test returned "bad" status during five consecutive probes, then %Recurrences% variable will be equal 5. If the user has acknowledged the bad status after the second probe then %AckRecurrences% will be equal 3 (5-2=3).
This variable is useful when you want to configure alert profile to launch different actions for "non-acknowledged" and "acknowledged" test items. E.g. if condition to trigger action execution looks like ('%SimpleStatus%=='DOWN') and (%AckRecurrences%==1), HostMonitor will start action when user confirmed status and test failed once again (after acknowledgement).
=======================

So you may setup action that will be started after 1st test probe after acknowledgement.
Note: no actions will be started when you acknowledge test status using "stop actions" button.

Regards
Alex
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

PS
Version 9 should allow you to acknowledge test status by e-mail.

Regards
Alex
xcentric
Posts: 176
Joined: Sat Oct 23, 2010 4:30 pm

Post by xcentric »

Hmmm,

I added an additional action to send mail using my existing alert profile with the following

Code: Select all

('%SimpleStatus%=='DOWN') and (%AckRecurrences%==1)
Nothing happened.

Process.
1. Bad occurs after 5 consecutive probe failures.
2. Email is sent out.
3. I "acknowledged that" with a comment.

So should the AckRecurrences go from 0 to 1 then the action triggered after an additional failed probe?

I also noticed that upon the test returning good, the AckRecurreces is still set to 0 even though the ack shows up in the quick log. Is this normal?

Regards
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

So should the AckRecurrences go from 0 to 1 then the action triggered after an additional failed probe?
Yes, that's what I was trying to say
I also noticed that upon the test returning good, the AckRecurreces is still set to 0 even though the ack shows up in the quick log. Is this normal?
Yes

Regards
Alex
xcentric
Posts: 176
Joined: Sat Oct 23, 2010 4:30 pm

Post by xcentric »

Maybe my comment went unoticed but the above configuration did not work. Nothing happened after I "acknowledged that". No action was triggered and no email was sent out.

Is there something I should check? It seems straight forward. Could the other actions interfere with the action I have configured?

Regards
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

Looks like you missed one quote after %SimpleStatus% macro-variable:
('%SimpleStatus%'=='DOWN') and (%AckRecurrences%==1)
xcentric
Posts: 176
Joined: Sat Oct 23, 2010 4:30 pm

Post by xcentric »

Yep, that was it. It is working now.

BTW, I copied that expression verbatim from your post and I confirmed the quote is missing from the same expression in the manual as well.

Regards
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Yes, this is our mistake, one quotation mark missed in the manual. Will be fixed

Regards
Alex
Post Reply