I am currently in the process of building a custom external traffic light style dashboard to display our monitor data (if anyone knows of one that already does this please let me know. I did find a NOC Dashboard app on the forums but this doesnt query KNM).
When i run the following API call - /knm/extract.xsi?cmd=monitor_status_list&apikey=**************&deviceid=**** - it returns the data I require, however it is returned in a plain text formatted page.
What I am looking to do is have this data returned in such a way that I can then process/compare it etc... which in turn would change a colour on screen depending on the monitor state, or, and this is the more ideal solution, find out what SQL queries are called when you use the API, as this would allow me to return the data and do whatever I wish with it.
If anyone is able to point me in the right direction it would be most appreciated.