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
Post
by Robert_in_MTL » Wed Jun 10, 2009 10:06 am
Hi,
I have a question,
On a mail alert I created a template:
why does this code:
Code: Select all
<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
KS-Soft
Posts: 13012 Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:
Post
by KS-Soft » Wed Jun 10, 2009 10:14 am
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
Robert_in_MTL
Posts: 229 Joined: Tue Jun 20, 2006 1:20 pm
Location: Montreal, Quebec
Post
by Robert_in_MTL » Wed Jun 10, 2009 11:05 am
Hi,
thanks for this quick reply...
These results are from 1 test only, not a folder.
When status changes, it's what I receive...
KS-Soft
Posts: 13012 Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:
Post
by KS-Soft » Wed Jun 10, 2009 11:41 am
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
Robert_in_MTL
Posts: 229 Joined: Tue Jun 20, 2006 1:20 pm
Location: Montreal, Quebec
Post
by Robert_in_MTL » Wed Jun 10, 2009 11:46 am
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.
KS-Soft
Posts: 13012 Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:
Post
by KS-Soft » Thu Jun 11, 2009 5:33 am
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
Robert_in_MTL
Posts: 229 Joined: Tue Jun 20, 2006 1:20 pm
Location: Montreal, Quebec
Post
by Robert_in_MTL » Thu Jun 11, 2009 6:28 am
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.