URL Request <> a value

Need new test, action, option? Post request here.
Post Reply
CapQwerty
Posts: 36
Joined: Wed Dec 14, 2005 3:58 pm

URL Request <> a value

Post by CapQwerty »

Would like to see in the URL request the ability to do a get and then evaluate if a number is greater or less than a set threshold.
Similar to what you would do in drive space


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

Post by KS-Soft »

evaluate if a number is greater or less than a set
What number?? GET request returns HTTP header + HTML page.

Regards
Alex
CapQwerty
Posts: 36
Joined: Wed Dec 14, 2005 3:58 pm

Post by CapQwerty »

Any number
We have a few services that run on machines that we can't easily monitor via host mon and they out put drive space cpu usage on individual pages we then use some other utilities to evaluate and raise an error if required in HostMon. For us it would be far simpler if we could collect the results out of the web page and if its a number be able to raise an error if its greater or less than.

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

Post by KS-Soft »

Do you mean your web page contains single number and nothing else?
Or it shows many different numbers and words as usually? How HostMonitor should find the number that you want to monitor?

Regards
Alex
CapQwerty
Posts: 36
Joined: Wed Dec 14, 2005 3:58 pm

Post by CapQwerty »

In our case single number ( Nothing else in page )

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

Post by KS-Soft »

I don't think we will implement such option. You need to check single number, somebody else needs to check 2nd number, other people will need to compare sum of 3 numbers and so on. Number of options - endless

I think you should create script and use Shell Script test method to execute the script.
As basis you may take this script
http://www.ks-soft.net/cgi-bin/phpBB/vi ... php?t=1293

Regards
Alex
Post Reply