Link to home
Get AccessLog in
Avatar of -P-Henderson
-P-Henderson

asked on

Ping Script & automatic trace route

Hi,

I have a number of devices that loose connectivity, they are connected through various ways and 3rd party clouds. The connections drop at random times and i do not have the time to monitor them all and initiate a trace route once i discover one down.

I would like to write a ping script that will ping a selection of devices every 10 seconds or so and if the ping fails to initiate a trace route to the device.
I also need the outputs to be logged to a txt file.

Thanks,
Avatar of Ernie Beek
Ernie Beek
Flag of Netherlands image

Looks like someone allready made that:
https://www.experts-exchange.com/questions/22882736/Batch-Script-to-Ping-and-Tracert.html

I hope it helps you as well.
Avatar of -P-Henderson
-P-Henderson

ASKER

I'm new to this kind of thing and to be honest the whole script doesn't make much sense,
-do i need to create a pinglog.txt if so, where does it need to be.
-where does the script source its IP's to ping, i have a range of 15 to ping if possible.
ok.

At the moment I have some leakage problems at home so I'm a bit busy right now :-~

I'll have a look as soon as I am able to.
Leakage,,,, not good.
I've go the ping script working with one Destination IP, just need to know how to get it to work with multiple ip's.
ASKER CERTIFIED SOLUTION
Avatar of Ernie Beek
Ernie Beek
Flag of Netherlands image

Link to home
membership
This content is only available to members.
To access this content, you must be a member of Experts Exchange.
Get Access
My appologies for the delay, this worked a treat.... Thanks
Never mind, glad it's working.

And thx for the points :)