Howdy, Stranger!

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


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
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.

LTstats - lightweight open-source resource monitoring system

2»

Comments

  • LeviLevi Member

    Is this technically cgi? I mean, does it have built-in web server?

  • @Caztiel said: Any reason why docker is not recommended?

    I think it is just what's mentioned on GitHub:

    [...] as this will use much more disk space, using custom notification methods requires rebuilding the image, and the initial configuration is limited [...]

    From how I read it, if you don't care about:

    • Notifications
    • Disk space usage (the standalone server + NTP binaries are like less than 200 KB total, vs. the Docker image being 50+ MB)

    Then running it as a container is probably fine. I'm not sure what @lukast__ meant by "initial configuration is limited", besides the default admin password?

  • lukast__lukast__ Member, Megathread Squad

    Small update: I've received multiple bug reports, and the server (v1.2) should now also work with Caddy as reverse proxy (because Caddy, unlike nginx, sometimes sends the request in multiple writes).
    And sorry for the late responses, I wanted to release the new version as fast as possible (while still testing it beforehand, of course).

    @Levi said:
    Is this technically cgi? I mean, does it have built-in web server?

    No, it's basically just a web server that needs a reverse proxy for TLS termination.

    @Decicus said:

    @Caztiel said: Any reason why docker is not recommended?

    I think it is just what's mentioned on GitHub:

    [...] as this will use much more disk space, using custom notification methods requires rebuilding the image, and the initial configuration is limited [...]

    From how I read it, if you don't care about:

    • Notifications
    • Disk space usage (the standalone server + NTP binaries are like less than 200 KB total, vs. the Docker image being 50+ MB)

    Then running it as a container is probably fine. I'm not sure what @lukast__ meant by "initial configuration is limited", besides the default admin password?

    Yes, basically this, Docker has four main disadvantages for LTstats:

    • Higher disk usage
    • Limited notifications, an SMTP/mail client is built into the docker image, but if one wants different types apart from a simple webhook (that would be possible as curl is available inside the container), one would need to rebuild the image
    • Upgrades are best-effort only, for the normal installation/upgrade script it's very easy to convert files as needed, however, this isn't quite as easy inside of the container, and upgrades can't be interactive in the container
    • Initial configuration is limited, this is currently only the password, but it's not optimal nevertheless as the admin backend will be available with a default password for a short while (this can of course be secured by simply blocking all IPs except yours).

    Of course it can still be used, a friend of mine does that because he prefers the extra isolation over the lower disk usage, but a manual migration/conversion may be necessary for a future release.

  • It's really cool. Thank you for your great work!

    Thanked by 3lukast__ oloke mandala
  • plumbergplumberg Veteran, Megathread Squad

    @lukast__ you trst the application yourself?

    Talk about it.

    I always have customers/ clients live test for me

    Thanked by 2lukast__ admax
  • NeoonNeoon Community Contributor, Veteran

    LTStats its really great, I love it.
    https://stats.neoon.net

  • Nice job! Looks great!

    Thanked by 1lukast__
  • Cools I must try this

    Thanked by 1lukast__
  • Have you considered adding a "bar" option? As I see, the default option is to get a single point of data every 60 seconds (I only skimmed the code). But this is not really representative of the actual performance over that minute. You could check say once a second and save the min, max, and average for that minute or check even more frequently. I don't think this would be a complex addition, but it'd provide a lot more insight. :smile:

    So you're still sending your data only once every 60 seconds, but it'd just have 3 datapoints instead of 1 (min, max, avg).

    Thanked by 1lukast__
  • rostinrostin Member

    Nice, I will give it a try now.
    Thank you

    Thanked by 1lukast__
  • oplinkoplink Member, Patron Provider

    looks clean.. nice work

    Thanked by 1lukast__
  • lukast__lukast__ Member, Megathread Squad

    @filtered said:
    Have you considered adding a "bar" option? As I see, the default option is to get a single point of data every 60 seconds (I only skimmed the code). But this is not really representative of the actual performance over that minute. You could check say once a second and save the min, max, and average for that minute or check even more frequently. I don't think this would be a complex addition, but it'd provide a lot more insight. :smile:

    So you're still sending your data only once every 60 seconds, but it'd just have 3 datapoints instead of 1 (min, max, avg).

    First of all: thanks for the suggestion, I certainly appreciate it.

    I don't know if you saw that, but currently it saves the averages for each minute for CPU usage, disk IO and network traffic (and not only a snapshot at one point in time). Only for the RAM/swap/disk usage that isn't easily possible.
    However, TBH, I don't think that a one-second CPU usage spike is that meaningful, and just theoretically, if I were to add min/max for each minute, it would increase the CPU usage for the data collection part of the agent significantly, the storage usage would triple, and drastic changes would be necessary for the agent, the server, and the frontend, and all that for an IMHO rather small improvement.
    Also, the sampling interval can be decreased rather easily (CONFIG_MEASURE_EVERY_N_SECONDS in config.h) (this isn't what you suggested; it then uploads the data more often, just thought it's related a bit).
    Given those things, sorry, I don't think this will get implemented.


    And also thanks to all who reported a bug, asked me questions or suggested things that could be improved.

    Thanked by 1oloke
  • Nice tool! Been using it but one feature I would like to suggest is to be able to add Windows as client :)

  • NeoonNeoon Community Contributor, Veteran

    Easy to modify the agent, so it also includes additional drives in the stats, which is nice.
    https://stats.neoon.net/monitor/d2aaee63eb955988bbeca1ba49696f69

    You just include the mount point and you done.

  • great work !

    Thanked by 2lukast__ oloke
  • Absolutely fabulous! I have to run it on a $7 "baby".

    Thanked by 1lukast__
  • Thanked by 1tux
Sign In or Register to comment.