Web Hosting Talk







View Full Version : Status2k


IGXHost
05-25-2009, 03:51 PM
Anyone else here uses Status2k?

I'm trying to get the multi-servers function to work properly but the read me files and installation instructions aren't very clear on this.

I can't seem to find anything on their website either.

If anyone has a clue or knows where I can get more information from, I appreciate it.

Thanks!

Bluesplinter
05-25-2009, 04:56 PM
I use it. Lemme know what problems you're having, and I'll try to help.

Also, the owner of the script (not the original author, he sold it some time back) is reachable via email, and was quite responsive when I had some questions. You can get him through the "Contact us" form on the status2k website.

Steve

IGXHost
05-26-2009, 11:12 AM
Hey thanks for responding to this thread.

The issue I have is pretty much setting up the multi-server feature. It seems pretty straight forward but perhaps I did it wrong.

I have to install status2k on all the servers that I want to have monitored by status2k first right?

Bluesplinter
05-26-2009, 12:46 PM
Hey Jonathan,

You only have to install the full Status2k script on all servers if you want each one to have all the bells and whistles. IOW, given 3 servers, your clients could visit:

status.server1.com
status.server2.com
status.server3.com

And he would see all of the cpu and hard drive graphs, plus the software versions and such at the bottom of the page, for THAT particular server. This is separate from the multiservers feature.

All the multiservers feature does is provide the LOAD and UPTIME numbers (and the OS, I think) for the status lines you see at the top of the main Status2K page, under the "Other Servers" heading. The multiservers script has to be uploaded to each of those "Other Servers" so the full Status2K script can read the LOAD/UPTIME/OS from remote servers.

So, it kinda depends on what you want... if you want full graphs for each server, then yeah, you need to upload the whole script to each server. If you just want one "control" script, then upload the full script to that "control" server, and upload the multiserver script to the "remote" servers, and register them in the admin panel.

If that's unclear (very likely <g>), just let me know which method you want to use (full graphs on all servers, or just one "main" server with LOAD/UPTIME/OS from the others), and I'll see about some more detailed step-by-steps :)

Take care,
Steve

IGXHost
05-26-2009, 04:20 PM
I gotcha, don't worry you've been more clear to me than the instructions provided with Status2k.

I want to have the one "control" script. I believe I have done it properly though. I have the full Status2k installed on the "control" server. Then I uploaded the multi-server files to the other servers.

I then go into status2k admin on the "control server". I set up and locate the path to the multi-server file.

Is this correct?


The other new servers names aren't being shown on the other servers list along the top of the page though.

Bluesplinter
05-26-2009, 09:45 PM
The first thing to do is upload the Multi-servers script to the remote servers -- to a publicly accessible URL. The Multi-server script is in a separate zip file inside your client area on the status2k.com website. I believe the filename is MultiServer.zip, and it contains an /Upload folder. Just upload the three files in that folder to a folder on the remote server. For these instructions, let's assume you put them here:

http://stats.myremoteserver.com/status/index.php
http://stats.myremoteserver.com/status/config.php
http://stats.myremoteserver.com/status/multiserv.php

Once that's done, assuming the main Status2K install on the "control" server is working, then follow these steps to register the multi-servers:

1) Login to your Admin Panel on "control"

2) From the menu: Config -> Multi-servers. On that page, enter the following:

Display Name: use the hostname or a friendly name

Host Address: IP address

Services: HTTP:80|FTP:21|MYSQL:3306 (this is the default, just adjust for the services you want to check)

URL To Status2K On Remote Server: leave blank

URL To multiserv.php On Remote Server: THE EXAMPLE VALUE SHOWN THERE IS WRONG! At least, it didn't work for me until I used the following address. The URL should be to the index.php file -- in our above example, it would be:

http://stats.myremoteserver.com/status/index.php

3) Click the "Add Multi-Server" button.

Now revisit the main status page on the "control" server, and you should see this server listed at the top of the page under "Other Servers". If the script is working properly, it'll show the OS, up/down for each service you entered, and the LOAD and UPTIME values from that remote server.

All the multi-server script is doing is, when called, it creates an XML file with the values pulled from the server. If it's still not working, then your server may have disabled whatever command that script is trying to use to get the LOAD/UPTIME values.

If it works, then just upload those three php files to each remote server you want listed, and repeat the steps to register each server in the admin panel, and you should be all set.
Hope this helps :) Good luck!
Steve

IGXHost
05-27-2009, 12:18 PM
Thank you very much for your help on this, I appreciate you taking the time in typing up such a detailed response.

I'll try to get this to work, I'll let you know how it goes. Thanks!