Statistic information

General chat about HostMonitor (all messages posted before March 07, 2003 available here).
Locked
Guest

Post by Guest »

Hi,

I suppose that the sum of alive-ratio, dead-ratio and unknown-ratio should always be 100%.
It is correct except when there was a 'waiting for master' status.
The totaltests-counter increments, but the unknown-counter remains the same. Is this a bug or by-design ?

Regards,
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

You are right. But its not a bug. HostMonitor increments "Unknown" counters when cannot retrieve information (due to some problems in network, etc).

May be HostMonitor should not increment TotalTime and TotalTests counters when test has WaitForMaster status?
What think community?
Everybody, please, vote in.

Regards
Alex
jromariz
Posts: 264
Joined: Wed Apr 03, 2002 6:00 pm
Location: Brasil

Post by jromariz »

I agree.
gdvl
Posts: 103
Joined: Thu Apr 04, 2002 6:00 pm
Location: Belgium
Contact:

Post by gdvl »

When a dependency test is "waiting for master", in fact the status of that dependency test is "unknown".
Statistical over time, that test is not OK, not BAD but UNKNOWN. (but the time is running ...)
For me, it's not correct to stop the totaltests (or time) in this situation.

Regards,
Gdvl


KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Have sense, but:
WaitForMaster status similar to OutOfSchedule, and OutOfSchedule status similar to Disabled: program do not perform any check-up, so may be more logical do not increment any counters ?

Regards
Alex
gdvl
Posts: 103
Joined: Thu Apr 04, 2002 6:00 pm
Location: Belgium
Contact:

Post by gdvl »

ok, but:
OutOfSchedule and Disabled is a conscious choice, while "waiting for master" normaly means that there is a (random) problem with the master, and so with the dependency too (if the master => dependency relation makes sence).
A suggestion: you can change the "Synchronize status & counters" flag in "Synchronize counters" while the status remains "waiting for master" ?
gdvl
Posts: 103
Joined: Thu Apr 04, 2002 6:00 pm
Location: Belgium
Contact:

Post by gdvl »

I did some tests, and was thinking about it, and ok: maybe it's most logical to NOT increment any counters in a "waiting for master" status. (the master can also have a disabled or "out of schedule" status, thus not only a bad status)
The best should be to create some additional counters, but that's an endless solution I think.

Regards,
gdvl

KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

I think you are right.
I should change options:
- Synchronize status & counters
- Synchronize alerts
into
- Synchronize counters (keep WaitForMaster status)
- Synchronize status and alerts

Everybody agree?

Regards
Alex
jromariz
Posts: 264
Joined: Wed Apr 03, 2002 6:00 pm
Location: Brasil

Post by jromariz »

Yes.
gdvl
Posts: 103
Joined: Thu Apr 04, 2002 6:00 pm
Location: Belgium
Contact:

Post by gdvl »

OK,
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Done. Patch available http://www.ks-soft.net/download/hm303.zip

Regards
Alex
gdvl
Posts: 103
Joined: Thu Apr 04, 2002 6:00 pm
Location: Belgium
Contact:

Post by gdvl »

Thanks for the quick response (again).
It works fine !

Regards,


Locked