I require an SQL query to return the records in the zabbix database that show the triggers that are in a problem state. This is exactly the same as what is displayed in the 'Last 20 issues' on the dashboard page. I do not have any trigger dependencies setup so it shouldn't be as complex.
The events tables seems to be the one to look at but it gives some false positives (equating to the records that have flashing 'OK' values)
The events tables seems to be the one to look at but it gives some false positives (equating to the records that have flashing 'OK' values)
It works nicely.
Comment