wwwLag
wwwLag
wwwLag inserts important performance data into your mySQL-DB to display them in the www. The chart can be included anywhere (php-include, iFrame or via source code)
What does wwwLag display and what features?
- Players online
- Average TPS
- (new) Loaded chunks
- (new) Loaded entities
- Free memory (can be disabled)
- IP-Filter and password-protection for inserting the data
- Configurable width and height of the chart
- (new) Manual update ingame possible
Commands and permissions
- /wwwlag update
- Updates the performance data ingame (interval not affected)
- Permission: wwwlag.update
Example
Running example: http://www.membersofday.eu/wwwlag/wwwlag.php
Download
Releases
dev.bukkit.org/server-mods/wwwlag/files/
Latest Beta-Build
Plugin: Link removed Frontend: Link removed
@paulotruta
I guess you forgot to add your own IP to $allowed_ip in the php file. ;)
Ist ja ganz cool. Benutze es nach unser TS Aktion jetzt auch selber testweise, aber mir fehlt da noch einiges, als erstes: install=true macht nix, hab den Code der PHP genommen, klappt ja auch, aber zumindest sollte es unter "Install" stehen. Vor allem sollte es möglich sein, z.B. die Chunks auszublenden, da die Relationen fehlen bei 20 TPS und 2500 Chunks kann man dann kaum die TPS erkennen. ;) www.flotcharts.org kann das zum Beispiel ;)
Request:
Config-Option to purge db after x-days.
Any infos about my scaling-suggestions?
Hello. I really like this plugin but i cannot get it to work and i don't really know why.
http://hell-craft.net16.net/?page_id=146 (The page where you can take a look at the website part of the plugin).
I set up all the Database Access information and the token is correct on both the bukkit plugin configuration file and the php file. I also did the installation. But when i run "/wwwlag update" the only thing i get in the console is "[wwwLog]<!
End of Analytics Code!>" and "[wwwLag]<!End of Analytics Code!>". When i go check the database, nothing was updated but i also don't get any errors on the server console. The Analytics Code has something to do with my webhost i think.Hope someone can help me with that.
@Kane_Hart
Everyone Hates Ya!
Work's great! Thanks so much! Anyone here good at HTML? Been neat to know how or learn how to insert 3 or 4 of these into 1 HTML page so I could make it like status.domain.com :)
Line 36 should be: (isset($_GET['token'])&&$_GET['token'] == $token) &&
@OklaMokla Have you installed wwwLag? See http://dev.bukkit.org/server-mods/wwwlag/pages/installation/
It just says no data available. I checked the password, file permissions, everything. When I type "/wwwlag update" it says 2013-01-29 14:58:41 [INFO] [wwwLog] INSERT INTO `performance` (`tps`, `players`, `zeitstempel`, `memory`, `chunks`, `entities`) VALUES ('20','1','1359467921','10596', '794', '141')
Occasional concurrent modification exception.
Note: "free memory" is actually free allocated memory. So it's mostly useless as allocated memory will change. You might as well leave it disabled.
nice idea and great Plugin, thanks
Thank you for your work, you have created a really great plugin!
I've installed the plugin and the php file. All I get is No Data Available. I've been running this a few days and left a ticket. I'm sure it's accessing the sql server, otherwise it wouldn't be saying no data available.
Schauma ;-)
@sourcemaker
immernoch den selben Fehler, die php Datei hat chmod 777
@Jobsti2 Livebuttons sind schwierig, da die Charts von Google erstellt werden. Allerdings könnte man den die Maximalwerte errechnen und diese dann runterbrechen, so dass für alle Werte der gleiche Maßstab gilt.
Ich setze mich da mal nach dem Wochenende dran.
@Frecyboy Dann gib der php-Datei entsprechend Rechte via chmod. Der Fehler 403 weist darauf hin, dass dies aktuell nicht der Fall ist.
Ich bekomm diesen Fehler:
http://pastebin.com/x9zmEriK
Ich glaube ja ;)
TPS machen bei 20 rum, Spieler ebenso, Chunks aber gehen auchma bis 14000 hoch, somit erkennt man kaum mehr TPS drops, da man so ne extrem breitbandige Skalierung hat.
Klaro, kann ich in der Config ausschalten, aber das is ja umständlich.
Nen Live-Button direkt im Diagramm wäre dafür ganz praktisch,
oben rechts 2 Häkchen setzen, jeweils für Entities und Chunks und schon werden sie eingeblendet (und das Diagramm somit auch anders skaliert).
Wär sowas möglich?
Oder noch ne viel bessere Idee: Die Rechte Seite gilt nur für Spieler und TPS, skaliert sich somit ja net so großzügig, vielleicht mal 0-200 bei großen Servern. Entities, Ram und Chunks würde ich dann unabhängig auf der Linken Seite skalieren.
Falls du nicht weißt was ich meine, hier mal ein Beispiel von meiner Arbeit: http://www.audiofotos.eu/display-i157blnt54.html
Links wird der Frequenzverlauf skaliert, rechts wird die Impedanz skaliert. Beides im gleichen Diagramm, dennoch beides übersichtlich und jeweils getrennt voneinander skalierbar, so dass ich beide Diagramme wunderbar groß ablesen kann.
Derweil schaut das so aus: http://mc.dachboden-server.de/wwwlag.php Kommen morgen wieder paar Spieler online, geht die Skalierung über 10000, da kann ich froh sein, wenn ich überhaupt noch ne blaue oder rote Linie irgendwo erkennen kann ;)