Reply
Old March 23rd, 2007 Top | #1

OSNN Folding Team  
VenomXt's Avatar
Blame me for the RAZR's
Joined: March 2004
Location: Houston, Texas
Posts: 3,442
Reputation: 1240
Power: 146

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

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
VenomXt is offline   Reply With Quote
Old March 23rd, 2007 Top | #2

OSNN Folding Team  
VenomXt's Avatar
Blame me for the RAZR's
Joined: March 2004
Location: Houston, Texas
Posts: 3,442
Reputation: 1240
Power: 146

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

I found this and i think its a step in the right direction.. hehe
VenomXt is offline   Reply With Quote
Old March 23rd, 2007 Top | #3

OSNN Folding Team  
fitz's Avatar
XPista7eopard*ix
Joined: April 2004
Location: Chicagoland
Posts: 4,028
Reputation: 2947
Power: 168

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

why reinvent the wheel? There are are a ton of freeware/shareware/payware products out there to do simple system availability monitoring (http://www.programurl.com/software/ping-monitor.htm)
fitz is offline   Reply With Quote
Old March 23rd, 2007 Top | #4

OSNN Folding Team  
VenomXt's Avatar
Blame me for the RAZR's
Joined: March 2004
Location: Houston, Texas
Posts: 3,442
Reputation: 1240
Power: 146

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

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
VenomXt is offline   Reply With Quote
Old March 25th, 2007 Top | #5
 
X-Istence's Avatar
*
Joined: December 2001
Location: USA
Posts: 6,496
Reputation: 2808
Power: 220

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

You will just create a bad re-implementation of something that has been perfected over the years. The wheel.

nmap is your toy.
X-Istence is offline   Reply With Quote
Old March 25th, 2007 Top | #6
 
Mooz's Avatar
Moozically Con~foozed
Joined: July 2002
Location: UK
Posts: 126
Reputation: 60
Power: 122

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

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
Mooz is offline   Reply With Quote
Old March 25th, 2007 Top | #7
 
GoNz0's Avatar
NTFS Stoner
Joined: March 2002
Location: the year 2525
Posts: 2,781
Reputation: 350
Power: 155

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

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
GoNz0 is offline   Reply With Quote
Old March 25th, 2007 Top | #8
 
Shamus MacNoob's Avatar
OSNN Veteran Addict
Joined: January 2002
Location: Brossard,Quebec
Posts: 4,199
Blog Entries: 1
Reputation: 1481
Power: 182

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

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 .


ASUS PN5-E SLI,Intel E8400,2 x 8800GTX 768mb SLI,ASUS VW266H 26 inch LCD, 8 GB Crucial Ballistix Tracer, Silverstone Strider 850watt PSU.Windows 7 Ultimate 64bit.
Shamus MacNoob is offline   Reply With Quote
Old March 27th, 2007 Top | #9

OSNN Folding Team  
VenomXt's Avatar
Blame me for the RAZR's
Joined: March 2004
Location: Houston, Texas
Posts: 3,442
Reputation: 1240
Power: 146

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

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)
VenomXt is offline   Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
no attachments in a text message or e-mail Smokey34 Portable Devices & Gadgets 0 December 11th, 2006 2:59pm
Possible fix for the Voicemail text message thing Chancre_Scolex Portable Devices & Gadgets 0 September 23rd, 2006 6:35am
I need a program that generates a text file on all the file names and meta data VenomXt Windows Desktop Systems 14 August 26th, 2006 2:47am
What do you think is the fastest way to text message? inakaotaku Portable Devices & Gadgets 7 February 20th, 2006 2:53am
Downloading text from word 97 onto message board Kirrie2001 Windows Desktop Systems 3 February 12th, 2002 6:52pm