Ping Predefined IP's and return results in a Text file or message box.

Joined
11 Mar 2004
Messages
3,454
Ok i want to ping about 20 static ips (one or two at a time) and display if any did not respond or dropped a packet.. Any ideas? I was thinking about VB.net but i dont know how to do a ping in it and return a result that i can apply to logic?

Any ideas?

-Sean
 
I will look at them, However Id like to write it myself for a learning experience and to present to my boss as something that I made. hehe
 
You will just create a bad re-implementation of something that has been perfected over the years. The wheel.

nmap is your toy.
 
in its simplest form although i agree there are far too many products out there that do this .... (see the prtg website they have an uptime monitor).

ping hostname > logfile.txt

will save the results in a logfile for you to peruse ... you could then use logfile parser (microsoft) .... to read the results where there were errors only.

D
 
yep agree with all the above, plus it will reinforce the reason why the boss employed you when you reply with

"yeh thats an easy one, i will run a ping command and instruct it to save to a log file, then use the microsoft logfile parser to only show errors for the dead ip's, shouldn't take me more than an hour to setup a batch script to pull it off"

then spend 55 mins surfing where ever as you already set it up today :D
 
I have to aggree also , there is no point in trying to reinvent anything, unless you really know what you want ahead of time and can perfect something that is all ready there, I see some young hotshots trying to impress by repacking MS updates in a wrapper or Sun Java and some how trying to get credit for work done by others , they come off as just plain stupid .
 
eh making a batch file using this command really has done everything i need

I just add every static ip we have in regards to switches and AP's

Code:
ping -n 1 192.168.1.100

pause

Doest exactly what i need (measures connectivity of the device)
 

Members online

No members online now.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back