Hey,
I have a big question.
I was wondering if it is possible to make a distinction between services that are "clustered". I have 2 DNS Servers, if 1 goes down and de 2nd still works I don't want to see it as BAD or get an alert for DNS.
I'll check it elsewere or my alerting is not that important that I must be paged during night time for this error. Only if both DNS servers go down.
I hope you get my question. Is it possible to do this in KS Host?
MaDS
clusered services
So, you want to receive alert only when both servers fail?
1) You may use master-dependant relation between tests
http://www.ks-soft.net/hostmon.eng/mfra ... htm#Master
2) or you may use "advanced mode" actions
http://www.ks-soft.net/hostmon.eng/mfra ... ncedaction
Regards
Alex
1) You may use master-dependant relation between tests
http://www.ks-soft.net/hostmon.eng/mfra ... htm#Master
2) or you may use "advanced mode" actions
http://www.ks-soft.net/hostmon.eng/mfra ... ncedaction
Regards
Alex
Another solution - "advanced" action.
Disable standard logging for the tests and add "SQL Query" action into action profile that is assigned to these tests.
Use "advanced" action mode and condition like "('%::TestA::SimpleStatus%'=='DOWN') and ('%::TestB::SimpleStatus%'=='DOWN') and ((%::TestA::Recurrences%==1) or (%::TestB::Recurrences%==1))
Regards
Alex
Disable standard logging for the tests and add "SQL Query" action into action profile that is assigned to these tests.
Use "advanced" action mode and condition like "('%::TestA::SimpleStatus%'=='DOWN') and ('%::TestB::SimpleStatus%'=='DOWN') and ((%::TestA::Recurrences%==1) or (%::TestB::Recurrences%==1))
Regards
Alex
Alex,
I've checked it out and it works for my purpose with ('%::TestA::SimpleStatus%'=='DOWN') and ('%::TestB::SimpleStatus%'=='DOWN')
I noticed something else, when I change my refresh interval to 1 sec with the same condition as above and I log to a ODBC then only 1 one test is logged. When change the refresh interval to 4sec then it logs both test (as it should) I'm using a MS Access DB for my tests.
It looks like when both test can handle the write to ODBC it works, I had to go to 3 sec in refresh test to log both tests.[/code]
I've checked it out and it works for my purpose with ('%::TestA::SimpleStatus%'=='DOWN') and ('%::TestB::SimpleStatus%'=='DOWN')
I noticed something else, when I change my refresh interval to 1 sec with the same condition as above and I log to a ODBC then only 1 one test is logged. When change the refresh interval to 4sec then it logs both test (as it should) I'm using a MS Access DB for my tests.
It looks like when both test can handle the write to ODBC it works, I had to go to 3 sec in refresh test to log both tests.[/code]