correlated depends

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).
Post Reply
MirkoW
Posts: 210
Joined: Tue Jul 01, 2008 6:51 am

correlated depends

Post by MirkoW »

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"
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

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
MirkoW
Posts: 210
Joined: Tue Jul 01, 2008 6:51 am

Post by MirkoW »

Okay,

Thanks for help :D
Post Reply