Hi!
I have a lot of tets with and expression on "This test depends on" like:
('%::Ping: %Folder%::SimpleStatus%'=="UP")
They're status is Unkown a lot of times, althoug the ping alert is OK, so I want to modify all of them to "This test depends on another test" and insert there the test of the ping directly.
I need a view to see quickly which tests I need to modify, but I'm trying to do something like this in the view properties and it doesn't work:
Select items using expresson
%MasterTest%=="('%::Ping: %Folder%::SimpleStatus%'=="UP")"
Can anyone help me?
Thanks!
View for items with an expression on "this test depends
You are using another variable instead of test name?I have a lot of tets with and expression on "This test depends on" like:
('%::Ping: %Folder%::SimpleStatus%'=="UP")
I don't think we ever officially supported such option

Why do you think "Unknown" status caused by Master expression?They're status is Unkown a lot of times, althoug the ping alert is OK, so I want to modify all of them to "This test depends on another test" and insert there the test of the ping directly.
What exactly error do you see in Reply field?
Test method?
HostMonitor version?
This should not work. %MasterTest% is name of the test item, even if you setup "depends on expression" option, this variable returns test name.I need a view to see quickly which tests I need to modify, but I'm trying to do something like this in the view properties and it doesn't work:
Select items using expresson
%MasterTest%=="('%::Ping: %Folder%::SimpleStatus%'=="UP")"
If you want to find such tests, probably the only "quick" option - export tests into text file (menu File->Export...)
Regards
Alex
Hello and thanks for you fast support!
I'm a bit new with this... i will try to answer you:
It happens in different test methods, count files, process, services...
My HM version is: 10.10
I'm a bit new with this... i will try to answer you:
I have a hostname as a folder, and then, inside each folder, a lot of tests depending on this expression, that pretends to do a ping to the hostname.KS-Soft wrote:You are using another variable instead of test name?I have a lot of tets with and expression on "This test depends on" like:
('%::Ping: %Folder%::SimpleStatus%'=="UP")
I don't think we ever officially supported such option![]()
Sorry... i mistake there. The status is waiting for master, althoug the machine does ping. If I change the master expresion to a "another test" and I put there a ping test to the machine, the status is never waiting for master if the machine does ping.KS-Soft wrote:Why do you think "Unknown" status caused by Master expression?They're status is Unkown a lot of times, althoug the ping alert is OK, so I want to modify all of them to "This test depends on another test" and insert there the test of the ping directly.
What exactly error do you see in Reply field?
Test method?
HostMonitor version?
It happens in different test methods, count files, process, services...
My HM version is: 10.10
Thanks, i will try to.KS-Soft wrote:This should not work. %MasterTest% is name of the test item, even if you setup "depends on expression" option, this variable returns test name.I need a view to see quickly which tests I need to modify, but I'm trying to do something like this in the view properties and it doesn't work:
Select items using expresson
%MasterTest%=="('%::Ping: %Folder%::SimpleStatus%'=="UP")"
If you want to find such tests, probably the only "quick" option - export tests into text file (menu File->Export...)