I want to use:
This test depends on Expression:
if the current time is 1 hour later then the last state change
of is there a way to work with %h-[1h]% or anything like this
thank you for your help
Expression Problem
You cannot use such operation.
Please chekc the manual: http://www.ks-soft.net/hostmon.eng/mfra ... m#userexpr
Regards
Alex
Please chekc the manual: http://www.ks-soft.net/hostmon.eng/mfra ... m#userexpr
Regards
Alex
There is %CurrentStatusDuration_sec% variable.
You expression may look like ('%::MasterTestName::SimpleStatus%'=='DOWN') and (%::MasterTestName::CurrentStatusDuration_sec%>3600)
If you want to start some alerts based on this condition, I think you need to use this expression for "advanced mode" action assigned to that master test. You don't need to use this expression for dependant tests.
Unless I misunderstood your needs...
Please check list of variables that you can use: http://www.ks-soft.net/hostmon.eng/mfra ... .htm#macro
Also you may check manual in MS Word format (manual.doc file located in HostMonitor folder)
Regards
Alex
You expression may look like ('%::MasterTestName::SimpleStatus%'=='DOWN') and (%::MasterTestName::CurrentStatusDuration_sec%>3600)
If you want to start some alerts based on this condition, I think you need to use this expression for "advanced mode" action assigned to that master test. You don't need to use this expression for dependant tests.
Unless I misunderstood your needs...
Please check list of variables that you can use: http://www.ks-soft.net/hostmon.eng/mfra ... .htm#macro
Also you may check manual in MS Word format (manual.doc file located in HostMonitor folder)
Regards
Alex
I have a similar problem, but I only have one action and 4 tests that may trigger the action.
2 x master test. Trigger action if bad for > X time.
2 x dependant tests. Trigger action immediately.
I can see how to create 4 actions, but I would like to use the one action for all of the tests as I may need to add additional master/dependant tests.
cheers, Paul
2 x master test. Trigger action if bad for > X time.
2 x dependant tests. Trigger action immediately.
I can see how to create 4 actions, but I would like to use the one action for all of the tests as I may need to add additional master/dependant tests.
cheers, Paul