Howto add Server Monitoring to your homepage

From PsychoWiki

Jump to: navigation, search

[edit] Howto add Server Monitoring to your homepage

You will need to do some simple steps:

  1. 1. Goto your Psychostats Administrator Control Panel and add the server you want to monitor
  1. 2. Put the following code into the place where you want to add monitoring:
<iframe 
  src="http://www.somesite.com/path_to_stats/query.php?ip=address:port" 
  width="586" 
  height="315">
</iframe>

Where:

  • http://www.somesite.com/path_to_stats/ - Path to your PsychoStats installation
  • address:port - Server IP addess and port. Example: 192.168.0.10:27015

You can also change sizes of the frame by changing width and height parameters...

Note. The query.php with PsychoStats will only display server IP's that are configured in your Live Servers section of the ACP. This is a security feature so that not anyone can just point to your query.php and use your resources and include the results on their own pages.

[edit] Related Links

iFrame Syntax