Forums


Stratus Network Monitoring project


Hello everyone!


I'm excited to be releasing this project that I've been working hard on for the past week.


Description of the project

Stratus Network Monitoring is a website where you will find in real-time most of the useful information about the server, for example:


  • the current online players on the whole server and the mixed server
  • the recent matches, with their respective links to the website (hover over "x minutes ago")
  • a prediction of which team will win the match on Mixed
  • the status of the server, website, and Twitch channel, to know if these are online or not
  • the next map, the current participants, and the map current played on Mixed
  • the current rotation
  • and more...

Please consider that this project is currently in its alpha state, and some metrics may be a little bit buggy.


Link to the project

The website is accessible at this address: https://graph.unixfox.eu.


I've open-sourced all the programs that power the website on Github, feel free to have a look at the code: https://github.com/unixfox/grafana-stratusnetwork


Credits

Thanks to:


  • Siceth  for the match-outcome prediction program
  • Picajoluna  for the ideas and the correction of this post

Preview of the website



FAQ

Can the website be extended? Can other metrics and features be added?

Sure! Please let me know if you have any suggestions/ideas that you want to see added to this project. Suggest it via Github if you have an account, or simply reply to this post.


I can make a dashboard for the tournaments as well, so that every player can follow the progress of the tournament in real-time without having to refresh their browser. It would be similar to the challonge bracket, in real-time and with more information (which teams are playing, the state of each match, etc).


I found a bug, how do I report it?

You can report it on my project's Github page: https://github.com/unixfox/grafana-stratusnetwork/issues/new if you have an account, or reply to this post.


Please search for previous issues on the issue tracker before submitting.



===================


Thanks for reading my topic and please be sure to leave feedback!


This looks really solid. You, Siceth and Pica have made something pretty awesome. I can't wait to see how far this will expand! Great work!

This is awesome


Edit: To grab map images, do you grab the image on the maps page? Couldn't there be a more consistent way of fetching the image; for the longest time the maps page doesn't always show map images. Over at ResourcePile we have local images, afaik we do map slugs pretty well the same way it's handled on Stratus's map pages. Perhaps if Stratus doesn't have the image you can cross check to our repos or something? Or set up your own local directory of images



Thank you for the feedback!


I grab the image from the map page (https://stratus.network/maps) because that's the simple way to get it but I could get it from this website: https://mcresourcepile.github.io/maps/ but it's kinda hard because the name is not always formatted the proper way, for example the map Wit's End will render as wit_s_end on the repository.


I'll try to implement it anyway because there is so much more images, I'll create an issue on the repository of my project.


The code for fetching the image of the map is here if you want to understand how it works: https://github.com/unixfox/grafana-stratusnetwork/blob/master/stratus_image_map.php


can this get a pin

I thought on making some kind of mod like this, but as an ingame GUI. You already took this to the next level. Great work!

I don't know a ton about scripts and shit so bear with me if I'm using the wrong terms.


Basically if you get all capital letters to be lower case, all spaces and punctuation to be replace with an _, that should get the map name to match the slug used. The same is done on the maps page, to get to Wit's End maps page, it's https://stratus.network/maps/wit_s_end


Searching through our repos might not be the perfect solution though (after giving it some more thought). You'd have to search 4 repos just to get all the OCN and Stratus maps covered. That's doesn't even include the one miscellaneous repo for assorted maps & the Avicus one (for the few maps like Western Port that are found over there).


That's where it might be simpler to set up your own repository of images, grabbing them from the ResourcePile repos? Like taking each repo and deleting every other file type, and merging them all into one repo


I like the idea of merging all the images into one folder and thank you for the tip about the name of the map.


I created an issue to get the enhancement tracked: https://github.com/unixfox/grafana-stratusnetwork/issues/1 and I'll implement it as soon as possible.


add how many kills each player has in each match and how many deaths that would be cool

Log in to reply to this topic.