change hostname
This commit is contained in:
parent
9390d56404
commit
aa1a142a02
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user