Add monitoring items in batches through python encapsulated zabbix-api
Sometimes you need to add hundreds of monitoring items, but you don't want to click on them one by one, and you are asked to add them frequently, so you don't have time to create a template, so don't eat tonight and sleep or not? No, let me help you finish this task quickly. There are not many BB. The code files are added successfully in https://github.com/herrywen-nanj/zabbix-api/blob/master/zabbix-api.py as follows:
Sample file: