Ad Widget

Collapse

How to obtain historical data for 1 item of 1 host using pyzabbix?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zzBernie
    Junior Member
    • Apr 2015
    • 14

    #1

    How to obtain historical data for 1 item of 1 host using pyzabbix?

    I'm trying to use pyzabbix and use python to extract all of the historical data for "CPU Idle Time" (itemid 37910) from a single host (hostid 10241). What I have listed below does not work. How can I retrieve all of the data for CPU Idle Time for this one host?

    history = zapi.history.get(itemid=[37910],
    hostid=[10241],
    output='extend',
    limit='5000',
    )
Working...