Hi Chris,
I think it's just some noise that can be suppressed with a couple minor
modifications.
Try this patch:
modified inventory/any.cf @@ -787,8 +787,13 @@ bundle agent inventory_cmdb_load(file) "$(ckeys)" expression => "any", scope => "namespace"; vars: - "cmdb" data => readjson($(file), "999999"); - "cmdb_string" string => format("%S", cmdb); + "cmdb" + data => readjson($(file), "999999"), + ifvarclass => fileexists( $(file) ); + + "cmdb_string" + string => format("%S", cmdb), + ifvarclass => isvariable( cmdb ); "bkeys" slist => getindices("cmdb[vars]"); "vkeys_$(bkeys)" slist => getindices("cmdb[vars][$(bkeys)]");
Let me know if it squelches your undesired messages.
–
Nick Anderson
Doer of things, CFEngine