Stripping

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
bax
Posts: 6
Joined: Wed Feb 22, 2006 1:39 am

Stripping

Post by bax »

Is there a way to get only the numeric reply, when you make a url-request?
The same thing for testing drive free space, i want only to have the value returned, not the Gb or Mb

Brgds Brian
Yoorix
Posts: 177
Joined: Wed Dec 14, 2005 8:28 am

Post by Yoorix »

You should use %Reply_Number% or %Reply_Integer% instead of %Reply%. See more info about macro variables here: http://www.ks-soft.net/hostmon.eng/actions.htm#macro

Regards,
Yoorix
bax
Posts: 6
Joined: Wed Feb 22, 2006 1:39 am

Post by bax »

I tried these, but it seems not to work. I am running version 4.86.
When i get the host-monitor to mak a url-test, I still get the reply 533 ms

could it be the version?

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

Post by KS-Soft »

Is there a way to get only the numeric reply
Question is - where do you want to use that numeric reply?
Report? Log? Alert? GUI?
Where you used %Reply_Integer% variable?

Regards
Alex
Last edited by KS-Soft on Thu Mar 02, 2006 11:45 am, edited 1 time in total.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

I tried these, but it seems not to work.
What exactly means "not to work"?
%Reply_Integer% variable cannot returns "ms".

Regards
Alex
bax
Posts: 6
Joined: Wed Feb 22, 2006 1:39 am

stripping

Post by bax »

Got it running.

Used %Reply_Integer%

tks Brgds Brian
Post Reply