Starting TestID

Need new test, action, option? Post request here.
Post Reply
hsq
Posts: 15
Joined: Thu Jun 28, 2007 8:23 am

Starting TestID

Post by hsq »

Hi,

Is there a sophisticated way/command/tool/ini to specify in hostmonitor what would be the first testID?

I explain it a bit more.. :)

1. I have a fresh installation of hostmonitor
2. Creating a test
3. Setting up logging through ODBC to a database
4. in the code I put the testID as an output field

by default for the first test created the starting testID will be 1.
As it is an internal variable, can I change it somehow to start it from lets say 20001 or 47558?

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

Post by KS-Soft »

No, you cannot change that.
What is the reason to change TestID? Do you use several instances of HostMonitor to record logs into the same ODBC table?

Regards
Alex
hsq
Posts: 15
Joined: Thu Jun 28, 2007 8:23 am

Post by hsq »

Yes, i'm about to design a fault tolerant / DR solution with hostmonitor.

You got the point, as a first thought, I was thinked about this.

Unfortunately if it is not working then we need to go on a different way...

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

Post by KS-Soft »

Yes, there is different way. I think you may use %HM_FILEGUID% - unique ID of test list (HML file)

Regards
Alex
hsq
Posts: 15
Joined: Thu Jun 28, 2007 8:23 am

Post by hsq »

Alex,

I was not aware of this variable... You always come out with something from the darkness :)
But looks ok for my solution. Thanks for the quick advise.

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

Post by KS-Soft »

Yes, its undocumented variable. You are welcome :)

Regards
Alex
Post Reply