New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
How to install status2
Hi
I would like to install status2 (https://github.com/nikkiii/status2). But I really do not understand how
there is an installation tutorial?
hopefully you can help
Comments
1) Install webserver php mysql server and required libs/apps
2) download https://github.com/nikkiii/status2/archive/master.zip
3) extract archive and move it to your www directory
3.5 ) create database and import servers.sql
4) configure includes/config.php
@drserver Nice, and how to install the statsend on the other side? I always get back this:
$ sudo python ss.py
HTTP/1.1 200 OK
X-Powered-By: PHP/5.4.4-14+deb7u7
Content-type: text/html
Connection: close
Transfer-Encoding: chunked
Date: Tue, 31 Dec 2013 22:00:21 GMT
Server: lighttpd/1.4.31
c
unauthorized
0
And how to store the key file in the database on the master node? Kinda hard to install without a HOWTO.
i am very interested in this too.
a detailed how-to for both server and client VPS would be really helpful/.
I've tried to set it up but the code isn't finished and contains errors, here what I've done to get it partially working:
status2
admin.php isn't finished, to add servers you need to add them directly to the database, use phpmyadmin to easily add data. Also the load will always be 0.00 as the ss.py doesn't send it. Graph.php unfinished too.
Open phpmyadmin, import servers.sql, open providers table and insert a new record,
now open servers table and insert the data, in the "provider" column put the "id" of the previous provider you added, as passkey write a password and use the sha1 function.
Open stats table, open structure and set serverid as unique (more --> unique), a quick and dirty fix.
statsend
ss.py
change "print socket.read(30)" to "print s.recv(4096)"
ssconf.py
change "uid" to the server id you just added, change "key" to the password you inserted as passkey and remove programs you don't want to monitor (feature not implemented in the panel).
Add a cron job to automatically send the new data every tot time.
The author @Nikki doesn't seems to be anymore in this forum, original thread: http://lowendtalk.com/discussion/11650/status-v2
Similar panels: