+ Post New Thread
Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 41
Web Development Thread, PHP Server Monitor in Coding and Web Development; Originally Posted by glennda try via ip address and see if it works if so then its your dns lookups ...
  1. #16
    Chris_'s Avatar
    Join Date
    Jul 2010
    Location
    UK
    Posts
    673
    Thank Post
    131
    Thanked 111 Times in 94 Posts
    Rep Power
    43
    Quote Originally Posted by glennda View Post
    try via ip address and see if it works

    if so then its your dns lookups which are failing.
    I get timeout when I use the IP address also. I am able to ping both the hostnames and IP addresses successfully from the server that I'm trying to run the server monitor on.

  2. #17
    zag
    zag is offline
    zag's Avatar
    Join Date
    Mar 2007
    Posts
    3,762
    Thank Post
    897
    Thanked 416 Times in 350 Posts
    Blog Entries
    12
    Rep Power
    86
    Sorry not heard of that problem before, if you can ping it from a cmd prompt it should work in the php script.

    Might want to check any firewalls or ports that are open

  3. #18
    Chris_'s Avatar
    Join Date
    Jul 2010
    Location
    UK
    Posts
    673
    Thank Post
    131
    Thanked 111 Times in 94 Posts
    Rep Power
    43
    I'll try on on another server and see if I have better luck. Thanks for providing a useful little tool though

  4. #19

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,802
    Thank Post
    272
    Thanked 1,135 Times in 1,031 Posts
    Rep Power
    349
    sounds like something is blocking the php's ping request. I have never used php and iis so not sure why its doing that.

    but with apache after i stopped being a moron it just worked.

  5. #20
    zag
    zag is offline
    zag's Avatar
    Join Date
    Mar 2007
    Posts
    3,762
    Thank Post
    897
    Thanked 416 Times in 350 Posts
    Blog Entries
    12
    Rep Power
    86
    Just for the record, I run it on IIS 7.5 fine

  6. #21
    Chris_'s Avatar
    Join Date
    Jul 2010
    Location
    UK
    Posts
    673
    Thank Post
    131
    Thanked 111 Times in 94 Posts
    Rep Power
    43
    Is there any specific IIS settings or permissions that need to be changed for this to work?

  7. #22
    zag
    zag is offline
    zag's Avatar
    Join Date
    Mar 2007
    Posts
    3,762
    Thank Post
    897
    Thanked 416 Times in 350 Posts
    Blog Entries
    12
    Rep Power
    86
    Quote Originally Posted by Chris_ View Post
    Is there any specific IIS settings or permissions that need to be changed for this to work?
    Yes you probably need to allow script and application rights in the site properties.

  8. #23
    Chris_'s Avatar
    Join Date
    Jul 2010
    Location
    UK
    Posts
    673
    Thank Post
    131
    Thanked 111 Times in 94 Posts
    Rep Power
    43
    Quote Originally Posted by zag View Post
    Yes you probably need to allow script and application rights in the site properties.
    I've given the site permission to run script executable permissions and still nothing.

    Might end up having to set up another physical server

  9. #24
    zag
    zag is offline
    zag's Avatar
    Join Date
    Mar 2007
    Posts
    3,762
    Thank Post
    897
    Thanked 416 Times in 350 Posts
    Blog Entries
    12
    Rep Power
    86
    Try it on your work pc, that's what I do. Its pretty simple to install IIS on xp or windows 7 with the php platform installer.

  10. #25
    Chris_'s Avatar
    Join Date
    Jul 2010
    Location
    UK
    Posts
    673
    Thank Post
    131
    Thanked 111 Times in 94 Posts
    Rep Power
    43
    Just installed IIS and PHP using the Microsoft Web Platform installer on my XP work PC. I got the same results. Everything returns timeout.

    Installed WAMP server and it seems to be working. Although it says that there is undefined variables on line 7 and 42 of index.php
    Last edited by Chris_; 26th November 2010 at 10:58 AM.

  11. #26

    JJonas's Avatar
    Join Date
    Jan 2008
    Location
    North Walsham, Norfolk
    Posts
    3,092
    Thank Post
    382
    Thanked 429 Times in 318 Posts
    Rep Power
    383
    What do I need to do to make it autorefresh?

    Ive got it running on a linux box

  12. #27

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,802
    Thank Post
    272
    Thanked 1,135 Times in 1,031 Posts
    Rep Power
    349
    Quote Originally Posted by JJonas View Post
    What do I need to do to make it autorefresh?

    Ive got it running on a linux box
    you need to add outside of the php tags
    HTML Code:
    <meta http-equiv="refresh" content="10">
    just change the 10 to however many seconds.

  13. 2 Thanks to glennda:

    JJonas (25th January 2011), zag (25th January 2011)

  14. #28

    Join Date
    Mar 2011
    Location
    East Sussex
    Posts
    87
    Thank Post
    51
    Thanked 14 Times in 9 Posts
    Rep Power
    9
    Sorry to drag up an old thread, but just added this to our system, very nice thanks!

  15. #29
    zag
    zag is offline
    zag's Avatar
    Join Date
    Mar 2007
    Posts
    3,762
    Thank Post
    897
    Thanked 416 Times in 350 Posts
    Blog Entries
    12
    Rep Power
    86
    Quote Originally Posted by denzal2k4 View Post
    Sorry to drag up an old thread, but just added this to our system, very nice thanks!
    No problem, I've seen it running on a few peoples systems recently.

    Would love to see any screenshots of mashups people do

  16. #30

    Join Date
    Mar 2011
    Location
    East Sussex
    Posts
    87
    Thank Post
    51
    Thanked 14 Times in 9 Posts
    Rep Power
    9
    Not really a mashup but tweaked it a little, and if it goes on one of the display screens or anything will obviously remove the server names.
    schoolmonitor.jpg

SHARE:
+ Post New Thread
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. My Little Server Monitor
    By ICTNUT in forum Wired Networks
    Replies: 310
    Last Post: 20th March 2013, 03:51 PM
  2. Server monitor software?
    By zag in forum Windows
    Replies: 17
    Last Post: 30th July 2010, 01:43 PM
  3. Performance Monitor showing a stressed Server!
    By FragglePete in forum Windows Server 2000/2003
    Replies: 3
    Last Post: 5th May 2009, 03:35 PM
  4. Free SQL Server Monitor
    By ICTNUT in forum Windows
    Replies: 2
    Last Post: 8th August 2008, 04:04 PM
  5. free php server needed
    By callumtuckey in forum General Chat
    Replies: 20
    Last Post: 5th June 2007, 09:36 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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