View previous topic :: View next topic |
Author |
Message |
niemijuh
Joined: 12 Mar 2003 Posts: 8
|
Posted: Fri May 02, 2003 1:50 pm Post subject: |
|
|
Hi,
When test became 'out of schedule' status, Simplestatus is recorded %SimpleStatus%. Is this right ?
Regards,
Juha Niemi |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12807 Location: USA
|
|
Back to top |
|
|
Marcus
Joined: 18 Nov 2002 Posts: 367
|
Posted: Mon May 05, 2003 1:36 am Post subject: |
|
|
> Yes, but in future it will display "Unknown"
If you are changing it, why not to: "OutOfSchedule" or something similar??
The interpretation can then be different from a real "Unknown". |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12807 Location: USA
|
Posted: Mon May 05, 2003 12:04 pm Post subject: |
|
|
If you need real status, why you don't use %Status% macro instead?
Regards
Alex |
|
Back to top |
|
|
Marcus
Joined: 18 Nov 2002 Posts: 367
|
Posted: Tue May 06, 2003 2:05 am Post subject: |
|
|
I do use the %Status% macro, so no problems for me yet (actually I reset the simple status to: WAIT), but the simple status is not unknown. The test is not performed, due to settings by the administrator, I think it is a big difference. |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12807 Location: USA
|
Posted: Tue May 06, 2003 12:09 pm Post subject: |
|
|
So, what is your suggestion? Use the same statuses for SimpleStatus and for Status? Remove SimpleStatus at all?
Truth to say I don't know why we have this macro variable at all. Probably somebody needed it and we implemented by request. As I understand this variable should represent as less choices as possible. In this case UP (for all "good" statuses), DOWN (for all "bad" statuses), and Unknown for rest of statuses looks good to me. If status of the test is "disabled", "out of schedule", or "unknown", we don't know status of the server. So, I think "Unknown" is Ok.
Regards
Alex
[ This Message was edited by: KS-Soft on 2003-05-06 12:22 ] |
|
Back to top |
|
|
Marcus
Joined: 18 Nov 2002 Posts: 367
|
Posted: Wed May 07, 2003 1:49 am Post subject: |
|
|
>Use the same statuses for SimpleStatus and for Status
No, cause in that case, simplestatus is not needed anymore.
What I use is the following:
Description SimpleStatus
Not Tested: <default>
Host is Alive: <default>
No Answer: <default>
Unknown: <default>
Not Resolved: <default>
Checking: <default>
Resolving: <default>
OK: <default>
Bad: <default>
Disabled: DISABLED
Bad Contents: <default>
Wait for Master:WAIT
Out of Schedule:SCHEDULE
I use the actual status number to convert the simple status to the text I need. <default> means no change. Some values wil never reach my database, but I just completed the list.
It is just more clear. Out of schedule could be the same as unknown (indeed you don't know the status), but it is something wanted. Unknown in my opinion is not knowing the status, when you want to know it.
I don't have any problems with the current situation, but if you change it, don't use Unknown when the status of a test is not wanted.
[ This Message was edited by: Marcus on 2003-05-07 01:59 ] |
|
Back to top |
|
|
|