View previous topic :: View next topic |
Author |
Message |
Robert_in_MTL
Joined: 20 Jun 2006 Posts: 229 Location: Montreal, Quebec
|
Posted: Wed Jun 10, 2009 10:06 am Post subject: Result in Mail profile don't add up! |
|
|
Hi,
I have a question,
On a mail alert I created a template:
why does this code:
Code: | <table border=0 cellspacing=0 cellpadding=0 >
<tr><td nowrap colspan=3 >Message from HostMonitor: host changed status to <b>%STATUS%</b></td></tr>
<tr><td nowrap colspan=3 >-</td></tr>
<tr><td nowrap>Test</td><td> </td><td nowrap>%TestName%</td></tr>
<tr><td nowrap>Method</td><td> </td><td nowrap>%TestMethod%</td></tr>
<tr><td nowrap>Agent</td><td> </td><td nowrap>%Agent%</td></tr>
<tr><td nowrap colspan=3 >-</td></tr>
<tr><td nowrap colspan=3 ><u>Current:</u></td></tr>
<tr><td nowrap>Status</td><td> </td><td nowrap><b>%STATUS%</b></td></tr>
<tr><td nowrap>Date</td><td> </td><td nowrap>%DATETIME%</td></tr>
<tr><td nowrap>Reply</td><td> </td><td nowrap>%Reply%</td></tr>
<tr><td nowrap>Recurrences</td><td> </td><td nowrap>%Recurrences%</td></tr>
<tr><td nowrap colspan=3 >-</td></tr>
<tr><td nowrap colspan=3 ><u>Previous:</u></td></tr>
<tr><td nowrap>Prev. Status</td><td> </td><td nowrap>%PreviousStatus%</td></tr>
<tr><td nowrap>Prev. Status Time</td><td> </td><td nowrap>(Status changed at) %PreviousStatusTime% </td></tr>
<tr><td nowrap>Prev. Status Duration</td><td> </td><td nowrap>%PreviousStatusDuration%</td></tr>
<tr><td nowrap colspan=3 >-</td></tr>
<tr><td nowrap colspan=3 ><u>Global Info:</u></td></tr>
<tr><td nowrap colspan=3>
<table border=0 cellspacing=0 cellpadding=0 >
<tr><td nowrap>Total tests</td><td> </td><td nowrap align="right">%TotalTests%</td></tr>
<tr><td nowrap>Good count / (ratio)</td><td></td><td nowrap align="right" >%PassedCnt%</td><td> </td><td nowrap align="right"> ( %AliveRatio% )</td></tr>
<tr><td nowrap>Bad count / (ratio)</td><td></td><td nowrap align="right">%FailedCnt%</td><td> </td><td nowrap align="right"> ( %DeadRatio% )</td></tr>
<tr><td nowrap>Unknown </td><td> </td><td nowrap align="right">%UnknownCnt%</td><td> </td><td nowrap align="right"> ( %UnknownRatio% )</td></tr>
</table></td></tr>
<tr><td nowrap>Folder</td><td> </td><td nowrap>%FullPath%</td></tr>
<tr><td nowrap colspan=3 >-</td></tr> |
returns these numbers at the end:
Global Info:
Total tests 556584
Good count / (ratio) 552686 ( 99,25 % )
Bad count / (ratio) 3761 ( 0,73 % )
Unknown 122 ( 0,02 % )
adding the numbers gives 556569, not 556584.
Where did I go wrong?
Thank you |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Wed Jun 10, 2009 10:14 am Post subject: |
|
|
Quote: | Total tests 556584
Good count / (ratio) 552686 ( 99,25 % )
Bad count / (ratio) 3761 ( 0,73 % )
Unknown 122 ( 0,02 % )
adding the numbers gives 556569, not 556584 |
What about disabled, paused, out of schedule items?
Do you have any?
Regards
Alex |
|
Back to top |
|
|
Robert_in_MTL
Joined: 20 Jun 2006 Posts: 229 Location: Montreal, Quebec
|
Posted: Wed Jun 10, 2009 11:05 am Post subject: |
|
|
Hi,
thanks for this quick reply...
These results are from 1 test only, not a folder.
When status changes, it's what I receive... |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Wed Jun 10, 2009 11:41 am Post subject: |
|
|
H'm
I am checking our code, do not see any mistake so far...
As usually 1st question is - what version of HostMonitor do you use?
Regards
Alex |
|
Back to top |
|
|
Robert_in_MTL
Joined: 20 Jun 2006 Posts: 229 Location: Montreal, Quebec
|
Posted: Wed Jun 10, 2009 11:46 am Post subject: |
|
|
Hi Alex,
I am using version 8.02
The full result is this if it can help:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Message from HostMonitor: host changed status to Host is alive
-
Test msrvdev04: HTTP: /CF_Server_Monitoring.cfm
Method HTTP test (msrvdev04.xxxxxxxx.com)
Agent HostMonitor
-
Current:
Status Host is alive
Date 2009-06-10 11:48:15
Reply 93 ms
Recurrences 1
-
Previous:
Prev. Status Bad
Prev. Status Time (Status changed at) 2009-06-10 11:42:06
Prev. Status Duration 00:06:09
-
Global Info:
Total tests 556584
Good count / (ratio) 552686 ( 99,25 % )
Bad count / (ratio) 3761 ( 0,73 % )
Unknown 122 ( 0,02 % )
Folder xxxxxxxx\1-Montreal\IT\URL Monitoring\DEV\
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thank you
Last edited by Robert_in_MTL on Thu Nov 10, 2011 7:58 am; edited 2 times in total |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Thu Jun 11, 2009 5:33 am Post subject: |
|
|
We checked latest version and did not find any mistake in the code.
As I understand you collect statistics for this test for many years? Then error could be in any version like 5.20 and probably it was fixed long time ago
Regards
Alex |
|
Back to top |
|
|
Robert_in_MTL
Joined: 20 Jun 2006 Posts: 229 Location: Montreal, Quebec
|
Posted: Thu Jun 11, 2009 6:28 am Post subject: |
|
|
Yes it's been going for some years.
I will do a reset then and we'll see, it should be good for now on.
Thank you Alex for the clarification. |
|
Back to top |
|
|
|