check_mk
check_mk copied to clipboard
Warning with Check MK 1.6.0
During service inventory this warning occurs and no check is added:
WARNING: Exception in discovery function of check type 'qemu': The discovery function "inventory_qemu" of the check "qemu" is expected to take a single argument (info or parsed), but it's taking the following arguments: ['checkname', 'info']. You will have to change the arguments of the discovery function to make it compatible with this Checkmk version.
OMD - Open Monitoring Distribution Version 1.6.0p11.cee
I've modified
def inventory_qemu(checkname, info):
to
def inventory_qemu(info):
and then it works.