Hello,
I have an INT item that I am trying to query on the MySQL backend, but ordering this sucker for the last 30 records seems impossible.
SELECT * FROM history_uint WHERE itemid=22480 ORDER BY clock DESC;
Can anyone suggest the correct procedure for returning the latest values for an itemid in the Zabbix database?

Im guessing at this point the values are stored elsewhere for historical hourly graphs?
I have an INT item that I am trying to query on the MySQL backend, but ordering this sucker for the last 30 records seems impossible.
SELECT * FROM history_uint WHERE itemid=22480 ORDER BY clock DESC;
Can anyone suggest the correct procedure for returning the latest values for an itemid in the Zabbix database?

Im guessing at this point the values are stored elsewhere for historical hourly graphs?
Comment