Checkmk raw: smart_posix_scan_arg failed - crash report! (Crash-ID: a2f37a96-b597-11f0-bf89-5e31a168f57c)

checkmk raw running a docker container: Checkmk Raw Edition 2.4.0p13

Product Edition: Checkmk Raw Edition
Version: Edition 2.4.0p13
OS: Ubunto docker conatiner “22.04.5 LTS (Jammy Jellyfish)”

Description:
During service discovery, I get:
”Parsing of section smart_posix_scan_arg failed - please submit a crash report! (Crash-ID: a2f37a96-b597-11f0-bf89-5e31a168f57c)WARN”

Crash ID: a2f37a96-b597-11f0-bf89-5e31a168f57c

Actual result:
Service discovery warns and logs crash.

Adition Information like Versions and logs:
OMD - Open Monitoring Distribution Version 2.4.0p13.cre

omd sites
SITE VERSION COMMENTS
cmk 2.4.0p13.cre default version

cat /etc/os-release
PRETTY_NAME=“Ubuntu 22.04.5 LTS”
NAME=“Ubuntu”
VERSION_ID=“22.04”
VERSION=“22.04.5 LTS (Jammy Jellyfish)”
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
UBUNTU_CODENAME=jammy

Summary
Details
Service ignored: omd_status: OMD demosite status
Service ignored: zypper: Zypper Updates
Service ignored: systemd_units_services_summary: Systemd Service Summary
Service ignored: mysql_ping: MySQL Instance /run/mysql/mysql.sock
Service ignored: ibm_mq_plugin: IBM MQ Plugin
Service ignored: cephstatus: Ceph Status
Service ignored: mongodb_instance: MongoDB Instance
Service ignored: redis_info: Redis /omd/sites/cmk/tmp/run/redis:unix-socket Server Info
Service ignored: tinkerforge: Master 1
Service ignored: jolokia_info: JVM 8080
Service ignored: checkmk_agent: Check_MK Agent
Vanished host label: omd_info: cmk/check_mk_server:yes
Parsing of section smart_posix_scan_arg failed - please submit a crash report! (Crash-ID: a2f37a96-b597-11f0-bf89-5e31a168f57c)

crash report:
root@d4e9fa2c4a2c:/omd/sites/cmk/var/check_mk/crashes/section# grep -i dfce4fce /
dfce4fce-b586-11f0-ac56-5e31a168f57c/crash.info: “id”: “dfce4fce-b586-11f0-ac56-5e31a168f57c”,
root@d4e9fa2c4a2c:/omd/sites/cmk/var/check_mk/crashes/section# omd version
OMD - Open Monitoring Distribution Version 2.4.0p13.cre
root@d4e9fa2c4a2c:/omd/sites/cmk/var/check_mk/crashes/section# omd sites
SITE VERSION COMMENTS
cmk 2.4.0p13.cre default version
root@d4e9fa2c4a2c:/omd/sites/cmk/var/check_mk/crashes/section# cat /etc/os-release
PRETTY_NAME=“Ubuntu 22.04.5 LTS”
NAME=“Ubuntu”
VERSION_ID=“22.04”
VERSION=“22.04.5 LTS (Jammy Jellyfish)”
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
UBUNTU_CODENAME=jammy
root@d4e9fa2c4a2c:/omd/sites/cmk/var/check_mk/crashes/section# cat /omd/sites/cmk/var/check_mk/crashes/section/dfce4fce-b586-11f0-ac56-5e31a168f57c/crash.info
{
“core”: “nagios”,
“crash_type”: “section”,
“details”: {
“host_name”: “mc.linuxiq.de”,
“section_content”: [
[
“{“json_format_version”:[1,0],“smartctl”:{“version”:[7,4],“pre_release”:false,“svn_revision”:“5530”,“platform_info”:“x86_64-linux-6.4.0-150600.23.73-default”,“build_info”:“(SUSE RPM)”,“argv”:[“smartctl”,“–all”,“–json=c”,“/dev/sda”,“-d”,“scsi”],“exit_status”:4},“local_time”:{“time_t”:1761825002,“asctime”:“Thu Oct 30 12:50:02 2025 CET”},“device”:{“name”:“/dev/sda”,“info_name”:“/dev/sda”,“type”:“scsi”,“protocol”:“SCSI”},“scsi_vendor”:“QEMU”,“scsi_product”:“QEMU HARDDISK”,“scsi_model_name”:“QEMU QEMU HARDDISK”,“scsi_revision”:“2.5+”,“scsi_version”:“SPC-3”,“user_capacity”:{“blocks”:1468006400,“bytes”:751619276800},“logical_block_size”:512,“scsi_lb_provisioning”:{“name”:“thin provisioned”,“value”:2,“management_enabled”:{“name”:“LBPME”,“value”:-1},“read_zeros”:{“name”:“LBPRZ”,“value”:0}},“rotation_rate”:0,“device_type”:{“scsi_terminology”:“Peripheral Device Type [PDT]”,“scsi_value”:0,“name”:“disk”},“smart_support”:{“available”:false},“temperature”:{“current”:0,“drive_trip”:0},“seagate_farm_log”:{“supported”:false}}”
],
[
“# Copyright (C) 2019 Checkmk GmbH - License: GNU General Public License v2”
],
[
“# This file is part of Checkmk (xx). It is subject to the terms and”
],
[
“# conditions defined in the file COPYING, which is part of this source code package.”
],
[
“$CMK_VERSION = “2.4.0p13””
],
[
“//”
],
[
“//”
],
[
“print “<<<unitrends_backup:sep(124)>>>\n”;”
],
[
“$conn = “port=5432 dbname=bpdb user=postgres”;”
],
[
“$db = pg_connect($conn);”
],
[
“$query = “SELECT”
],
[
“schedule_id, a.type AS app_type”
],
[
“FROM”
],
[
“bp.schedules AS s”
],
[
“JOIN”
],
[
“bp.application_lookup AS a USING(app_id)”
],
[
“WHERE”
],
[
“enabled=true AND email_report=true”
],
[
“ORDER BY s.name”;”
],
[
“$res = pg_query($db, $query);”
],
[
“$start = time() - (24 * 3600);”
],
[
“$in = array(“start_time” => $start);”
],
[
“bp_bypass_cookie(3, ‘schedule_report’);”
],
[
“while ($obj = pg_fetch_object($res)) {”
],
[
“if ($obj->app_type == “Archive”)”
],
[
“continue;”
],
[
“$in[“schedule_id”] = (int)$obj->schedule_id;”
],
[
“$ret = bp_get_schedule_history($in);”
],
[
“if (empty($ret[0][“backups”]))”
],
[
“continue;”
],
[
“print “HEADER|”.”
],
[
“$ret[0][“schedule_name”].“|” .”
],
[
“$ret[0][“application_name”].“|”.”
],
[
“$ret[0][“schedule_description”].“|”.”
],
[
“$ret[0][“failures”].“\n”;”
],
[
“foreach($ret[0][“backups”] as $trash => $backup) {”
],
[
“foreach($backup as $row) {”
],
[
“$name = $row[“primary_name”];”
],
[
“switch($ret[0][“app_type”]){”
],
[
“case “SQL Server”:”
],
[
“$name .= “/”.$row[“secondary_name”];”
],
[
“break;”
],
[
“case “VMware”:”
],
[
“$name .= “, VM “.$row[“secondary_name”];”
],
[
“break;”
],
[
“}”
],
[
“$backup_type = $row[“type”];”
],
[
“if (!isset($name))”
],
[
“$name = $backup_tyoe;”
],
[
“$backup_no = (isset($row[“backup_id”])) ? $row[“backup_id”] : “N/A” ;”
],
[
“print “$name|$backup_no|$backup_type|”.$row[‘description’].”\n”;”
],
[
“}”
],
[
“}”
],
[
“}”
],
[
“pg_free_result($res);”
],
[
“bp_destroy_cookie();”
],
[
“?>”
]
],
“section_name”: “smart_posix_scan_arg”
},
“edition”: “cre”,
“exc_traceback”: [
[
“/omd/sites/cmk/lib/python3/cmk/checkengine/sectionparser.py”,
121,
“_parse_raw_data”,
“return parse_function(list(raw_data))”
],
[
“/omd/sites/cmk/lib/python3/cmk/plugins/smart/agent_based/smart_posix.py”,
155,
“parse_smart_posix”,
“scans = [ParseSection.model_validate_json(line[0]).root for line in string_table]”
],
[
“/omd/sites/cmk/lib/python3.12/site-packages/pydantic/main.py”,
656,
“model_validate_json”,
“return cls.pydantic_validator.validate_json(json_data, strict=strict, context=context)”
]
],
“exc_type”: “ValidationError”,
“exc_value”: “1 validation error for ParseSection\n Invalid JSON: expected value at line 1 column 1 [type=json_invalid, input_value=‘# Copyright (C) 2019 Che…neral Public License v2’, input_type=str]\n For further information visit Redirecting... ,
“id”: “dfce4fce-b586-11f0-ac56-5e31a168f57c”,
“local_vars”: “eydfX3RyYWNlYmFja2hpZGVfXyc6IFRydWUsCiAnY2xzJzogPGNsYXNzICdjbWsucGx1Z2lucy5zbWFydC5hZ2VudF9iYXNlZC5zbWFydF9wb3NpeC5QYXJzZVNlY3Rpb24nPiwKICdjb250ZXh0JzogTm9uZSwKICdqc29uX2RhdGEnOiAnIyBDb3B5cmlnaHQgKEMpIDIwMTkgQ2hlY2ttayBHbWJIIC0gTGljZW5zZTogR05VIEdlbmVyYWwgUHVibGljICcKICAgICAgICAgICAgICAnTGljZW5zZSB2MicsCiAnc3RyaWN0JzogTm9uZX0=”,
“os”: “Ubuntu 22.04.5 LTS”,
“python_paths”: [
“/opt/omd/versions/2.4.0p13.cre/bin”,
“/omd/sites/cmk/local/lib/python3”,
“/omd/sites/cmk/lib/python3/cloud”,
“/omd/sites/cmk/lib/python312.zip”,
“/omd/sites/cmk/lib/python3.12”,
“/omd/sites/cmk/lib/python3.12/lib-dynload”,
“/omd/sites/cmk/lib/python3.12/site-packages”,
“/omd/sites/cmk/lib/python3”
],
“python_version”: “3.12.11 (main, Oct 4 2025, 00:55:22) [GCC 13.2.0]”,
“time”: 1761825133.3548734,
“version”: “2.4.0p13”
}

dpkg -l | grep check-mk
ii check-mk-agent 2.4.0p13-1 all Checkmk Agent for Linux
ii check-mk-raw-2.4.0p13 0.jammy amd64 Checkmk - Best-in-class infrastructure & application monitoring