Results 1 to 5 of 5
  1. #1
    Lounger
    Join Date
    Jun 2002
    Posts
    44
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Ping and Log Software

    Hi there, I am looking for some shareware/freeware program that will go out and ping a specific address at designated intervals and record the results in a txt file. We are having difficulty with our mail server and are looking for a utility to do some testing. Anyone hear of something similar?

    LisaB

  2. #2
    Platinum Lounger
    Join Date
    Jan 2001
    Location
    Quedgeley, Gloucester, England
    Posts
    5,333
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Ping and Log Software

    You can do this with a BATch file <img src=/S/fanfare.gif border=0 alt=fanfare width=31 height=23>, running in a Command Prompt window.

    To do exactly what you want takes only this very short BATch file (say PINGER.BAT):

    <code>
    :: PINGER.BAT
    :loop
    PING -n 1 servername >> LOGFILE.TXT
    :: next PING equivalent to SLEEP command
    PING -n 120 127.0.0.1 > NUL
    goto loop</code>


    Insert the "servername" you want to PING, by name or by IP address. The "120" means "do nothing" for (almost) 120 seconds; put whatever number you like here! This file runs 'permanently' until forcibly terminated.

    If what you REALLY want to do is to send a message to one or more userids or one or more machines if the main PING should return a Timeout, add timestamps, etc, then ask again.

    There is also some software called Servers Alive which years ago used to be free, but doesn't seem to be free any more (on a quick glance). It may be overkill for what you want to do, but it's certainly more thorough...

    John
    <font face="Script MT Bold"><font color=blue><big><big>John</big></big></font color=blue></font face=script>

    Ita, esto, quidcumque...

  3. #3
    Lounger
    Join Date
    Jun 2002
    Posts
    44
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Ping and Log Software

    Thank you! I'll try the Batch file first...

    That Servers Alive product looks pretty cool too - looks like it just about can drive over, knock at your door and call your Mother if you get an error!

    Lisa <img src=/S/thankyou.gif border=0 alt=thankyou width=40 height=15>

  4. #4
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Ping and Log Software

    That reminds me of a problem we had for a while with the configuration of our monitoring software. When the mail server went down, it was supposed to send an e-mail using (you guessed it) the down server. <img src=/S/doh.gif border=0 alt=doh width=15 height=15> Well, you can't get it right all the time. <img src=/S/laugh.gif border=0 alt=laugh width=15 height=15>

  5. #5
    Platinum Lounger
    Join Date
    Jan 2001
    Location
    Quedgeley, Gloucester, England
    Posts
    5,333
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Ping and Log Software

    "Keyboard error. Press F1 to continue" revisited!

    John
    <font face="Script MT Bold"><font color=blue><big><big>John</big></big></font color=blue></font face=script>

    Ita, esto, quidcumque...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •