Help with warning status expression

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
oryagel
Posts: 92
Joined: Wed Jul 28, 2010 10:23 am

Help with warning status expression

Post by oryagel »

Hi,

I'm trying to create alert according to the difference between the current replay and the previous reply.

I tried without success.
For instance: ['%SuggestedReply%' - '%SuggestedLastReply%'] > 10

I always get "Unknown operator"

What am I doing wrong?

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

Post by KS-Soft »

Should be ('%SuggestedReply%' - '%Reply%') > 10

Regards
Alex
oryagel
Posts: 92
Joined: Wed Jul 28, 2010 10:23 am

Post by oryagel »

Thanks

Can you please explain the difference between the 'Suggested...' variables and the 'regular' variables?

(Or refer me to the manual)
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

HostMonitor sets Suggested variables, then checks expressions, then sets regular variables.

Quote
I.e.
1) HostMonitor performs the test;
2) processes "Reverse alert" option;
3) sets "suggested" macro variables (%SuggestedStatus%, %SuggestedSimpleStatus%, %SuggestedReply%, %SuggestedRecurrences% and %FailureIteration%) without touching regular counters (%Status%, %Reply%, %Recurrences%, etc);
4) then HostMonitor evaluates "Warning", "Normal" and "Tune up Reply" expressions and finally modifies current test status, reply field and statistics counters (Status, Reply, Alive%, Passed tests, Failed tests, etc).

Regards
Alex
Post Reply