Daily or weekly reminder for BAD tests not addressed

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).
Robert_in_MTL
Posts: 229
Joined: Tue Jun 20, 2006 1:20 pm
Location: Montreal, Quebec

Daily or weekly reminder for BAD tests not addressed

Post by Robert_in_MTL »

Hi!,
I would like to get a (daily or weekly) reminder for BAD tests not addressed.

Like anyone, I have different tests with different test periods (some 1 per day, some 1 per minute, some 1 per hour…)

Is there a way to fire a mail reminder every xx hours for remaining bad tests? (Let’s say, every 1 day or every 3 days, or every week)

Alex told me :
Alex wrote: use single "on the schedule" action to send information about all bad items (e.g. using %HM_BadItems% macro variable)
This seems ok if I could see a list of "folders\bad tests" and some info on these tests

I looked up the help and could not find an answer...
Anyone has an idea on how to do this? :roll:

- Thanks,
Last edited by Robert_in_MTL on Wed Jan 24, 2007 6:44 am, edited 1 time in total.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

What exactly do you need? What kind of "reminder"? E-mail notification?
E.g. you may use built-in Scheduler (Options dialog) and alert profile with 2 actions: "Generate report" and "Send e-mail"

Regards
Alex
Robert_in_MTL
Posts: 229
Joined: Tue Jun 20, 2006 1:20 pm
Location: Montreal, Quebec

Post by Robert_in_MTL »

Ahhhh!
I understand what you meant...
I would generate a daily report listing bad results, then and email it to us right?

That seems to do the job perfectly... (you goit me right: E-Mail reminder was exactly what I meant)

Now, can I generate a report that would list all and only bad tests ordered by folder name with stats?

I tried to do what you just wrote, generate a generic report, but the mail action required a mail attachment that I couldn't locate...

thanks for your help.
Robert_in_MTL
Posts: 229
Joined: Tue Jun 20, 2006 1:20 pm
Location: Montreal, Quebec

Post by Robert_in_MTL »

By the way...

When I am in RCC (latest from v 6.54)
The first time I select the action icon in [option/Scheduler], I sometimes get the
"looks like you're using a cracked version of Hostmonitor"
alert, but if I close this alert and click on the icon a secon time, it then works, sometimes the alert pops again... It is random.

-- Not a big deal, but just to let you know alex.
Last edited by Robert_in_MTL on Wed Jan 24, 2007 7:27 am, edited 1 time in total.
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

Robert_in_MTL wrote:Ahhhh!
I understand what you meant...
I would generate a daily report listing bad results, then and email it to us right?
Correct.
Robert_in_MTL wrote:Now, can I generate a report that would list all and only bad tests ordered by folder name with stats?
You may use HTML Report with "Test Type filter" with only "Bad" statuses enabled. http://www.ks-soft.net/hostmon.eng/mfra ... tm#Reports Also you may use Custom HTML report. http://www.ks-soft.net/hostmon.eng/mfra ... CustomHTML
Robert_in_MTL wrote:I tried to do what you just wrote, generate a generic report, but the mail action required a mail attachment that I couldn't locate...
You should specify report file name as mail attachment. You could not locate it because it had not been generated. HostMonitors perform actions in creation order. At first it generates report into certain file name. Than it perform Send-Email action with generated report file as an attachment. So, you just should copy certain report filename from "Options > Reports" window, and copy it into attachment field of "Send Email" action. When HostMonitor will perform "Send Email" action, report will have been already generated by "Generate reports" action.

Regards,
Max
Robert_in_MTL
Posts: 229
Joined: Tue Jun 20, 2006 1:20 pm
Location: Montreal, Quebec

Post by Robert_in_MTL »

I created a nice custom report and it all works great!

That's exactly what I had in mind

As always * above expectation support *

Thanks a lot Alex & Europe Group!

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

Post by KS-Soft Europe »

Robert_in_MTL wrote:Thanks a lot Alex & Europe Group!
You are welcome!

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

Post by KS-Soft Europe »

Robert_in_MTL wrote:When I am in RCC (latest from v 6.54)
The first time I select the action icon in [option/Scheduler], I sometimes get the
"looks like you're using a cracked version of Hostmonitor"
You have to increase timeout. It might help.

Regards,
Max
Robert_in_MTL
Posts: 229
Joined: Tue Jun 20, 2006 1:20 pm
Location: Montreal, Quebec

Post by Robert_in_MTL »

The timeout was already at 20 seconds

Anyways, I set it to 30 seconds, I'll see what happens

Thanks
Robert_in_MTL
Posts: 229
Joined: Tue Jun 20, 2006 1:20 pm
Location: Montreal, Quebec

Post by Robert_in_MTL »

KS-Soft Europe wrote: You have to increase timeout. It might help.
It did not work...
I still have the alert here and then...

Still, it doesn't bother me much...
Last edited by Robert_in_MTL on Thu Jan 25, 2007 12:33 pm, edited 1 time in total.
Robert_in_MTL
Posts: 229
Joined: Tue Jun 20, 2006 1:20 pm
Location: Montreal, Quebec

Post by Robert_in_MTL »

For the Scheduler:

All works great...
I created an HTML mail template
I included the generated report (<<IncludeFile=path_to_the_file>>)
- this works...
Also I used this as the subject:

Code: Select all

Monitoring %DATE%  report
But what I get is this:

subject: Monitoring %DATE% report

What do I do to make the date macro work in the subject?
-thanks
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

"Scheduled" actions cannot use test related macro variables. Use date&time variables
http://www.ks-soft.net/hostmon.eng/mfra ... #timemacro

Regards
Alex
Robert_in_MTL
Posts: 229
Joined: Tue Jun 20, 2006 1:20 pm
Location: Montreal, Quebec

Post by Robert_in_MTL »

Ahhhh...
It works!

thanks.


last thing,

If I change the color scheme in the report profile, the report is always the same (the first one I selected).
I even deleted the report and waited for it to be regenerated... No change.
Do I have to restart HM service for it to pick it up?
Thanks
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

May be you have started several instances of HostMonitor? E.g. one is started as service while you are using 2nd instance started in application mode to change settings?

Regards
Alex
Robert_in_MTL
Posts: 229
Joined: Tue Jun 20, 2006 1:20 pm
Location: Montreal, Quebec

Post by Robert_in_MTL »

No, but I was using RCC...(latest from v 6.54)

Would that be the problem?
Post Reply