KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Result in Mail profile don't add up!

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
Robert_in_MTL



Joined: 20 Jun 2006
Posts: 229
Location: Montreal, Quebec

PostPosted: Wed Jun 10, 2009 10:06 am    Post subject: Result in Mail profile don't add up! Reply with quote

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>&nbsp;</td><td nowrap>%TestName%</td></tr>
<tr><td nowrap>Method</td><td>&nbsp;</td><td nowrap>%TestMethod%</td></tr>
<tr><td nowrap>Agent</td><td>&nbsp;</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>&nbsp;</td><td nowrap><b>%STATUS%</b></td></tr>
<tr><td nowrap>Date</td><td>&nbsp;</td><td nowrap>%DATETIME%</td></tr>
<tr><td nowrap>Reply</td><td>&nbsp;</td><td nowrap>%Reply%</td></tr>
<tr><td nowrap>Recurrences</td><td>&nbsp;</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>&nbsp;</td><td nowrap>%PreviousStatus%</td></tr>
<tr><td nowrap>Prev. Status Time</td><td>&nbsp;</td><td nowrap>(Status changed at) %PreviousStatusTime% </td></tr>
<tr><td nowrap>Prev. Status Duration</td><td>&nbsp;</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>&nbsp;&nbsp;&nbsp;</td><td nowrap align="right">%TotalTests%</td></tr>
<tr><td nowrap>Good&nbsp;count / (ratio)</td><td></td><td nowrap align="right" >%PassedCnt%</td><td>&nbsp;&nbsp;</td><td nowrap align="right">&nbsp;(&nbsp;%AliveRatio% )</td></tr>
<tr><td nowrap>Bad&nbsp;&nbsp;count / (ratio)</td><td></td><td nowrap align="right">%FailedCnt%</td><td>&nbsp;&nbsp;</td><td nowrap align="right">&nbsp;(&nbsp;%DeadRatio%&nbsp;)</td></tr>
<tr><td nowrap>Unknown&nbsp;</td><td>&nbsp;</td><td  nowrap align="right">%UnknownCnt%</td><td>&nbsp;&nbsp;</td><td nowrap align="right">&nbsp;(&nbsp;%UnknownRatio%&nbsp;)</td></tr>
</table></td></tr>
<tr><td nowrap>Folder</td><td>&nbsp;</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
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Wed Jun 10, 2009 10:14 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Robert_in_MTL



Joined: 20 Jun 2006
Posts: 229
Location: Montreal, Quebec

PostPosted: Wed Jun 10, 2009 11:05 am    Post subject: Reply with quote

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
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Wed Jun 10, 2009 11:41 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Robert_in_MTL



Joined: 20 Jun 2006
Posts: 229
Location: Montreal, Quebec

PostPosted: Wed Jun 10, 2009 11:46 am    Post subject: Reply with quote

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
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Thu Jun 11, 2009 5:33 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Robert_in_MTL



Joined: 20 Jun 2006
Posts: 229
Location: Montreal, Quebec

PostPosted: Thu Jun 11, 2009 6:28 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index