Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ZabbixAPIをつんつんした

2bo
June 03, 2021

 ZabbixAPIをつんつんした

OSC Nagoya 2021
Pyhton東海/JuliaTokai 合同ミニ勉強会
発表資料

2bo

June 03, 2021
Tweet

More Decks by 2bo

Other Decks in Programming

Transcript

  1. ࢖͍ํ 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)