Hi,
HM v.12.50
windows server 2008
We need to check a particolar service trough a TCP Connection test to 2 server.
We need to check server1:port if it failed then check server2:port if all server are in KO send the email, this should be work switching the server checked, so if server2:port failed then check server1:port if all are down the send email.
is it possible?
Thanks
Idle/Active test check
Send e-mail when both servers do not answer?
- setup server1 test as Master for server2 test (perform server2 test when server1 has "bad" or "unknown" status;
- assign alert profile with "Send e-mail" action to server2 test
https://www.ks-soft.net/hostmon.eng/mfr ... htm#Master
Regards
Alex
- setup server1 test as Master for server2 test (perform server2 test when server1 has "bad" or "unknown" status;
- assign alert profile with "Send e-mail" action to server2 test
https://www.ks-soft.net/hostmon.eng/mfr ... htm#Master
Regards
Alex
PS
Unless you need to test both servers all the time for statistics?
Then you may use either
- 3rd "helper" test item with assigned action (dependant on server1 and server2)
- or use "advanced mode" action assigned to server1 and server2 actions. You may use expression like
('%::server1testname::SimpleStatus%'=='DOWN') and ('%::server2testname::SimpleStatus%'=='DOWN')
Regards
Alex
Unless you need to test both servers all the time for statistics?
Then you may use either
- 3rd "helper" test item with assigned action (dependant on server1 and server2)
- or use "advanced mode" action assigned to server1 and server2 actions. You may use expression like
('%::server1testname::SimpleStatus%'=='DOWN') and ('%::server2testname::SimpleStatus%'=='DOWN')
Regards
Alex
I think this one is the best for our intent.KS-Soft wrote:PS
- or use "advanced mode" action assigned to server1 and server2 actions. You may use expression like
('%::server1testname::SimpleStatus%'=='DOWN') and ('%::server2testname::SimpleStatus%'=='DOWN')
Regards
Alex
But in this case HM will send the mail every time the schedule check the status. Is it right? How can I set to send just one time the email?