Hello,
i have 2 server with the same Application-Service. But only one Service of them need to run. And if Sever 1 crashed so the Application-Service on Server 2 run automaticially.
I have add 2 test-methods with correlated depends "dead or alive".
now the 2. Server is running but the 1. testmethod for the first Server display alerts. but i don't know why.
Here are the Test-Properties:
Test1:
Testname: Server 1:App
Master Test: Server2:App: "dead or unknown"
Test2:
Testname: Server 2:App
Master Test: Server1:App: "dead or unknown"
correlated depends
That's really bad idea. Test1 depends on Test2 that depends on Test1 that depends on Test2...
If you start Auditing Tool, it will show "loop error".
Please remove these dependencies.
If you want to start alert when both servers dead, there are 2 options
1) create 3rd test (e.g. ping localhost) and use "depends on expression" option with expression like ('%::Test1::SimpleStatus%'=='UP') or ('%::TestB::SimpleStatus%'=='UP'); OtherwiseStatus set to Bad; assign alert profile to this auxiliary Test3
Another solution
2) Use "advanced mode" action assigned to Test1 and Test2 with expression like ('%::Test1::SimpleStatus%'=='DOWN') and ('%::Test2::SimpleStatus%'=='DOWN') and (%Recurrences%==1)
Regards
Alex
If you start Auditing Tool, it will show "loop error".
Please remove these dependencies.
If you want to start alert when both servers dead, there are 2 options
1) create 3rd test (e.g. ping localhost) and use "depends on expression" option with expression like ('%::Test1::SimpleStatus%'=='UP') or ('%::TestB::SimpleStatus%'=='UP'); OtherwiseStatus set to Bad; assign alert profile to this auxiliary Test3
Another solution
2) Use "advanced mode" action assigned to Test1 and Test2 with expression like ('%::Test1::SimpleStatus%'=='DOWN') and ('%::Test2::SimpleStatus%'=='DOWN') and (%Recurrences%==1)
Regards
Alex