Idle/Active test check

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
LANTONIO
Posts: 13
Joined: Wed Apr 24, 2019 3:09 am

Idle/Active test check

Post by LANTONIO »

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

Post by KS-Soft »

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

Post by KS-Soft »

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
LANTONIO
Posts: 13
Joined: Wed Apr 24, 2019 3:09 am

Post by LANTONIO »

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
I think this one is the best for our intent.
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?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

(%Recurrences%==1) and ('%::server1testname::SimpleStatus%'=='DOWN') and ('%::server2testname::SimpleStatus%'=='DOWN')

Regards
Alex
Post Reply