Hello
I'm newbie in Zabbix. I try to figure out how to export the configuration using the API (I would rather avoid dumping DB tables). I managed to use the API for various operations with no issues, but when I reached the 'configuration.export' method I was shocked to realize that I actually need to explicitly pass all host, group, etc IDs.At least this is the impression I got. By passing the appropriate IDs I do get the export I need, but I really want to simplify my life! Empty options or ID lists do not pass as as 'get all' filter. Therefore from what I understood (please prove me wrong) I have to fetch the IDs of the various resources and then plug them in the export query.
Is there any other way to do a configuration dump?
I'm newbie in Zabbix. I try to figure out how to export the configuration using the API (I would rather avoid dumping DB tables). I managed to use the API for various operations with no issues, but when I reached the 'configuration.export' method I was shocked to realize that I actually need to explicitly pass all host, group, etc IDs.At least this is the impression I got. By passing the appropriate IDs I do get the export I need, but I really want to simplify my life! Empty options or ID lists do not pass as as 'get all' filter. Therefore from what I understood (please prove me wrong) I have to fetch the IDs of the various resources and then plug them in the export query.
Is there any other way to do a configuration dump?