It would be good if you can provide a script that fetches the wanted data.
Also some output examples of such a script would be nice to say if a simple check is possible or not.
In your case i would recommend to read.
This should be the easiest way for you to integrate this data inside CMK.