Link to home
Start Free TrialLog in
Avatar of shayneg
shaynegFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Write a ping response to the event viewer

We have some server monitoring software that can alert us if a particular event is logged in event viewer. We would like to run a script or batch file every 15 mintes to run a ping command to a remote site connected via vpn. Based on the response form the remote site i would like to be able to log an event into event viewer to alert us if the remote site has been disconnected. So for example if the remote site is down and i get a request timed out error message on the ping command i would like this to log an event to event viewer which in turn i can look out for with our serve rmonitoring software which will alert us accordingly.
Avatar of Dusan_Bajic
Dusan_Bajic
Flag of Serbia image

I used Keep Connected for similar purpose:
http://www.greyware.com/software/keepconnected/

It is not a batch file, but it can do what you need (and much more).

ASKER CERTIFIED SOLUTION
Avatar of Brad Howe
Brad Howe
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of shayneg

ASKER

Solution worked great thanks