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",
"method": "host.create",
"params": {
"host": interface_ip,
"name": hostname,
"host": hostname,
#"name": hostname,
"interfaces": [{
"type": 1,
"main": 1,