Hi,
I am new to Zabbix and trying to pull performance data (let say for "CPU system time", "Total memory") from Zabbix using Zabbix::Tiny REST API.
I used item.get method and it is returning last sample value by using "prevvalue" but item.get doesn't support time range for performance data collection. So, I switched to history.get method but history.get returning data for some metrics only (let say "Used disk space on /" and"Used disk space on /boot" for some hosts only).
Since I never used Zabbix before, I don't know if there is any settings, I need to check, so that history.get also return data for all metrics for all hosts.
Also where should I look into Zabbix console to check, if history is enabled for required metrics/hosts and how long the data will be kept in history?
Appreciate, if someone could help me with above 2 queries.
regards,
Ravi
I am new to Zabbix and trying to pull performance data (let say for "CPU system time", "Total memory") from Zabbix using Zabbix::Tiny REST API.
I used item.get method and it is returning last sample value by using "prevvalue" but item.get doesn't support time range for performance data collection. So, I switched to history.get method but history.get returning data for some metrics only (let say "Used disk space on /" and"Used disk space on /boot" for some hosts only).
Since I never used Zabbix before, I don't know if there is any settings, I need to check, so that history.get also return data for all metrics for all hosts.
Also where should I look into Zabbix console to check, if history is enabled for required metrics/hosts and how long the data will be kept in history?
Appreciate, if someone could help me with above 2 queries.
regards,
Ravi
):
Comment