You didn’t missunderstand, I did
I thought I was facing an issue with custom tags (prefix tag_
) but I just wrote my request wrong and thought it was an issue related to custom tags AND attributes not just attributes.
You didn’t missunderstand, I did
I thought I was facing an issue with custom tags (prefix tag_
) but I just wrote my request wrong and thought it was an issue related to custom tags AND attributes not just attributes.
Hi,
Any update on this? We are in the process of syncronising a CMDB with CheckMK and are running into this issue with custom attributes.
The workarounds mentioned above doesn’t seem to work for us.
We’re running 2.0.0p21
We are still working on this, pinkie promise.
Ok tested with p22 and the setting of the custom attributes is working. BUT if you retrieve the host config with “/objects/host_config/{host_name}” you get no information about custom attributes. Why?
Only if you use the “effective_attributes” switch you get what you want. Here comes now a big problem. It is not possible to differentiate between attributes set on the object and attributes inherited from folders.
I retested custom host tags with the REST API using version 2.0.0p23 and it looks much better BUT it seems you need restart Checkmk before the REST module will recognise the tags! It would be nice if this issue was fixed… @robin.gierse ?
Anyway, I suggest this post is closed and any other related issues raised in a separate ticket as this one has got to the point where even I as OP don’t know what’s going on.
Thanks!
Version 2.0.0p25
By GET Requnest: invalid response status code 500 so I get no etag in the header response and so I can’t use the POST Request
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.