Get the App
SLTechnology News&Howtos  ›  Servers  › 

Add monitoring items in batches through python encapsulated zabbix-api

Shulou Source: shulou.com Published: 2022-06-02 15:26:12 10月02日 Update

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:

Tags: Files monitoring frequency success code dinner sometimes samples templates help encapsulation Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi NVidia Shulou Tech Info Huawei vpn