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!

Monitor with ping

Status
Not open for further replies.

wolf2x

IS-IT--Management
Dec 26, 2000
107
US
I am having some problems with a certain network printer of ours.

I am wanting to take the results of me pinging the printer and write the results to a file. But I would like the ping results to show the time of the ping so I can check the results against the times of the failed prints.

Right now I have:
"ping 192.168.0.203 -t > PingResults.txt"

I have a small network so continously pinging the printer won't be a problem.

Anyone know how I can have the results show the time of the pings?

 
When you create the txt file it will have file attributes such as created. If you need specific times thru various hours use other utilities. Route once; switch many
 
Another way is to create a batch file that increments the file name after each sequence Route once; switch many
 
Let me clarify a little....Instead of the normal output from ping:
Pinging 192.168.0.203 with 32 bytes of data:

Reply from 192.168.0.203: bytes=32 time=10ms TTL=60
Reply from 192.168.0.203: bytes=32 time<10ms TTL=60
Reply from 192.168.0.203: bytes=32 time<10ms TTL=60



I would like the results to be in the form of:
Pinging 192.168.0.203 with 32 bytes of data:

Reply from 192.168.0.203: bytes=32 time=10ms TTL=60 08:00:00
Reply from 192.168.0.203: bytes=32 time=10ms TTL=60 08:00:01
Reply from 192.168.0.203: bytes=32 time=10ms TTL=60 08:00:02


The &quot;08:00:00&quot; noting the time the echo was received.

Thanks

 
It rather depends on the platform that is doing the pinging.

On NT you could have a batch file that performs the date command (with the /T option) and then the ping and outputs both to the file.

On Unix you could use

echo `date` >> foo.bar
ping printer_ip >> foo.bar


and so on
 
There are a number of freeware and low cost shareware tools out there which will do this for you. Take a look on tucows.com or download.com. Search for ping.

Or you can do as suggested by newmangj.

Hope that helps.
The Old Man
 
Thanks to everyone's replies.

I did find a program that allows you a trial period before purchasing.

If anyone is intersted...the name of the program is AB Complete Ping 3.0.
 
I am doing something that looks a little like what you want to do. It's not printers, but servers on unstable VPN connections via the internet.

I use SiteScope to do this. You can find it at
Using pring for testing is just a very minor thing in SiteScope but like all other monitors SiteScope can give you very nice reports.

/johnny
 
Go to
and look for landguard network monitor. Best freeware I've found. [sunshine] Glen A. Johnson
Microsoft Certified Professional
glen@nellsgiftbox.com
[americanflag]

&quot;The essence of knowledge is, having it, to apply it;
not having it, to confess your ignorance.&quot;
Confucius (c. 551BC - 479BC) Chinese philosopher,
 
Sending aping is very inefficient and may well contribute to your network failures. Use a monitor.

Download one of the many free or shareware network utilities like the excellent NetworkSmart Lite from
Check your event logs for when the print fails...
 
in case anyone is/was interested...

The problem turned out to be the harddrives on the network printer.

According to the event logs, all of the print jobs were being sent to the printer with no problems. Using the results from ping and from some of the freeware apps, I was able to make the printer tech understand that the problem was on their end.

Thanks again...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top