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).
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
but this doen't look to work...
i just want the test to be "Normal" if the website cannot find the word : true
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)