checkmk monitoring solution
-
there version 2 has been released of checkmk and it is one of the most powerful monitoring solutions (OS) I can see out there.
https://checkmk.com/product/latest-versionit would be a great addition to cloudron!
-
Even though the suggestion is a bit older and hasn't found any supporters yet, Cloudron still lacks server monitoring software!
My primary concern would be to monitor other servers such as web or database servers. And in more depth than just uptime. As a nice side effect, the Cloudron server could perhaps also be monitored.
A good list of features can be found at https://checkmk.com/product/server-monitoring-software:Scalable server monitoring software for Sysadmins and DevOps
Ensure peak server performance for your infrastructure with the best server monitoring. Say goodbye to preventable outages, late nights, or weekend emergencies.- Monitor any type of server (web, mail, database servers etc.)
- Flexible server monitoring through the use of more than 2,000 smart checks
- Easy-to-use configuration, auto-discovery and network mapping
- Native agents for Windows, Linux and many more operating systems
- Agentless monitoring with SNMP and TCP/UDP (FTP, LDAP, IMAP etc.)
- API-based checks based on HTTP/XML, SSH or TELNET
- Measurement intervals as short as <1 minute
There is a Docker installation: https://docs.checkmk.com/latest/en/introduction_docker.html
In addition is the Checkmk Raw Edition free and 100% open-source.See also https://github.com/Checkmk/checkmk
-
So I (a sysadmin) dipped my toes into seeing what needs to be done to package Checkmk as a Cloudron App.
Sadly having a ready made docker image does not help much, because Cloudron Packages are specifically crafted docker images which get generated by the Cloudron CLI from a dockerfile.
Source dockerfiles for Checkmk are available on Github but there they even mention that building from source is not trivial:
"We're building the Checkmk packages within specific docker images for the different distros. Please find the Dockerfiles under buildscripts/infrastructure/build-nodes/ in order to get an idea what's needed to build it locally. However, keep in mind that those Dockerfiles are heavily relying on our infrastructure and won't build from scratch on your machine."
To me the dockerfile seems pretty complicated, but maybe a developer / Cloudron Packager could chime in on this
-
Your observations about packaging an app for Cloudron are correct, but one you didn't mention is the separation of runtime RO and RW files.
The Dockerfile does seem a little "heavy" but not impossible, and some dependencies added by their apt-get install may already be in Cloudron's base image to simplify it a little.
The biggest issue will likely be the RO vs RW separation, and first look suggests that it might be problematic, needing some workarounds / symlinks to handle where Checkmk expects/needs things.
TBH, one never knows fully with an app like Checkmk until the packaging process is started, flushing out what doesn't work and how it can be handle.
A more professional packager might have a different view - that's just my (amateur) 2p.