this does not work in checkmk raw edition 2.0.0.p17 as the output is expected in a different format:
||Invalid plugin status ‘Found’. Invalid performance data: ‘potentially’. Output is: vulnerable files
||Invalid plugin status ‘0;1;1’. Invalid performance data: ‘2’. Output is: vulnerable files
If I remove the output of “\n$LONG” the local check is recognized but the check has the state “OK” although there were 2 files found:
OK CVE-2021-44228_log4j count: 2.00
UPDATE 2: If I only use the $LONG Output as suggested here Found file log4j? - #17 by Raf I get the following output:
UNKN Logpresso Invalid plugin status ‘0;1;1’. Invalid performance data: ‘CVE-2021-44228’. Output is: Vulnerability Scanner 1.5.0 (2021-12-15)
Does the nagios-core aof CRE handle outputs differently than the ckeck_mk-microcore?