随笔分类 -  Zabbix-api

摘要:#!/usr/bin/python #coding:utf-8 import requests import json url = "http://192.168.99.14/zabbix/api_jsonrpc.php" headers = {"Content-Type": "applicatio 阅读全文
posted @ 2020-06-12 21:01 pwcc 阅读(212) 评论(0) 推荐(0)
摘要:1,创建zabbix api 脚本 [root@web3 zabbix]# cat test.py #! /usr/bin/python3 # -*- coding:utf-8 -*- import requests import json url = "http://192.168.0.11/za 阅读全文
posted @ 2020-05-14 23:37 pwcc 阅读(381) 评论(0) 推荐(0)
摘要:[root@centos7 zabbix-demo]# cat zabbix_base.py #! /usr/bin/python3 # -*- coding:utf-8 -*- import json import requests url = 'http://192.168.0.11/zabbi 阅读全文
posted @ 2020-05-03 15:26 pwcc 阅读(824) 评论(0) 推荐(0)