Jump to content

Recommended Posts

Posted
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

 

just change the 10 to however many seconds.

  • Thanks 2
  • 11 months later...
Posted
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 :)

  • 1 month later...
Posted

Thats just a warning that the variables were not specifically defined.

 

Turn off the error logging "to screen" on whatever webserver you are using.

  • Thanks 1
Posted

Using WAMP on Win 2003, which also has IIS installed, I went ahead and switched off 'display errors'. This cured it.

 

Another problem, how do I access the 'monitor' page from a remote computer? I have setup port 8080 and going into the browser and typing in http://servername:8080/monitor doesn't work. Is there something (non-)fancy that I need to do?

Posted
Using WAMP on Win 2003, which also has IIS installed, I went ahead and switched off 'display errors'. This cured it.

 

Another problem, how do I access the 'monitor' page from a remote computer? I have setup port 8080 and going into the browser and typing in http://servername:8080/monitor doesn't work. Is there something (non-)fancy that I need to do?

 

Yes assuming your using WAMP it denies all outside access for some stupid reason.

 

I cant remember how to fix it but its a setting somewhere. It will be well documented on google :)

Posted

I can't anything at all that's relevant on Google.

 

So far all I've managed to do is modify the alias file under Apache, with the following

 

   Options Indexes FollowSymLinks MultiViews
   AllowOverride all
       Order Deny,Allow
Deny from all
Allow from all

 

Still no luck with this.

  • 2 months later...
Posted
I can't anything at all that's relevant on Google.

 

So far all I've managed to do is modify the alias file under Apache, with the following

 

   Options Indexes FollowSymLinks MultiViews
   AllowOverride all
       Order Deny,Allow
Deny from all
Allow from all

 

Still no luck with this.

 

Not sure if you have this sorted but you have "Deny from all" and then "Allow from all" under it. Remove deny from all, restart apache between modifications also.

 

Woah I love digging threads up from the grave.

  • Thanks 1
  • 9 months later...
Posted

Hi,

 

Thanks for sharing this. It works nicely :)

I was wondering if there is a way to remove some of the information from the web page. I would like the webpage to only show the server description and status instead of server name, description and reply speed response. I've been able to remove the reply speed response, but struggling to remove the server name without breaking everything.

Does anyone know if this is easy enough to achieve and can point me in the right direction?

 

Thanks

  • 2 weeks later...
  • 1 month later...
  • 1 month later...
  • 2 years later...
Posted

This is perfect for a little project I'm working on, however I'm getting following error.

 

Notice: Undefined variable: counter in C:\xampp\htdocs\servers\index.php on line 39

 

Line 39

 

$counter = $counter + 1;

  • 1 year later...
Posted

Sorry to revive an old thread but just come across this product.

Installed WAMP on server 2012.

Like a few others I get the php error but i've set error_reporting to error_reporting(0); in php.ini

Also tried E_ALL & ~E_NOTICE but same error.

 

I'm guessing that's why the data doesn't display as a table either. @zag could you help please.

 

Many thanks.

 

ssmerror.png

Posted (edited)

Add...

@ini_set('display_errors', 0); 
   @error_reporting(0);

...to the file throwing the errors (index.php), directly after the opening <?php

 

Or set...

 

display_errors = 0
error_reporting = 0

 

...in PHP.ini

 

If changes don't take effect, check that they aren't being overridden in httpd.conf or wherever your vhost is defined... this would look something like:

 

php_value error_reporting 1

You should also check any .htaccess files in the folder tree leading to the file throwing the error to ensure that the instruction isn't being overridden at a per-folder level via the same php_value command as above.

 

EDIT: Apols if any formatting within the code blocks is munged. The forum seems to be applying dim-witted attempts to auto BB-code link anything preceeded by an @ as a mention, even when within code blocks, as well as randomly removing line-breaks.

Edited by Marci
  • Thanks 1
  • 4 months later...
Posted (edited)
Hi, Just wondering if its possible to add a packet loss column to the ping monitor at all? I've managed to split the monitor into 3 separate tables but not sure of the php code to get the packet loss. Thanks @zag Edited by karldenton
Posted
I'm going to rewrite this soon, as the code is really messy. I'll take a look then but its designed to be as simple as possible really.
  • 1 year later...
Posted

@zag

 

Thanks for posting up the server monitor script and thanks to those who pointed me in the right direction.

 

So i have the default install - is there a way to hide the host column on the page so the green tick or red cross is the first column as i don't want to show users the host name of the service i am monitoring?

 

Also is there a way to hide the Ping Reply too to general users?

Posted

@zag one last request, is there a way to check ports? For example, sometimes groupcall xporter falls over so would be great if we could check port 6000 and port 80 on the same server.

 

I have a monitor that i got off the net and combining both to one system would be great.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...