Cisco Support Community
Community Member

Testing for abnormal disconnect

I maintain a VPN between two sites using the VPN Client

The clients are running on Windows server 2003.

The connection is started with a script using the command line.

I need to know when the connection goes down. Currently I use a timed script that attempts to reconnect the VPN and if the client returns a 200 I assume it remains connected otherwise the client reconnects, if possible, and the connection is maintained. I log the success or failure of the reconnection event.

This is kind of a kluge. Polling with another process is not a reliable tool in my environment.

Is there a better way I can monitor the connection?

Will the client terminate in some manner I can test in a script or some othere more deterministic means to notify a process that the connection has failed?

Thanks in advance.


Everyone's tags (4)
CreatePlease to create content