Acknowledge actions / double actions?

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
Wouter
Posts: 9
Joined: Fri May 23, 2014 1:35 am
Location: The Netherlands

Acknowledge actions / double actions?

Post by Wouter »

I'm having a bit of trouble configuring Host monitor to perform actions when a test is acknowledged.

I have set up Host Monitor with lots of different tests. Using the Custom HTML report the 'Bad' or 'Warning' results are presented on a big screen at our office. The reports are generated when a 'bad' or 'good' status occurs (using a Action Profile). I have included a 'live' javascript file so the Custom HTML report refreshes itself when the report is generated.

When a bad status occurs a test turns red obviously, but some tests (like CPU Usage) will turn green (good) again when a later test turns out OK.
For example: CPU usage > 70% gives bad status, 2 mins later; CPU < 70% gives good status again.

I actually want to keep the 'bad' status and run test again AFTER acknowledgement. So our employees can see that something happened with a PC's CPU and acknowledge it.
I tried to keep this 'bad' status by changing the test interval (not very convenient but I thought its the only way)

So;
1. Bad status occurs ---> Generate Report
2. Keep this 'bad' status ---> Change test interval (delay test for couple of hours)
3. Acknowledge test ---> Generate Report (so acknowledge tests are presented)
4. Resume testing ---> Change test interval to original value


I have setup following actions when Bad status occurs:
- Generate report, starts after 1 consecutive bad result
- Change test interval, delay test for 10 hours to keep bad status

- Generate report, by expression: %AckRecurrences%==1, to present acknowledged test on screen (NOT WORKING)
- Change test interval to original, to resume testing (NOT WORKING)

Some actions are not working as mentioned. Do you know why?
Is it possible to have 'double' actions like I have?

Maybe I'm thinking in the wrong way and maybe you have a much better/more convenient solution for this problem.
Anyway, I hope that you can help me with this :D
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

- Change test interval, delay test for 10 hours to keep bad status
This means actions related to this test will not be executed for 10 hours as well, HostMonitor executes actions after test execution.
Except "on the schedule" action than can be executed on regular interval or at specific day of the week, day of the month, etc.

May be its better to use View and Web Service (or HTML report created by View)?
You may setup View to show test items that changed status recently (e.g. using "Status duration < 10 min" option). Also you may setup View to skip acknowledged items.
This way you will see actual status of the test...
http://ks-soft.net/hostmon.eng/mframe.h ... #ViewsList

Regards
Alex
Wouter
Posts: 9
Joined: Fri May 23, 2014 1:35 am
Location: The Netherlands

Post by Wouter »

Thank you for your reply Alex!
KS-Soft wrote:You may setup View to show test items that changed status recently (e.g. using "Status duration < 10 min" option). Also you may setup View to skip acknowledged items.
Im sorry this is not what I'm looking for.

Actually I want to generate a report when I acknowledge a test (to add the acknowledgement to my Custom HTML screen) AND generate a report when I receive a Bad status.
I tried to generate a report by condition: ('%SimpleStatus%'=='DOWN') or (%AckRecurrences%==1) but this didn't work unfortunately.
Then I tried to make 2 'generate reports' actions. 1 for the bad status and 1 for the acknowledgement, but this didn't work either.

Im sorry if I'm not clear :lol:
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

actions can be started when test performed.
also actions can be started at specific time / on regular interval.
action will not be started when you acknowledge test but test was not executed after that.

Regards
Alex
Wouter
Posts: 9
Joined: Fri May 23, 2014 1:35 am
Location: The Netherlands

Post by Wouter »

KS-Soft wrote:action will not be started when you acknowledge test but test was not executed after that.
Got it Alex, it works when I acknowledge AND refresh the test.
Post Reply