I was playing with python zabbix api (1.4, e.g. zabbix version 2.0.2) and realized one large logical problem.
I was trying to build a simple script that will add group, host and template. I think I found a bug, but in the menu I dont see a link to bug tracker to report it, so if someone could past a link (ideally if it would be added to menu, of footer in main page), or report it.
When calling template.create() and add a host that doesnt exists, and assign to existing group system will create template without any error.
How ever problem when I want to delete them. Template can be removed without any problems, but group is assigned to host that is not visible in web interface and when want to delete the group I got an error message that can not delete group that is assigned to host.
So the result is that I have end up with group in the system that can not be removed.
I was trying to build a simple script that will add group, host and template. I think I found a bug, but in the menu I dont see a link to bug tracker to report it, so if someone could past a link (ideally if it would be added to menu, of footer in main page), or report it.
When calling template.create() and add a host that doesnt exists, and assign to existing group system will create template without any error.
How ever problem when I want to delete them. Template can be removed without any problems, but group is assigned to host that is not visible in web interface and when want to delete the group I got an error message that can not delete group that is assigned to host.
So the result is that I have end up with group in the system that can not be removed.