Hi Alex
I want to only test against the virtual memory if the physical memory in another test in the same folder is below a certain percentage.
Is this possible? I couldn't work out how to do this.
Thanks in advance
Paul
Can I test the value from another test in the same folder
Perform testB when testA has Bad status?
Just mark "this test depends on another test" option for testB and select testA
http://www.ks-soft.net/hostmon.eng/mfra ... htm#Master
Regards
Alex
Just mark "this test depends on another test" option for testB and select testA
http://www.ks-soft.net/hostmon.eng/mfra ... htm#Master
Regards
Alex
Thanks Alex, but that doesn't work for me.
The scenario is that I don't care about low virtual memory if the physical memory isn't low too. So, Physical memory threshold is 5%, and Virtual memory threshold is 10%
So, if physical is at 20% and virtual falls to 2% for a period of time, I don't want to be alerted for low virtual memory.
But if physical drops to 3% while virtual is below 10%, then I definitely want to know.
NB All tests are already dependent on the Ping being alive for the server.
Hope that makes sense.
The scenario is that I don't care about low virtual memory if the physical memory isn't low too. So, Physical memory threshold is 5%, and Virtual memory threshold is 10%
So, if physical is at 20% and virtual falls to 2% for a period of time, I don't want to be alerted for low virtual memory.
But if physical drops to 3% while virtual is below 10%, then I definitely want to know.
NB All tests are already dependent on the Ping being alive for the server.
Hope that makes sense.
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
You may access another test item values using variables with the following syntax:
%::TESTNAME::Reply%
%::TESTNAME::Status%
etc.
You may add the following "use Warning Status if" expression into virtual memory test:
'%::myVirtualMemoryTest::Reply_Integer%' < '10'
"Treat Warning status as Bad" option should be enabled.
Another option - use separate test item (e.g. Ping 127.0.0.1)
and the following expressions:
"Tune Up Reply value" expression (optional):
Virtual mem: %::myVirtualMemoryTest::Reply% Phys mem: Virtual mem: %::myPhysicalMemoryTest::Reply%
"use Warning Status if" expression:
'%::myVirtualMemoryTest::Reply_Integer%' < '10' AND '%::myPhysicalMemoryTest::Reply_Integer%' < '4'
("Treat Warning status as Bad" option should be enabled.)
%::TESTNAME::Reply%
%::TESTNAME::Status%
etc.
You may add the following "use Warning Status if" expression into virtual memory test:
'%::myVirtualMemoryTest::Reply_Integer%' < '10'
"Treat Warning status as Bad" option should be enabled.
Another option - use separate test item (e.g. Ping 127.0.0.1)
and the following expressions:
"Tune Up Reply value" expression (optional):
Virtual mem: %::myVirtualMemoryTest::Reply% Phys mem: Virtual mem: %::myPhysicalMemoryTest::Reply%
"use Warning Status if" expression:
'%::myVirtualMemoryTest::Reply_Integer%' < '10' AND '%::myPhysicalMemoryTest::Reply_Integer%' < '4'
("Treat Warning status as Bad" option should be enabled.)