.net - Remote check if machine is alive and reachable using c# under NAT -


i'm trying develop "backup service" should start if can't reach specific pc.

the backup service should check if machine alive (ping isn't solution because remote machine can natted).

maybe failed ssh connection can tell me if machine down\not reachable.

the idea is:

 if (!endpointisalive){ //start backup }else{ //wait x , retry } 

nat no argument against ping stated in comment. in oppionion try re-invent wheel. advise check snmp protocol , snmp traps, fulfill needs.

traps trigger based events sent management machine, alarm raised.

you instantly know, if , machine went down.


Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -