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',
)
history = zapi.history.get(itemid=[37910],
hostid=[10241],
output='extend',
limit='5000',
)