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