question status processing

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
menno
Posts: 158
Joined: Fri May 21, 2010 1:27 am

question status processing

Post by menno »

Hi guys

small question here

i have a check that checks if the word "true" is avail able on this test website.
when its not it gives me a "Bad contents" , so far so good

when i try to use another replay it fails
can you please tell me what am i doing wrong here ?
i use :
use "Normal" status if ("%Reply%"=="Bad contents")

see screenshot
Image

but this doen't look to work...
i just want the test to be "Normal" if the website cannot find the word : true

many thanks in advance
menno
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

"%Reply%"=="Bad contents"?

1) %Reply% variable is not set at this stage, %SuggestedReply% should be used
2) Why do you compare Reply to Status?? "Bad content" is test status, not reply
Expression may look like "%SuggestedStatus%"=="Bad contents"

Quote from the manual
IMPORTANT note: HostMonitor checks logical expressions after test check is done and "reverse alert" option is processed.

I.e.
- HostMonitor performs the test;
- processes "Reverse alert" option;
- sets "suggested" macro variables (%SuggestedStatus%, %SuggestedSimpleStatus%, %SuggestedReply%, %SuggestedRecurrences% and %FailureIteration%) without touching regular counters (%Status%, %Reply%, %Recurrences%, etc);
- then HostMonitor checks "Warning" and "Normal" expressions, processes "Tune up Reply" option and finally modifies current test status and statistisc counters (Status, Reply, Alive%, Passed tests, Failed tests, etc)
Regards
Alex
menno
Posts: 158
Joined: Fri May 21, 2010 1:27 am

Post by menno »

YESS!!! this works
many thanks Alex !
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

You are welcome

Regards
Alex
Post Reply