.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
Post a Comment