Acknowledgement Responses
Acknowledgement Responses
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
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
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
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
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
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
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
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
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
Hmmm,
I added an additional action to send mail using my existing alert profile with the following
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
I added an additional action to send mail using my existing alert profile with the following
Code: Select all
('%SimpleStatus%=='DOWN') and (%AckRecurrences%==1)
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
Yes, that's what I was trying to saySo should the AckRecurrences go from 0 to 1 then the action triggered after an additional failed probe?
YesI 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
Alex
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
Is there something I should check? It seems straight forward. Could the other actions interfere with the action I have configured?
Regards
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact: