Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

auto restarting tethereal

Status
Not open for further replies.

andrew321

ISP
Aug 26, 2004
1
GB
hi there,

i have tethereal working on our web usage monitoring website but when there is a problem with one of the sites that we monitor, i have to use network probe on terminal services to see what the problem is. If network probe is started then it stops tethereal. To correct this i have to go to 'run' -> then type "services.msc-> then look for "protocol warnings"-> then restart it. This is the only way to get the "tethereal.exe" to start again.

Is there a way to automate this process using python, so it automatically restarts tethereal when the program fails (not restart protocol wanings service, just the program that is asociated with it).

Please could someone help me on this problem
 
I'm not sure you necessarally need python to do this (it might be more complex then needed). You could probably write a short VBScript .vbs file to do it and then maybe schedule it to run every 5 minutes or so in windows scheduler.

-T

barcode_1.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top