• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Unmaintained Server microstats, show server load in footer 1.1

No permission to download
Compatible XF 1.x versions
1.2, 1.3, 1.4, 1.5
This is a simple add-on to show in your footer area the server load.
This add-on only works on linux and Unix.

You need to allow access to the virtual files /proc/loadavg in your php open_basedir.
I have this in my vhost.conf

Code:
<IfModule mod_php5.c>
            php_admin_flag engine on
            php_flag xcache.cacher 1
            php_flag xcache.optimizer 1
            php_admin_value open_basedir "/var/www/vhosts/site.com/httpdocs:/tmp:/proc/loadavg"

</IfModule>
The add-on create the template microstats_label with the following content if you need to show the server load to more people:

PHP:
<xen:if is="{$visitor.is_admin}">
{$serverload}
</xen:if>

Tested in 1.2 and 1.1.5

Installation:

  1. Upload the microstats folder to your XenForo library directory (validate that the Listener.php have read permissions).
  2. Import addon-microstats.xml via your Admin Control Panel.
Captura de pantalla 2013-07-10 a la(s) 21.21.03.png


If you want the load average in moderator bar download this update:
http://xenforo.com/community/resour...ver-load-in-footer.2065/download?version=5528
Captura.JPG
Author
dbembibre
Downloads
76
First release
Last update
Rating
5.00 star(s) 1 ratings

More resources from dbembibre

Latest updates

  1. Moving Load average to moderator bar

    Moving load average to moderator bar

Latest reviews

Works perfectly on 1.5.4. Thank you for taking the time to do make this add-on. Thank You, Thank you.