|
![]() |
|
| Author |
|
|||||||
|
SquarkyD
Posts: 5951
Location: Brisbane, Queensland
|
i need to find a program that i can install on my PC that will log everytime it goes offline. Been having lots of dropouts (over 50 a day in some cases) with bigpond cable and need to make a log to show them how bad the problem is. i've found heaps of programs that half do the job but nothign descent yet. Any suggestions?
|
|||||||
| #0 04:49pm 14/04/08 |
|
|||||||
|
system
|
--
|
|||||||
| #0 |
|
|||||||
|
reso
I can't read
Posts: 4285
Location: Brisbane, Queensland
|
You may be able to save logs with pingplotter freeware.
|
|||||||
| #1 05:01pm 14/04/08 |
|
|||||||
|
SquarkyD
Posts: 5952
Location: Brisbane, Queensland
|
no logging that i could find :(
|
|||||||
| #2 09:37pm 14/04/08 |
|
|||||||
|
trog
AGN Admin
Posts: 23247
Location: Brisbane, Queensland
|
could you just run ping -t all day and record the output of that?
|
|||||||
| #3 09:40pm 14/04/08 |
|
|||||||
|
Obes
Posts: 5907
Location: Brisbane, Queensland
|
Start -> Run
Let it run for as long as you like ... days even... Press ctrl-c to end example of c:\pingout.txt
I'd advise picking a host inside the Telstra network (eg. ns0.telstra.net or some other named host, ns0 probably isn't a good choice but the telstra gimps should be able to offer you one.). Possibly supplementing your ping log with a tracert to said host. last edited by Obes at 22:43:11 14/Apr/08 |
|||||||
| #4 10:43pm 14/04/08 |
|
|||||||
|
shad
Posts: 2239
Location: Brisbane, Queensland
|
Is there any reason why you have to check for dropouts yourself? They have tools there that can see the dropouts for adsl and cable.
|
|||||||
| #5 09:51pm 14/04/08 |
|
|||||||
|
trog
AGN Admin
Posts: 23248
Location: Brisbane, Queensland
|
Squarky - I just hacked this together real quick - its a PHP script that'll try to ping www.telstra.com, and if it fails it'll just log the time to a file.
All you'll need to do is download PHP and just run it a la: php.exe connmon.php |
|||||||
| #6 10:01pm 14/04/08 |
|
|||||||
|
Jim
Posts: 7665
Location: Brisbane, Queensland
|
mwuaha I know your username now obes
|
|||||||
| #7 10:01pm 14/04/08 |
|
|||||||
|
SquarkyD
Posts: 5953
Location: Brisbane, Queensland
|
awesome thanks trog, i'll let it run for a few days.
|
|||||||
| #8 10:27pm 14/04/08 |
|
|||||||
|
SquarkyD
Posts: 5954
Location: Brisbane, Queensland
|
I broke it apparenlty :/
PHP Notice: Use of undefined constant fp - assumed 'fp' in F:\Program Files\PHP \conmon.phps on line 31 PHP Notice: Undefined variable: data in F:\Program Files\PHP\conmon.phps on lin e 47 yes i have windows installed on F: also had to add ?PHP to the top of the script to make it run :p |
|||||||
| #9 10:41pm 14/04/08 |
|
|||||||
|
trog
AGN Admin
Posts: 23254
Location: Brisbane, Queensland
|
Ah yeh sorry, forgot the default PHP now requires that.
Also haha windows on f: |
|||||||
| #10 01:46pm 15/04/08 |
|
|||||||
|
Obes
Posts: 5910
Location: Brisbane, Queensland
|
its more lol at using php to do it
|
|||||||
| #11 01:49pm 15/04/08 |
|
|||||||
|
trog
AGN Admin
Posts: 23255
Location: Brisbane, Queensland
|
I defy you to do that otherwise in less than 4 minutes in some other language obes - IF that's even your real name
|
|||||||
| #12 01:59pm 15/04/08 |
|
|||||||
|
teq
Posts: 1130
Location: Brisbane, Queensland
|
perl is the only other app i could do it in too
mostly because of strawberry perl - http://strawberryperl.com/ |
|||||||
| #13 02:15pm 15/04/08 |
|
|||||||
|
3x0dus
Posts: 999
Location: Townsville, Queensland
|
im with trog,
i will often quickly do up a script in php and run it via console, works well. |
|||||||
| #14 04:05pm 15/04/08 |
|
|||||||
|
dRanged
Posts: 1153
Location: Sydney, New South Wales
|
the telstra gimps haha, how quaintly appropriate. |
|||||||
| #15 04:48pm 15/04/08 |
|
|||||||
|
stinky
Posts: 2507
Location: Brisbane, Queensland
|
pfft php. ps this is untested
pingtest.bat @echo off :START ping server.com if errorlevel 1 GOTO LOG GOTO START :LOG time /T >> c:\failures.txt GOTO START |
|||||||
| #16 05:02pm 15/04/08 |
|
|||||||
|
SquarkyD
Posts: 5956
Location: Brisbane, Queensland
|
is there anyway to make that run every 60 seconds rather than constant pinging?
|
|||||||
| #17 07:06pm 15/04/08 |
|
|||||||
|
Obes
Posts: 5912
Location: Brisbane, Queensland
|
The easiest and simpliest way ...
ping -t ns0.telstra.net >c:\pingout.txt And at the bottom of the file after you press ctrl-c is Packets: Sent = 5, Received = 5, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms Unless your time is synchronised with their time, time stamps are about as useful as a pink poodles poo covered in candy. Interesting, but not something anyone wants. Besides which being down 50% of the time is a far more compelling argument then "at these random times it didn't work". Stinky did it with a batchfile for the time logging (dirty ping is a bit dodge sometimes with its errorlevel in my experience) No downloads, no installs... you can use that on pretty much any OS Or we could go installing random crap all over the place... Let's introduce another point of failure ... |
|||||||
| #18 09:53pm 15/04/08 |
|
|||||||
|
Mantra
Crusty old man
Posts: 1981
Location: Brisbane, Queensland
|
I hate to say this.. but... Obes is right.
|
|||||||
| #19 10:26pm 15/04/08 |
|
|||||||
|
system
|
--
|
|||||||
| #19 |
|
|||||||
|
| ||||||||