Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


ServerStatus! Suggestion Time!
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.

ServerStatus! Suggestion Time!

As many of you know, I am that loser that rebuilt ServerStatus. This simple web based status monitor is self hosted, and I was wondering if any of you lovely low end users would like to push some suggestions to improve your experience with it.

You can see it in action here: https://uptime.munroenet.com/index.php

Some ideas:

  • Change config format for easier usage.
  • Delete outages page, as seriously who uses that?
  • Slimming of code!
  • Making it uses another API/Query method for info.
  • Just saying fuck it all, and it is good as it gets.
  • Just start a new project, which is what I likely should do.
Thanked by 1raynor

Comments

  • Let me give this a try and see where it leads me to

  • maybe a function that can list CPU / RAM / HDD usage from less to more and reverse ?

  • NeoonNeoon Community Contributor, Veteran

    Do you cache the data or can it be used for fancy reflection attacks?

  • I challenge you to get rid of PHP...

  • NeoonNeoon Community Contributor, Veteran

    @Riz said:
    I challenge you to get rid of PHP...

    What language would you recommend? Before we get rid of php.

  • @Riz said:
    I challenge you to get rid of PHP...

    Php is ok really. But writing it using js would be great. Also some feedback

    1. Login functionality so people can choose which ines to show publicly

    2. Keep the outage page and add some sort of spoiler on each server that you can expand/collapse to check on outage information

    3. More info on resource usage to be added as spoiler.

    4. Basic auth on api

    5. Very minor, the UI can be much much more beautiful with some css work :p

  • @Neoon said:

    @Riz said:
    I challenge you to get rid of PHP...

    What language would you recommend? Before we get rid of php.

    This was more of a joke, as PHP works fine for what you're doing. Most analytical stacks are moving towards java, with distributed databases on the back for retaining data points.

    Back in the day, PHP + SQL = win, but those times have changed with the limited ability of single threads.

  • Good enough for simple and public monitoring :)

  • Real-time AJAX/Javascript will be good without having to refresh the page.

  • I like the version where you can expand the details, not just percents (sometimes I don't remember my ram/disk details).

  • SetsuraSetsura Member
    edited December 2017

    Maybe modify this loser's stuff, no php needed:
    https://github.com/BotoX/ServerStatus

    Disclosure: I may or may not be an acquaintance of this person

  • You request the status from each server like so:

    https://uptime.munroenet.com/index.php?id=....

    I'd suggest you request them per server individually ... like SERVER1.munroenet.com/.... All subdomains can still point to the same A-Record.

    Because this way the concurrent connections are not limited by per host rule in browsers.

  • ZerpyZerpy Member
    edited December 2017

    @fLoo said:
    You request the status from each server like so:

    https://uptime.munroenet.com/index.php?id=....

    I'd suggest you request them per server individually ... like SERVER1.munroenet.com/.... All subdomains can still point to the same A-Record.

    Because this way the concurrent connections are not limited by per host rule in browsers.

    We could also enter 2017 and use http2 ;)

    @Riz said:
    This was more of a joke, as PHP works fine for what you're doing. Most analytical stacks are moving towards java, with distributed databases on the back for retaining data points.

    Back in the day, PHP + SQL = win, but those times have changed with the limited ability of single threads.

    So MySQL is not single threaded - and if you build your application in such a way that it only uses one PHP process - then it's your own fault.

    PHP scales perfectly fine, if you know what you're actually doing.

  • Perhaps being able to disable certain options from being viewed publicly? HDD, Load etc.

    Thanked by 1vimalware
  • @Zerpy said:

    @fLoo said:
    You request the status from each server like so:

    https://uptime.munroenet.com/index.php?id=....

    I'd suggest you request them per server individually ... like SERVER1.munroenet.com/.... All subdomains can still point to the same A-Record.

    Because this way the concurrent connections are not limited by per host rule in browsers.

    We could also enter 2017 and use http2 ;)

    Only ~ 60% of all browsers support http/2 yet. So no, thats no option.

  • MikyMiky Member
    edited December 2017

    @fLoo said:

    We could also enter 2017 and use http2 ;)

    Only ~ 60% of all browsers support http/2 yet. So no, thats no option.

    Where did you get that strange number? And why would it be a trouble anyway?

    Not really defending http2, just trying to grasp different point of view.

  • NeoonNeoon Community Contributor, Veteran

    PHP works fine, if you know how, you can split tasks in php into multiple threads, like I do in Night-Sky to keep up the 10s interval.

    Same for MySQL, as long you are not doing tons of table scans.

    Thanked by 1coreflux
  • @fLoo said:

    @Zerpy said:

    @fLoo said:
    You request the status from each server like so:

    https://uptime.munroenet.com/index.php?id=....

    I'd suggest you request them per server individually ... like SERVER1.munroenet.com/.... All subdomains can still point to the same A-Record.

    Because this way the concurrent connections are not limited by per host rule in browsers.

    We could also enter 2017 and use http2 ;)

    Only ~ 60% of all browsers support http/2 yet. So no, thats no option.

    Uhm - 83.18% of supported browser versions.

    Not sure what stats you're looking at - but if I take stats based on billions of requests, remove bots and crawlers (since we don't care about those anyway), then of https enabled sites - the http2 traffic is about 94%

    So sure - 60% :') LOL

    Get better stats mate.

  • NeoonNeoon Community Contributor, Veteran

    You can enable http 1.1 and http 2 at the same time, so I do not see the point of the discussion.

    Thanked by 1Zerpy
  • Depends on the site actually. I'm running sites with visitors even lower with 60% http2 enabled. Also i got a site where http2 is a must-have. So yea, my comment wasnt ment to be final but more like "Not everyone has it - yet".

  • Oh my! I will read through all of these this weekend, and get back to everyone.

  • @qtwrk said:
    maybe a function that can list CPU / RAM / HDD usage from less to more and reverse ?

    This might be possible, but might be changing quite a lot. Would you mind your screen shuffling the data a lot?

  • @Neoon said:
    Do you cache the data or can it be used for fancy reflection attacks?

    Yes, my serverstatus has a cache using either APC first, and secondly a flat-file store.

  • @jezznar said:

    @Riz said:
    I challenge you to get rid of PHP...

    Php is ok really. But writing it using js would be great. Also some feedback

    1. Login functionality so people can choose which ines to show publicly

    2. Keep the outage page and add some sort of spoiler on each server that you can expand/collapse to check on outage information

    3. More info on resource usage to be added as spoiler.

    4. Basic auth on api

    5. Very minor, the UI can be much much more beautiful with some css work :p

    Thank you! I don't think I will do login functionality as that is too much for the goals of this project. LibreNMS or Observium already do those things, and far better. However, the rest I think I can easily do.

    CSS is totally not my specialty, though.

  • @CreatePrivateServer said:
    Real-time AJAX/Javascript will be good without having to refresh the page.

    This is already happening, it checks every 10 seconds on my default config.

  • @fLoo said:
    You request the status from each server like so:

    https://uptime.munroenet.com/index.php?id=....

    I'd suggest you request them per server individually ... like SERVER1.munroenet.com/.... All subdomains can still point to the same A-Record.

    Because this way the concurrent connections are not limited by per host rule in browsers.

    I am confused by this request. I know of the browser limitation, but are you suggesting I have everything go to a completely separate domain for each server?

    server1.munroenet.com

    server2.munroenet.com

    etc...?

Sign In or Register to comment.