• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Ping plotter or other reachability tool?

spidey07

No Lifer
I quickly need something that will ping at quick intervals - say 5 seconds and record any timeouts and at what time they occured.

Any ideas? I'm desparate here.
 
This is exactly what you're looking for. It'll tell you a wealth of info about each IP you're pinging and you can set the ping interval anywhere from 1 second to whatever.

Grab FREEPing for Intel off this page. I use it to keep my dynamic IP at home static.
 
do following at command prompt to create a scheduled task that runs every 5 min: (works on XP - in 2K you'd have to create thru GUI)
schtasks /create /sc minute /mo 5 /tn "PingxScript" /tr c:\pinghostx.cmd

make batchfile called c:\pinghostx.cmd with the following
@echo off
ping -n 1 10.200.10.254 | find "Lost = 1" >nul
if not errorlevel 1 echo 1 ping lost at %time% %date% >>c:\pingxlog.txt

-Dave
 
Damn, can't read. You said 5 seconds not 5 minutes, lowest you can set scheduled task is for 1 minute..... Sorry about that
 
Thanks guys.

I set FREEping to hit a few key IP addresses. Openview does this just fine but I can't just go around telling openview to ping/poll every 5 seconds.:Q

Talk about a netNOTworking. Poll 8000 nodes every 5 seconds. meltdown.
 
there is a free utility called doze , that waits a specified number of seconds and then resumes, get it here

so the you could just do this in your batch file and keep it running
@echo off
:Begin
ping -n 1 10.200.10.254 |find "Lost = 1" >nul
if not errorlevel 1 echo 1 ping lost at %time% %date% >>c:\pinglog.txt
c:\doze.exe 5
goto Begin


-Dave

-edit-
I saw you already solved your problem, but for the hell of it in the above example you could use evenetcreate command to log to the Windows application log in eventvwr
- i.e.
replace
if not errorlevel 1 echo 1 ping lost at %time% %date% >>c:\pinglog.txt
with
if not errorlevel 1 EVENTCREATE /T ERROR /ID 999 /L APPLICATION /SO PING /D "Ping to host 10.200.10.254 Failed"
 
Moby99,

I haven't done any kind of programming since I was in college. I prefer to keep it that way for the rest of my natural life and eternity unless god forces me to code something in my afterlife (he better not!) 😉 It just ain't natural or healthy.

Thanks a bunch though, I'm sure anybody reading this thread will benefit.
 
Back
Top