Just a little Localcheck i developed, as i like to keep versions in check for specific applications and such.
This time i have created a localcheck for monitoring SimpleSAMLPhp’s installed version compared to the latest released version.
What it does:
- Validates prerequisites needed by the check on the host (it uses
jqandcurl) - Queries locally installed version by extracting the version string from
composer.json - Queries latest release-version from GitHub via
curlandjq, meaning the host requires Internet-access. - Shows the result of the comparison as a service in CheckMK.
As i tend to tweak/refine these Localchecks over time i will not post a/the code here, but rather a link to my repository, where you will always find the latest version.
Link : simplesaml_version_check.sh
- Glowsome