Trouble with %Reply% less than ...

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
Kapz
Posts: 216
Joined: Mon Dec 06, 2004 2:33 pm
Location: Denmark

Trouble with %Reply% less than ...

Post by Kapz »

Hi !

On HM7.18:

I'm setting up a URL test to see how much times it takes before a page loads.
I't a simple URL test and the reply is shown i ms.

Now, I would like HM to alarm someone if the load time is higher than e.g. 500ms, so I've set up an alarm profile in advanced mode with the expression (%Reply%>500).
As far as I can tell from the documentation replies shown in ms are treated like numbers so I suppose this should be okay.
However, nothing happens using this expression - can you help me with this one ?

The rest of the setup should be okay because if I change the expression to (1==1) everything works fine and I get the expected results.

Thanks in advance !

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

Post by KS-Soft »

As far as I can tell from the documentation replies shown in ms are treated like numbers
They are treated as numbers when you are using quotation marks ''. E.g. '500 ms' or '500 GB' will be checked as numbers. While 500 ms (without quotes) is treated as 2 different lexemes

In other word - you forgot to put ''
Correct expression is ('%Reply%'>500).

Regards
Alex
Kapz
Posts: 216
Joined: Mon Dec 06, 2004 2:33 pm
Location: Denmark

Post by Kapz »

Alex,

> In other word - you forgot to put ''
> Correct expression is ('%Reply%'>500).

Great - works like a charm :)

Thanks !

/Kasper
Post Reply