添加一个Host Name=Mail CAS_1.1,IP=10.16.3.4的主机,并加入组groupID=30,连接模板templateID=10132. # -*- coding: UTF-8 -*- import urllib2,json,cookielib,urllib from urllib2 import Request, urlopen, URLError, HTTPError global auth_code,zabbix_url,zabbix_header #zabbix接口…