Werk #17720: Add full path fallback for Solaris uname

Component Checks & agents
Title Add full path fallback for Solaris uname
Date Mar 3, 2025
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

Try and fetch the uname information via uname -X. In the event that the GNU uname is found on the path, fallback to full path call to /usr/bin/uname, the binary which we expect to found on all Solaris systems.

If that binary is not found for whatever reason, no section output will be written to the agent output.

To the list of all Werks