|
View previous topic :: View next topic |
Author |
Message |
TotalChoice Hosting
Joined: 06 Apr 2003 Posts: 1
|
Posted: Sun Apr 13, 2003 10:23 pm Post subject: |
|
|
So far we love this script.
It is monitoring all of our servers.
I have a problem. We are running tests every 5 minutes on certains objects. (http and ICMP). Here is what I see wrong.
If HM checks the server at lets say 12:00 and its up then its checks it at 12:05 and its down, HM logs 5.00 minutes of down time. What we need is the down time to start the moment the downtime is noted and not for HM to assume the server has been down since its last successfull test.
Please advise. |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12806 Location: USA
|
Posted: Mon Apr 14, 2003 11:11 am Post subject: |
|
|
>If HM checks the server at lets say 12:00 and its up then its checks it at 12:05 and its down, HM logs 5.00 minutes of down time.
Are you talking about "Alive time", "Dead time", "Alive %", "Dead %" counters? Yes, its how HostMonitor works. So, you think calculate time between 2 consecutive good (or bad) statuses only is more correct way to calculate these counters? But what about situation when test status changes? Do not calculate this time at all? How will look statistics in this case: Total time - 5 hours, Alive time - 4 hours, Dead time - 20 min. Where is 40 more minutes?
I think there is nothing wrong with current method of calculation. Yes, if test status changes to "bad", HostMonitor assumes it was "bad" for whole time interval. But HostMonitor make the same assumption when test status changes back to "good". And this compensate distribution of time between counters.
Regards
Alex |
|
Back to top |
|
|
|
|
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
|