Slide 13
Slide 13 text
͍ํ
import pyzbx-tool
zbx_api = pyzbx-tool.ZabbixAPI("http://example.com", "Admin", "zabbix")
version_json = {
"jsonrpc": "2.0",
"method": "apiinfo.version",
"params": [],
"auth": "",
"id": 1
}
version = zbx_api.call_api(version_json)
print(version)