change hostname

This commit is contained in:
3err0 2019-06-23 17:08:16 +08:00
parent 9390d56404
commit aa1a142a02

View File

@ -96,8 +96,8 @@ class ZabbixAPI:
"jsonrpc": "2.0", "jsonrpc": "2.0",
"method": "host.create", "method": "host.create",
"params": { "params": {
"host": interface_ip, "host": hostname,
"name": hostname, #"name": hostname,
"interfaces": [{ "interfaces": [{
"type": 1, "type": 1,
"main": 1, "main": 1,