website and ping
Results 1 to 9 of 9

Thread: website and ping

  1. #1
    Registered User Fubarian's Avatar
    Join Date
    Dec 2000
    Location
    Columbus, Ohio
    Posts
    1,117

    website and ping

    I'm looking to develop a page that will automatically ping internal servers to check to see if they're alive or not.

    How I'm trying to set this :: every 15 minute its pings all the servers once, if the ping fails, it repeats the ping in 15 seconds and after a given number of attemps (5?), it displays a message on the page next to that computer name saying "DOWN".

    What I'm wanting to run this on is a 03 server and not really sure what will be the simplest way, yet somewhat flexable (easy to add additional servers) maybe even submit emails when the process fails. I'm not all that good with programming (me hardware!) but the sites I've found so far are not really helping much. I'm fairly good with VB, vb script, java, etc but its been a while.

    Anyway, ideas, examples, etc?

  2. #2
    Registered User Gollo's Avatar
    Join Date
    Sep 2001
    Location
    Grand Rapids, Michigan US of A
    Posts
    2,383
    Why reinvent the wheel?

    And you can use this to run it as a service.

    Who knows maybe they have a web based plugin or something.
    Last edited by Gollo; January 31st, 2004 at 06:09 PM.

  3. #3
    Geezer confus-ed's Avatar
    Join Date
    Jul 1999
    Location
    In front of my PC....
    Posts
    13,087
    Quote Originally Posted by Gollo
    Why reinvent the wheel?...
    Because it says 'this page is not available' ?

  4. #4
    Registered User Gollo's Avatar
    Join Date
    Sep 2001
    Location
    Grand Rapids, Michigan US of A
    Posts
    2,383
    Quote Originally Posted by confus-ed
    Because it says 'this page is not available' ?
    Oops

    Link fixed

  5. #5
    Registered User +Daemon+'s Avatar
    Join Date
    Jan 2002
    Location
    RC, Ca
    Posts
    3,406
    if you are using a linux/unix server you could write a server side app to do this, like in php, cgi, perl

    not to hard

  6. #6
    Geezer confus-ed's Avatar
    Join Date
    Jul 1999
    Location
    In front of my PC....
    Posts
    13,087
    Quote Originally Posted by +Daemon+
    if you are using a linux/unix server you could write a server side app to do this, like in php, cgi, perl

    not to hard
    ... but why just linux ? (No real reason at all I suspect, besides you know how to do it with that ?) ... I know lots of companies that have asp generated intranet pages that rely on this, so show you at a glance what servers are 'live' & what not ...

    Not my 'thing' - so don't ask how ... but I know you can

  7. #7
    Registered User Fubarian's Avatar
    Join Date
    Dec 2000
    Location
    Columbus, Ohio
    Posts
    1,117
    I'm not running linux anywhere, no need.

    That was the theory, create a page anyone could go to at any time and see if email, file services, etc were working/responding. I found a way to do it in VB but it uses the shell to run the ping (lame) and doesn't work well when spliced with a page. Also it requires a person to refresh to get the info current, which I don't want either (want updated every so often, automatically).

    Egh, it sucks.
    Last edited by Fubarian; February 12th, 2004 at 09:40 AM.

  8. #8
    Registered User mongo69's Avatar
    Join Date
    Jul 2001
    Location
    Riverside Ca
    Posts
    93
    Quote Originally Posted by Gollo
    Why reinvent the wheel?

    And you can use this to run it as a service.

    Who knows maybe they have a web based plugin or something.
    Also Servers Alive will do the same thing. I use this at work.

  9. #9
    Registered User +Daemon+'s Avatar
    Join Date
    Jan 2002
    Location
    RC, Ca
    Posts
    3,406
    Quote Originally Posted by confus-ed
    ... but why just linux ? (No real reason at all I suspect, besides you know how to do it with that ?) ... I know lots of companies that have asp generated intranet pages that rely on this, so show you at a glance what servers are 'live' & what not ...

    Not my 'thing' - so don't ask how ... but I know you can
    install php on windows

Bookmarks

Posting Permissions

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