Create report for overnight failures
Create report for overnight failures
Hello,
Is there anyway to create a report of all the failures/bad test that happen over night between 6:00 PM to 7:00 AM? then send this in a email?
Thanks
Is there anyway to create a report of all the failures/bad test that happen over night between 6:00 PM to 7:00 AM? then send this in a email?
Thanks
HostMonitor reports display current status of the test. I think you need to use logging option.
E.g. you may add "Record HM log" "bad" action into alert profiles assigned to the test items. Set 600PM-7AM schedule to the action, mark "Add record into specific log file" option and specify target file name.
Then you may create another action profile with 2 actions:
- "Send e-mail" action. Use <<IncludeFile=path_to_the_file>> directive in e-mail body
- "Execute external program" action. Use this action to remove used log file
Specify "on the schedule" option for these 2 actions and setup HostMonitor to launch alert profile every morning using built-in Scheduler (Options dialog)
Regards
Alex
E.g. you may add "Record HM log" "bad" action into alert profiles assigned to the test items. Set 600PM-7AM schedule to the action, mark "Add record into specific log file" option and specify target file name.
Then you may create another action profile with 2 actions:
- "Send e-mail" action. Use <<IncludeFile=path_to_the_file>> directive in e-mail body
- "Execute external program" action. Use this action to remove used log file
Specify "on the schedule" option for these 2 actions and setup HostMonitor to launch alert profile every morning using built-in Scheduler (Options dialog)
Regards
Alex
I was referring to the second part of you answer...
I didn't quite understand how to do the second part.
The first part I have done.Then you may create another action profile with 2 actions:
- "Send e-mail" action. Use <<IncludeFile=path_to_the_file>> directive in e-mail body
- "Execute external program" action. Use this action to remove used log file
I didn't quite understand how to do the second part.
What exactly you do not understand? How to create "scheduled" actions?
Just change "condition to start action" option from "standard mode" to "on the schedule"
http://www.ks-soft.net/hostmon.eng/mfra ... uledaction
It does not really matters what section do you chose for "scheduled" action: "bad" or "good".
Regards
Alex
Just change "condition to start action" option from "standard mode" to "on the schedule"
http://www.ks-soft.net/hostmon.eng/mfra ... uledaction
It does not really matters what section do you chose for "scheduled" action: "bad" or "good".
Regards
Alex
Report not getting created
I'm receiving the emails that are suppose to have the overnight.htm report in it, but it states that no file has been found.
I double-ckecked the settings to make sure dir and filenames are correct and they are.
So I don't know why it's not creating the report.
I've checked the app event log, nothing in there. Thought it might be a permissions issue, so I got hostmon.exe running as admin, but that did help either.
Any ideas?
I double-ckecked the settings to make sure dir and filenames are correct and they are.
So I don't know why it's not creating the report.
I've checked the app event log, nothing in there. Thought it might be a permissions issue, so I got hostmon.exe running as admin, but that did help either.
Any ideas?
We just rechecked code and tested HostMonitor on Windows XP and 2003 - evrything works fine. We will check this option on Windows 7 as well but I think you just make mistake in file name. Could you please check it again?
Regarding Windows 7: are you sure you want to use for monitoring system OS that is not even offically released and not supported by software developer??
http://www.ks-soft.net/hostmon.eng/index-sysreq.htm
http://www.ks-soft.net/cgi-bin/phpBB/vi ... php?t=5359
Regards
Alex
Regarding Windows 7: are you sure you want to use for monitoring system OS that is not even offically released and not supported by software developer??
http://www.ks-soft.net/hostmon.eng/index-sysreq.htm
http://www.ks-soft.net/cgi-bin/phpBB/vi ... php?t=5359
Regards
Alex
I double-checked the path_to_file strings. Their correct. Even copy and paste to make sure.
I looked in the syslog and it doesn't say anything. The only error it states, is when the email job is scheduled it complains about file not found.
I will ask my group if there is a server available to install this.
Thanks for you help.[/img]
I looked in the syslog and it doesn't say anything. The only error it states, is when the email job is scheduled it complains about file not found.
I will ask my group if there is a server available to install this.
Thanks for you help.[/img]