Jump to content

SolusVM VPS Stats


Lavo

Recommended Posts

%7Boption%7D



File Name: SolusVM VPS Stats

File Submitter: Lavo

File Submitted: 11 Dec 2011

File Category: Utilities

Supported Versions: IP.Board 3.2.x



When setup properly this will show more information in the server status area about the current vps stats such as current memory usage or hdd usage.

If you are using 3.2.0-3.3.2 download version 1.0.0.

Not Working, Everything displaying 0MB?


To get this to work, you must add the port (of your API) to your servers (VPS) firewall allowed list. For instance, if you use https add port 443 if your API url is http://<panelurl>:2856 add 2856 to your firewall allowed list.



here to download this file

Link to comment
Share on other sites


Doesn't work.

  • 0 B VPS Memory Usage
  • 0 B VPS Bandwidth Usage
  • 0 B VPS HDD Usage

I have set it up correctly because I read the Readme file.




Hmm strange, the only thing it can be pointing at since it's not showing an error is that you have entered the url to the SolusVM panel wrong

Does if it uses a port put that in and/or if it forces you to use https:// put that in swell
Link to comment
Share on other sites


Hello..Where do I get the SolusVM Panel URL, SolusVM API Hash and SolusVM API Key from my dedicated server? or tihs only works for VPS..



I'm stuck on where to get this information.



BEn




Only available for VPS servers that run via SolusVM Panel.

If your server is a VPS, you will have either SolusVPM panel, Virtuozzo VPS Parallels Panel, Hyper-V or VMWare VDS (Maybe a few more, but they are the most significant).

If you have a dedicated server, you need to look for other monitoring app's like NetCraft or use a paid service.

As for myself, we have SolusVM Panel, hence the ability to monitor via SolusVM API.
Link to comment
Share on other sites


Hmm strange, the only thing it can be pointing at since it's not showing an error is that you have entered the url to the SolusVM panel wrong



Does if it uses a port put that in and/or if it forces you to use https:// put that in swell




Yes to both. It uses a port and https:// too.

I have used both without a trailing / at the end.
Link to comment
Share on other sites


I'm going to ask a really stupid question, but do you have php curl installed/enabled?




I do yes:

%7Boption%7D

PHPinfo:

%7Boption%7D

Still not working for me.

I have installed and tested on another 2 separate servers, still get 0's on all Memory/Bandwidth and HDD. All have working SolusVM API's.

%7Boption%7D

When I update the API in settings, then click update settings, it says settings updated.

When I go to the dashboard, it hangs (obviously times out) for about 20 - 25 seconds.

I would really like this to work, but I cant give you access to the API's for obvious reasons.
Link to comment
Share on other sites

To get this to work, you must add the port (of your API) to your servers (VPS) firewall allowed list.

For instance, if you use https add port 443 if your API url is http://<panelurl>:2856 add 2856 to your firewall allowed list.

This is now working for me.

A HUGE thanks to Lavoaster for all your time and effort in problem shooting this

Great effort!

Link to comment
Share on other sites

  • 4 weeks later...

To get this to work, you must add the port (of your API) to your servers (VPS) firewall allowed list.



For instance, if you use https add port 443 if your API url is http://<panelurl>:2856 add 2856 to your firewall allowed list.



This is now working for me.



A HUGE thanks to Lavoaster for all your time and effort in problem shooting this



Great effort!




This still isn't working for me, and I've uninstalled the app. I won't report it as being broken as clearly other people can get it working. It must be my unique server setup.

Thanks anyway.
Link to comment
Share on other sites

  • 5 months later...

Not compatible with 3.3.3.

Self-fix

Find:

Open ./hooks/solusvm_stats_<set of random chars>.php



public function mainTemplate($content, $forums, $groups, $urls=array(), $nagEntries=array(), $stats = array())

Replace with:

public function mainTemplate( $content, $ipsNewsData=array(), $nagEntries=array(), $stats=array() )

Find:

$IPBHTML = parent::mainTemplate($content, $forums, $groups, $urls, $nagEntries, $stats);

Replace with:

 $IPBHTML = parent::mainTemplate($content, $ipsNewsData, $nagEntries, $stats);

Save and upload



Link to comment
Share on other sites


Not compatible with 3.3.3.



Self-fix


Find:

Open ./hooks/solusvm_stats_<set of random chars>.php



public function mainTemplate($content, $forums, $groups, $urls=array(), $nagEntries=array(), $stats = array())

Replace with:

public function mainTemplate( $content, $ipsNewsData=array(), $nagEntries=array(), $stats=array() )

Find:

$IPBHTML = parent::mainTemplate($content, $forums, $groups, $urls, $nagEntries, $stats);

Replace with:

 $IPBHTML = parent::mainTemplate($content, $ipsNewsData, $nagEntries, $stats);

Save and upload






Thanks for that, i've updated and uploaded a new version!
Link to comment
Share on other sites

  • 2 months later...

Hmm...... I had not used this for awhile as I had no use for it, but now I do.

I cant get this to work anymore (3.3.4).

Version 1.0.0 does not work, error at the top something about line 41 of the hook file. Changed the suggested code that Martin posted, still wont work.

This is what I see, in version 1.0.0:

%7Boption%7D

Changed to Version 1.0.1 and get this:

%7Boption%7D

Yes I have the correct panel URL (because it shows OK in v1.0.0, but wont display the stats). I also have the port listed in the firewall, and have curl installed.

I know that it works with MySolusVM app:

%7Boption%7D

Maybe something else I have forgotten about that I am missing?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...