kuhn-ruess / cmdbsyncer

Rule Based Syncronisation System with Checkmk and Ansible Support
MIT License
41 stars 9 forks source link

cmdbsyncer 3.7b2.13 failed to push to netbox 4.0.11 with KeyError CustomAttributeRule #39

Closed h0-online closed 3 weeks ago

h0-online commented 1 month ago

Neither Documentation nor the error message is telling what to do to prevent the error attached as screenshot.

image

From my perpective is that the connection was successful but that there is a key missing in cmdbsyncers MongoDB? What to do?

A pull/import from CMK before was successful, so there are several hosts in cmdbsyncer...

Pls. let me know if you need further information...

Bastian-Kuhn commented 1 month ago

Hello,

That was no Documentation Problem but a bug with the Debug Mode in case of missing Cache. It is fixed in the Main branch and the 3.7 branch now.

Can you please test and confirm?

h0-online commented 1 month ago

Works fine now image in case of debug_hosts...

Bastian-Kuhn commented 1 month ago

Yes, just now the configuration for the Netbox Attributes are missing.